|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: check sender address for auth user only ?
From: Magnus Bäck (magnus
dsek.lth.se)
Date: Tue Jun 06 2006 - 05:52:30 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tuesday, June 06, 2006 at 12:21 CEST,
Dalis-Adrian <dalis_adrian
yahoo.com> wrote:
> --- Magnus Bäck <magnus
dsek.lth.se> wrote:
>
> > http://www.postfix.org/postconf.5.html#smtpd_sender_login_maps
> > http://www.postfix.org/postconf.5.html#reject_authenticated_sender_login_mismatch
> > http://www.postfix.org/postconf.5.html#reject_sender_login_mismatch
> > http://www.postfix.org/postconf.5.html#reject_unauthenticated_sender_login_mismatch
>
> I read docs before, my case is special, i need to allow "
domain.com"
> for all auth user only
Yes, everyone thinks they're special. You could indeed use
reject_sender_login_mismatch for this, but this is simpler:
main.cf:
smtpd_sender_restrictions =
permit_sasl_authenticated,
check_sender_access hash:/path/to/file
/path/to/file:
example.com REJECT
--
Magnus Bäck
magnus
dsek.lth.se
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]