|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Mutt not sending email
Ok, I have configure getmail to fetch my messages and mutt to read all my fetched messages. I have installed ssmtp and configured mutt, but when i send email i get this error from mutt:
Error sending message, child exited 127 (Exec error.). here is the ssmtp configuration in /usr/local/etc/ssmtp/ssmtp.conf MailHub=smtpauth.earthlink.net:587 UseTls=YES FromLineOverride=YES Hostname=XX.XXX.XXX.XX RewriteDomain=earthlink.net Root=XXXXXX@earthlink.net AuthUser=XXXXXX@earthlink.net AuthPass=XXXXX here is how i'm telling mutt what to use to send mail on ~/.muttrc set sendmail="/usr/local/etc/ssmtp" And yes I have disabled sendmail in etc/rc.conf sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" What step Am I missing? Please help me configure ssmtp or suggest another solution. Thanks |
|
||||
Easiest way to do it in FreeBSD
cd /usr/ports/mail/ssmtp make replace This will rewrite mailer.conf so that it uses ssmtp instead of sendmail. Then, you don't need to put the sendmail line in .muttrc. However, as jbhappy correctly mentioned, it's /usr/local/sbin/ssmtp that you want. I see that you also give the option to offer another solution. I've come to prefer msmtp. Firstly, ssmtp has been abandoned and is no longer maintained. Secondly, msmtp gives you a bit more flexibility--you can send from multiple accounts and such. I cover it in my my mutt page. http://home.nyc.rr.com/computertaijutsu/mutt.html |
|
|||
Changing the path to ssmtp worked but still with an error
I changed my .muttrc to: set sendmail="/usr/local/etc/ssmtp" but I still get an error.
SSL_connect: Unknown error: 0 ssmtp: Cannot open smtpauth.earthlink.net:587 |
|
|||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Maildir with Postfix/Dovecot/procmail/mutt | bsdperson | FreeBSD Ports and Packages | 3 | 8th July 2009 07:05 PM |
sending 2 launcher command to terminal with && ? | whispersGhost | Solaris | 3 | 24th December 2008 06:19 PM |
Sending PRs through KMail | BSDKaffee | Guides | 0 | 8th October 2008 10:39 PM |
FreeBSD 6.2 + qmail = problem sending email to freebsd.org | DNAeon | FreeBSD Ports and Packages | 2 | 29th September 2008 12:27 AM |
help with mutt | cssgalactic | FreeBSD General | 3 | 2nd August 2008 07:25 AM |