10 msgMy Virtual users can't send messages to their o...

AND parameters of Postfix question ?
\ Truong Tan Son (28 May 2007)
. \ Truong Tan Son (28 May 2007)
. . \ Rene van Hoek (28 May 2007)
. . \ Truong Tan Son (28 May 2007)
. . . \ Rene van Hoek (28 May 2007)
. . \ mouss (28 May 2007)
. . \ Truong Tan Son (30 May 2007)

2 msgPx messing plain mail addresses, group members
4 msgno logs
8 msgmyhostname
1 msghow to manage destination status cache
2 msgTemporary failure with Postfix and Cyrus
21 msg/usr/lib/sasl2 failed to open directory
1 msgCyrus and Postfix
3 msgreject_unknown_sender_domain problem
6 msgAutomatic message
14 msgmailbox_command prepends a 'From ' ?
3 msgvirtual and lmtp for virtual hosting
10 msgStill problems..
4 msgDouble transport
2 msgMUA with SSL/TLS Client Certificate support (SO...
3 msgRegarding S/MIME Messages
17 msgaddress_verify_sender
10 msgQuestion about Logs
9 msgproblem with bad syntax and Outlook 2007
Subject:Re: AND parameters of Postfix question ?
Group:Postfix-users
From:Truong Tan Son
Date:30 May 2007


 
Rene van Hoek wrote:
> 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