OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: How to match SASL logged user and MAIL FROM address.

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Wed Jun 01 2005 - 23:28:36 CDT


On Thu, Jun 02, 2005 at 11:21:37AM +0700, Truong Tan Son wrote:

> Dear Sir,
>
> It's ready exist two field on "smtpd_sasl_login_maps" file and postmap this
> file
>
> userXXtest.com userXX
> userYYtest.com userYY
> ...
>
> SASL user = userAtest.com then MAIL FROM = userAtest.com
>
> If MAIL FROM = userBtest.com on this case, the server must reject this
> message
>

So do SASL user names have an domain part or not? List the actual
SASL login name on the right hand side of the table. Don't forget
to postmap the table after any updates.

    http://www.postfix.org/postconf.5.html#smtpd_sasl_login_maps
    http://www.postfix.org/postconf.5.html#reject_sender_login_mismatch
    http://www.postfix.org/DEBUG_README.html
    http://www.postfix.org/DEBUG_README.html#mail

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>