Re: Howto: set up a mail server in Ubuntu
Originally Posted by jlsm
I had a look to your configuration and the only strange things i seen so far are: (on /etc/postfix/main.cf)
>home_mailbox = Maildir/
>inet_protocols = all
>smtpd_sasl_auth_enable = no # I changed this to no to accept clear passwd
my working SASL is configured as the guide.
smtpd_sasl_auth_enable = yes
# If your potential clients use Outlook Express or other older clients
# this needs to be set to yes
broken_sasl_auth_clients = no
smtpd_sasl_security_options = noanonymous
mech_list: plain login cram-md5 digest-md5
sql_select: select crypt from users where id='%u@%r' and enabled = 1
auth required pam_mysql.so user=mail passwd=mailPASSWORD host=127.0.0.1 db=maildb table=users usercolumn=id passwdcolumn=crypt crypt=1
account sufficient pam_mysql.so user=mail passwd=mailPASSWORD host=127.0.0.1 db=maildb table=users usercolumn=id passwdcolumn=crypt crypt=1
what do you see in the logs when trying to connect ?
tail -f /var/log/mail.log
must be something helpful there ...
I would aso suggest to ad your local network to the end of this setting in main.cf
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
If SASL is not working i doubt you can connect from other computer without your local network there.
Last edited by fedef63; March 15th, 2011 at 05:57 PM.