cyrus-sasl --- with smtp login maps !!

cyrus-sasl-2.1.22-4 cyrus-sasl-devel-2.1.22-4 cyrus-sasl-lib-2.1.22-4 cyrus-sasl-plain-2.1.22-4 cyrus-sasl-gssapi-2.1.22-4 cyrus-sasl-ntlm-2.1.22-4 cyrus-sasl-md5-2.1.22-4

[root@emm etc]# cat /usr/lib64/sasl2/smtpd.conf pwcheck_method:auxprop mech_list: PLAIN LOGIN

stop saslauthd

chkconfig --del saslauthd

create the user sasldb saslpasswd2 -c -u ance.com -a smtpauth test saslpasswd2 -c -u kri.com -a smtpauth test

[root@emm etc]# ll /etc/sasldb2 -rw-r----- 1 postfix root 12288 Sep 20 15:35 /etc/sasldb2

in /etc/postfix/main.cf

smtpd_sasl_local_domain =

smtpd_sasl_auth_enable = yes

smtpd_recipient_restrictions =

permit_sasl_authenticated,

permit_mynetworks,

check_relay_domains

smtpd_sender_restrictions =

reject_sender_login_mismatch

smtpd_sender_login_maps = hash:/etc/postfix/smtpd_sender_login_maps

postmap /etc/postfix/smtpd_sender_login_maps

cat /etc/postfix/smtpd_sender_login_maps

lo@ance.com test@ance.com

smtpmail -h 192.168.50.143 -f nil@ance.com -t gl@gmail.com -u test@ance.com -p qwerasdf sent

No comments:

Other Articles

Enter your email address: