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: Truong Tan Son (sonttfcv.fujitsu.com)
Date: Wed Jun 01 2005 - 23:02:04 CDT


Dear Sir,

Mail server rejects immediately, with notice:

..:Sender address rejected: not owned by user, ..

 ( In fact, that users already permit on server )

Can't put "reject_sender_login_mismatch" *before* "permit_sasl_authenticated"

best regards,

----- Original Message -----
From: "Victor Duchovni" <Victor.DuchovniMorganStanley.com>
To: <postfix-userspostfix.org>
Sent: Thursday, June 02, 2005 10:35 AM
Subject: Re: How to match SASL logged user and MAIL FROM address.

> On Thu, Jun 02, 2005 at 09:18:26AM +0700, Truong Tan Son wrote:
>
>> smtpd_sender_login_maps = hash:/etc/postfix/login_maps
>> smtpd_sender_restrictions = reject_unlisted_sender
>> permit_sasl_authenticated
>> reject_sender_login_mismatch
>> reject_unauthenticated_sender_login_mismatch
>> reject
>>
>
> Almost right, put "reject_sender_login_mismatch" *before*
> permit_sasl_authenticated. Order matters.
>
> --
> 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>
>
>