| |||||||||||||||||||||||||||||||
|
> What do you want to achieve? > Do you want clients connecting from 'mynetworks' (127.0.0.1/8, > 172.16.20.0/25, 172.16.30.0/25) to be able to relay messages to any domain? > And do you want clients from other networks to authenticate in order to > relay messages to any domain? Detail of my case that is DOUBLE restriction for incoming message. 1) Option1: SASL Authen -> check sender name && password to permit sending. Next 2) Option2 (after passing 'option1'): check sender for sending to outside (Yahoo Mail, Gmail, ..). Figure port setting: 25:[Postfix] --> 10025:[TrenMicro InterScan SMB]:10026 --> maildrop #/etc/postfix/master.cf smtp_sasl_auth_enable = no content_filter = scan:[127.0.0.1]:10025 smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_reject_unlisted_recipient = yes broken_sasl_auth_clients = yes smtpd_sender_login_maps = hash:/etc/postfix/login_map.txt smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/mysender.txt \ reject_unlisted_sender \ reject_sender_login_mismatch \ reject_unauthenticated_sender_login_mismatch \ permit_sasl_authenticated #/etc/postfix/login_map.txt info info sales sales #/etc/postfix/mysender.txt info permit_mynetworks, reject sales permit_mynetworks, reject #/etc/postfix/master.cf scan unix - - n - 10 smtp -o smtp_send_xforward_command=yes -o disable_mime_output_conversion=yes -o smtp_generic_maps= 127.0.0.1:10026 inet n - n - - smtpd -o content_filter= -o smtp_sasl_auth_enable -o smtpd_sender_login_maps It dos NOT request username && password. How to solve double restriction for SMTP Authen ? Thanks you an best regards, -- Truong Tan Son.
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com