Ubuntu :: Mutt Not Handling Mailto: URLs / Getting Error?

Dec 10, 2010

Ubuntu Lucid amd64, mutt-1.5.20-7ubuntu1

I'm pretty sure the following used to work:

Code:
$ mutt mailto:url?subject="Whoop dee doo"
Now mutt exits silently with status=1. Tried setting EDITOR/VISUAL, no difference.

Edit: I had tempdir pointed at a non-existent directory in my .muttrc. Still annoying that there was no error message, but at least things are working again.

View 1 Replies


ADVERTISEMENT

OpenSUSE :: Mutt And Gmail Smtp Relay / Using Mutt From Command Line Getting Error?

Feb 2, 2011

I have installed and configured mutt with gmail with no issues, following this documentation.Mutt with Gmail/IMAP [CrunchBang Linux Wiki]

I can send emails from mutt, but now I need to send email using scripts.If I try to use mutt from cmd line I have the following error.

trst:~ # echo "TESTING MUTT AND GMAIL SMTP RELAY" | mutt -s "url"

SSL connection using TLSv1/SSLv3 (RC4-MD5)
Interactive SMTP authentication not supported
Could not send the message.

The OS version: OPEN SUSE 11.3 Server installation (NO-GUI)

View 3 Replies View Related

Programming :: How Error Handling Is Done In C

Jan 3, 2010

I wonder how error handling is done in C in real applications, by returning a error code when something goes wrong, or by using setjmp and longjmp, or something else?

View 10 Replies View Related

Ubuntu :: Wget Failed Urls Output / Log The Urls That Have Failed?

Jan 22, 2010

I'm using wget to retrieve a long list of URLs, a small proportion of which fail, hence:

Code:
wget --input-file=urls.txt
Is there a way to log the urls that have failed? Unfortunatley wget does not output the current URL being processed (and then the status), so hard to see grepping the output helping.

Or should I use some alternative like curl, wmget?

View 1 Replies View Related

Programming :: Try/except Error Handling In Bash?

Jun 30, 2011

I found, in bash, something similar to 'try/except' in python. I've been using something like this:

Code:
if ! 'command';then
echo 'damn, there was an error'

[code]....

View 4 Replies View Related

Server :: Non Latin Urls / Giving A 404 Error (file Not Found)?

Mar 17, 2011

my web host runs a linux server, and when i try to load a file in my browser (which i have uploaded in my web space) with non latin words it gives a 404 error (file not found). for example i have uploaded mydomain.com/νεο.html the word "νεο" is non latin. so when i try to reach this document from my browser i get the error.

View 2 Replies View Related

Programming :: Bash SMB Script Error Handling

Jun 1, 2011

I have a script that connects to a windows server, downloads a file, appends to it and then re-uploads the updated file. I want to implement error handling. An email is to be generated indicating whether there was an error or not. This email should include all standard and error output as a body. The current script looks something like this:

Code:
function Email_ServerSupport {
for time in once; do
echo "Subject: Billing - smb copy to accounting" $1
cat /tmp/smbx
cat /tmp/smbxerr
done | mail $EMAILADDR
}

/usr/bin/cp /dev/null /tmp/smbx
/usr/bin/cp /dev/null /tmp/smbxerr
cd /tmp
/usr/sfw/bin/smbclient $LOCATION -A $AUTHFILE >>/tmp/smbx <<EOF
get $OUTFILE
exit
EOF
cat $INFILE >> $OUTFILE
/usr/sfw/bin/smbxclient $LOCATION -A $AUTHFILE >>/tmp/smbx <<EOF
put $OUTFILE

cat /tmp/smbx | grep -v "Domain" | grep -v "putting file" | grep -v "getting file" >> /tmp/smbxerr
if [ -s /tmp/smbxerr ]; then
Email_ServerSupport " ERROR"
exit
else
echo "Transfer successful."
Email_ServerSupport " SUCCESS"
fi

The reason for the grep -v's is because, from my understanding, when using smbclient, ALL output goes to stdout, even errors. For this reason, I need to filter out lines including "domain" "putting file" or "getting file", all of which aren't errors. The problem is that even though the script seems to catch errors successfully now and then, the success email ends up blank (/tmp/smbx is somehow empty). I'm also worried it could miss possible errors I haven't tested. I'm thinking it has to do with the way "EOF" functions. Is there any way to capture output from the "put" and "get" commands? I can't simply redirect the output, can I?

View 1 Replies View Related

Ubuntu Installation :: Error: Exception Handling Disabled - Use Fexceptions To Enable

Sep 27, 2010

I want to compile ekiga 3.0.2 for ubuntu 10.04. But when I enter 'make' command in the terminal windows, it says that;

[Code]...

I tried to solve the problem by setting CFLAGS = -fexceptions, in the Makefile. But it didn't work.

View 1 Replies View Related

Programming :: Perl Net- LDAP - Why Don't Work Any Error Handling

Nov 12, 2010

i have some perl codes for using ldap,but i don't know why don't work any error handling When i use msg->code for sample. an example:

[Code],,,,

In this case,if $msg->code return zero(or null) every thing work correctly but if it not zero don't give any message(eg."error result").What is problem?

View 1 Replies View Related

Fedora Installation :: Update 15 - Transaction Error - Check That The Correct Key Urls Are Configured For This Repository

Jul 28, 2011

I've been trying to update Fedora 15 for weeks. I always end up with a transaction error and the update stalls. The error reads: GPG keys listed for RPM Fusion for Fedora Rawhide-free repository are installed but they are not correct for this package. Check that the correct key urls are configured for this repository.
This is far too involved for a linux newbie, I think my only option is to reformat and reinstall. This is so frustrating, there are 250 MB of updates available that I can't access.

View 6 Replies View Related

Ubuntu :: Firefox, No Sound, Mailto Broken / Thunderbird Related?

Jul 20, 2010

i have recently been having random problems with mostly firefox. the 2 most annoying problems (that work in other browsers) were: no sound on various sites, like videos and amazon mp3 previews. the mailto command would not work.

the fix is 2 part: i installed the standard release of thunderbird 3.1.1 and the firefox mailto problem is fixed. i installed the standard release of firefox 3.6.7 and sound now works fine.

additionally i have removed thunderbird, firefox and related ubuntu brandng from the package manager for the following reasons:above fixes, time and frustration involved in debug.eliminates the chronic application directory rename during updates, /usr/lib/... and softlink change in /usr/bin.allows me to keep up with t'bird and firefox security patches as they are released, i.e. immmediately.

View 2 Replies View Related

General :: Attach Multiple File Using Mailto?

May 11, 2010

I am trying to set-up a script that will go to the folder and attach all files from that folder to the email without having to specify name for each attached file.

Below script requires exact name of the file and then puts file context into the emails body.

cd /home/denis/Test/

mail -s "log files attached" smith_denis@ymail.com <log.txt

View 4 Replies View Related

Slackware :: Right Click Mailto Functionality In Dolphin?

May 27, 2010

Is there anyway to right click on a file in the Dolphin window and select mail to: then kmail should open and the file gets mailed accordingly.

Or some way to implement this?

View 1 Replies View Related

Debian :: Gmail And Mutt Smtp / "No Authenticators Available" Getting Error?

Jun 25, 2011

I am trying to set up Mutt to use my Gmail account. I've followed this tutorial, and I've been able to use IMAP to download and view my messages, however, when I try to send a message I get a error message, "No authenticators available". I've tried using 587 and 465 for the smtp port. 465 results in Mutt freezing and only being closed with kill. Does anyone have any idea? Anyone currently using Mutt with Gmail without the issue's I'm experiencing?

Here is my .muttrc:

set from = "dagoss@gmail.com"
set realname = "David"
set imap_user = "dagoss@gmail.com"
set imap_pass = "mypassword"
set folder = "imaps://imap.gmail.com:993"
code....

View 10 Replies View Related

Debian Configuration :: Clicking MailTo Link Opens A New Empty Browser Tab

Dec 4, 2015

SYSTEM INFORMATION
socram@t430:~$ lsb_release -a
No LSB modules are available.
Distributor ID:Debian
Description:Debian GNU/Linux 8.2 (jessie)
Release:8.2
Codename:jessie

View 9 Replies View Related

Ubuntu :: Using SED To Grab URLs?

May 30, 2010

Is there a way with SED to read this link:

[URL]

and then pull the individual links and list them in order each on a separate line? like...

[URL]

If SED can't do this is there another command or program that will?

View 1 Replies View Related

Ubuntu :: Linking To External URLs In Tomboy?

Jul 18, 2010

Is there any way to embed a URL to an external web page in the text of a tomboy note, in the same way that other notes are linked to? I know I can just pates the URL into the note and have it link out, but when the link is over a hundred characters long (not kidding) then that stops being an option.

View 1 Replies View Related

Ubuntu :: Really Mount Windows Share (SMB URLs)

May 6, 2011

I am currently in a more mixed environment as I desire and I need to mount samba shares because I need to work with the data. I noticed that nautilus does not really mount the shares and some applications cannot deal with smb urls. I searched and found this old thread: [URL]. Is it possible that after all these years, this is still unchanged? To permanently mount on boot time is not an option for me as the drive will not always be available - already changes when I move within the office from fixed to WLAN (e.g. when going to a meeting and vice versa).

View 1 Replies View Related

Ubuntu :: Post All The Repo Urls That Come With 10.10 64-bit Desktop Edition?

Nov 7, 2010

im missing some of the repos in my package manager. can someone post all the repo urls that come with ubuntu 10.10 64-bit desktop edition

View 1 Replies View Related

Fedora Networking :: Can Resolve Some URLs But Not Others?

Dec 29, 2009

Over the weekend I upgraded my home PC from Fedora 9 to Fedora 12, and now I'm having problems connecting to the Internet. Basically, I am able to connect to some URLs but not others, and it happens in both Firefox and Konquerer. I am able to connect to url, url, url and url with no problems. However, when I try to connect to slashdot.org, url, fedoraforum.org and rpmfusion.org I can not. All the other Windows PCs in my home using the same 2Wire home portal are able to get to the sites using IE with no problem.

I first suspected a DNS issue, but the "host" command returns a valid IP address for all the URLs that I can not reach. Another symptom is that the following command

Code:
su -c 'rpm -Uvh url. url
(from rpmfusion.org/Configuration/) also doesn't work when entered at the command prompt. However, when I did "host download1.rpmfusion.org" and edited the command to use the IP address returned instead of "download1.rpmfusion.org" it worked. But then, the next time I ran "yum" it failed because it couldn't find the rpmfusion.org URL in the installed repository entries.

After reading some other threads, I tried disabling avahi-daemon, but that had no effect. I also tried examining /var/lib/dhcpd and /var/lib/dhclient, but neither file existed on my system.

View 3 Replies View Related

Programming :: Extracting URLs From Strings?

Jun 28, 2009

I have a PHP script written that is checking a string to see if it contains a link in it (i.e. a URL). I have the following if statement, that uses 3 possible regular expressions to determine if there is a link or not.

Code:
// check if we found a link
// links are denoted by strings that:
// - contain http://
// - contain www.*.*

[Code]....

I'm not convinced yet that writing a shell script to do this is the best course of action. If someone is capable of doing this with a Perl or a Python script that's fine too. If you want to make it super high performance and write it in assembly

View 1 Replies View Related

Networking :: Block The Urls With Iptables?

Feb 22, 2010

I have a server with slackware 12 and i try to block 2 web sites but without success. I write in iptables rules /etc/iptables.conf

iptables -A INPUT -s web.org -j DROP
iptables -A OUTPUT -d web.org -j DROP

but no effect. What rule i must write to block url`s?

View 4 Replies View Related

Ubuntu Servers :: Using Iptables To Get Web Usage Statistics And Filter Urls?

Dec 16, 2010

I'm deploying new ubuntu server which should act as a router. I've already set up the NAT for local network, and also did some shaping for different groups of users, but now I'm facing new problem.I need to make a scheduled URL filter. I know it's not a problem with cron and simple script, but maybe there is existing way to do that? And also, I need to make statistics on web-traffic. I need to have list of URLs visited by users (source ip, destination url). Is it possible with iptables? or with any other software but without using proxy servers.

View 9 Replies View Related

Ubuntu :: Does MUTT Support SSL Or TLS

Mar 7, 2010

I am trying to find a good text based email client for an older machine, which will not run the GUI correctly due to min. hardware; however, I want to be able to use it with Text based email clients.Can anyone recommend a good text based email client that supports TLS/SSL for securied connections for IMAP, or even POP3?Does MUTT support SSL/TLS?

View 2 Replies View Related

Server :: Cannot Access Apache Web URLs Remotely?

Jun 7, 2010

I have a fresh fedora 13 install, I managed to browse and setup my phpadmin.....and browse everthing locally. I can not browse the web site from any other machine in my network. All my machines get their IPs from my dhcp (192.168.1.0).I googled and read a thread in this forum, I understood it might be due to SELINUX. I disabled it, rebooted, still have the same behavior, browse my apache locally but not from other machines. I did a telnet from one of my machines using the IP as followstelnet 192.168.1.11 80got the following onnecting To 192.168.1.11...Could not open connection to the host, on port 80: Connect failed.I checked error-log and access_log file, found no hint. I think it should be something related to some fedora systemor firewall or selinux config that is not allowing access to it.

View 4 Replies View Related

Server :: Disable Caching For Certain URLs In Varnish?

Mar 13, 2011

There is this server that is running a lot of websites and runs varnish for caching for performance boosting. But I want to somehow remove certain URLs from caching which change frequently. But I do not want to remove complete domains from caching but certain URLs from the websites. Is there any way to remove those pages from caching?

View 2 Replies View Related

Programming :: Firefox Extension To Handle URLs?

Jan 11, 2011

I want to write simple firefox extension / script or anything to change URLs from HTTP to HTTPS for selected websites (e.g. facebook). That thing is actually bypassing some security checks in my network.

Can anyone tell me how to proceed? I can deal with language as far its C++ or Python (something else would just take more time that's all )

View 1 Replies View Related

Ubuntu Servers :: Setup Reverse Proxyapache2 Drupal Clean Urls?

Apr 16, 2010

I have a scenario.A domain [URL].. then there are 4 private computers on which applications are hosted at port 80. So when some one from outside access the site it look [URL]..I added

[Code]...

View 1 Replies View Related

Debian :: Mapping URLs To Filesystem Locations With Apache 2.2?

Jul 17, 2011

I am trying to map a URL to a file system location.According to official documentation at [URL] under 'Files Outside the DocumentRoot', it says:On Unix systems, symbolic links can bring other parts of the filesystem under the DocumentRoot. For security reasons, Apache will follow symbolic links only if the Options setting for the relevant directory includes FollowSymLinks or SymLinksIfOwnerMatch.

View 1 Replies View Related

Fedora :: Clicking URLs In Thunderbird Does Not Start Firefox In F15?

May 27, 2011

Does anyone have the problem where clicking a URL in an email in Thunderbird doesn't start up Firefox? It used to work in previous Fedora releases

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved