My mail server uses Postfix 2.5.5 amd-64 driven virtual mailbox domains
stored in a MySQL database, managed by PostfixAdmin and phpMyAdmin

 

Postfix and Dovecot SASL

My question / fear is if I should I just add the example excerpt to the
bottom of the original file or should I just go down the entire original
file and replace the things that are different.  Once this is done what
should I do next.  This is not the way I did it before.

I usually did this.

 

apt-get install sasl2-bin libsasl2-2 libsasl2-modules

vim /etc/default/saslauthd and set:
START=yes
and per the instructions at the bottom of the page, set:
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd"

Run:
dpkg-statoverride --add root sasl 710 /var/spool/postfix/var/run/saslauthd
and run:
adduser postfix sasl

vim /etc/postfix/sasl/smtpd.conf and insert these two lines:
pwcheck_method: saslauthd
mech_list: plain login

In /etc/postfix/main.cf:
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
reject_unauth_destination

and:
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $mydomain
broken_sasl_auth_clients = ye

 

I am a nube and I do not want to have to redo this server since it is
running great without a single problem so please bear with me as I do not
want to make a mistake.

Attachment: Example dovecot.conf.rar
Description: Binary data

Attachment: dovecot.rar
Description: Binary data

Reply via email to