PDA

View Full Version : [SOLVED] Unable to send emails (stmp)


DWizzard
September 26th, 2008, 10:08 PM
Hi there,

Thanks for EHCP.
I just installed it on a clean Ubuntu 8.04, and it installed OK everything has been going fine except I can't send emails via the server.

I setup the email account, I can receive email ok but when I try and send fails.

I check the mail log and server and I see

Sep 27 02:00:44 li43-128 postfix/smtpd[6652]: connect from 124-x-x-x.callplus.net.nz[124.x.xx.x]
Sep 27 02:00:46 li43-128 postfix/smtpd[6652]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Sep 27 02:00:46 li43-128 postfix/smtpd[6652]: warning: 124-x-x-x.callplus.net.nz[124.x.x.x]: SASL LOGIN authentication failed: generic failure
Sep 27 02:00:46 li43-128 postfix/smtpd[6652]: lost connection after AUTH from 124-x-x-x.callplus.net.nz[124.x.x.x]
Sep 27 02:00:46 li43-128 postfix/smtpd[6652]: disconnect from 124-x-x-x.callplus.net.nz[124.x.x.x]

I rebooted the machine but it still fails..

it seems the saslauthd process is running though...

root@li43-128:/var/log# ps aux |grep sasl
root 2677 0.0 0.2 52604 892 ? Ss Sep20 0:00 /usr/sbin/saslauthd -a pam -m /var/spool/postfix/var/run/saslauthd -r
root 2678 0.0 0.1 52604 608 ? S Sep20 0:00 /usr/sbin/saslauthd -a pam -m /var/spool/postfix/var/run/saslauthd -r
root 2679 0.0 0.1 52604 584 ? S Sep20 0:00 /usr/sbin/saslauthd -a pam -m /var/spool/postfix/var/run/saslauthd -r
root 2680 0.0 0.1 52604 584 ? S Sep20 0:00 /usr/sbin/saslauthd -a pam -m /var/spool/postfix/var/run/saslauthd -r
root 2681 0.0 0.1 52604 584 ? S Sep20 0:00 /usr/sbin/saslauthd -a pam -m /var/spool/postfix/var/run/saslauthd -r


Any ideas?

DWizzard
September 27th, 2008, 02:53 AM
wooo!
I was able to fix this by running

sudo adduser postfix sasl

As seen here..
http://linux.derkeiler.com/Mailing-Lists/Debian/2004-06/2122.html

bvidinli
October 1st, 2008, 05:53 PM
Thank you for your contribution for solution too...
if you need help, pm or email me...
i will help as much as i can.