[SWLUG] SMTP Problems

Justin Mitchell justin at discordia.org.uk
Fri Jan 28 10:59:46 UTC 2011


On Fri, 2011-01-28 at 09:36 +0000, Jon Reynolds wrote:
> Hi folks,
> 
> I am having (and always have had) a problem with my SMTP setup. Ever
> since I have been running my own mail server I cannot seem to quite get
> it set up right so that I can send mail from a _remote_ device. Sending
> works fine 'from the server' i.e. if I ssh in and use mutt, or if I use
> Roundcube installed on my server through a browser.
> 
> But I cannot get the settings quite right when trying to set up a remote
> client, e.g. I am trying to use Maildroid and K9 on my Android phone. I
> can access my mail fine, read all the different imap folders, but I
> cannot send. 
> 
> During the set up of the account on the client, when entering SMTP
> details, I am not 100% sure what I should be entering based on how I set
> my system up. I set my system up using this guide >
> http://www.howtoforge.com/perfect-server-ubuntu8.04-lts-p5
> 
> ...so i think I should be able to use SMTP with TLS (although tbh I am a
> little uncertain to what everything means).
> 
> When I try to set up the account, I get an authentication error for
> SMTP.
> 
> This is what /var/log/mail.log says when I try to set up my account on
> the remote device (and it tries to connect) using the following settings:
> 
> Incoming IMAP server using TLS/SSL on port 993
> Outgoing SMTP server NOT using TLS/SSL on port 25

> Jan 28 09:29:57 jcrdevelopments postfix/smtpd[14282]: warning: SASL
> authentication failure: cannot connect to saslauthd server: No such file
> or directory


your saslauthd daemon isnt running, that has to be there to handle the
password checking used during auth.


have you made sure that the service is going to be restarted on reboot




More information about the Swlug mailing list