--- On Tue, 2/21/12, Wietse Venema <wie...@porcupine.org> wrote:

> From: Wietse Venema <wie...@porcupine.org>
> Subject: Re: check_sender_access only for "outbound" mails e.g. those that 
> are in mynetworks
> To: "Postfix users" <postfix-users@postfix.org>
> Date: Tuesday, February 21, 2012, 10:47 AM
> Harakiri:
> > smtpd_sender_restrictions =ldap2_config..., reject
> > 
> > the problem with this is - that this check is also
> executed for
> > inbound mails. 
> 
> smtpd_sender_restrictions = permit_mynetworks, ...
> 
>     Wietse


This is exactly the wrong away around - as i said i need to verify enveloped 
sender only for outbound mail - the above case would allow all outbound mail to 
be sent (since outbound mail is relayed from a mynetwork address) and the 
sender access is done only for inbound mails (since they are not in mynetwork).

Basically, i need only want to check sender_access when the mail comes from 
mynetworks (hence - outbound mail)

>

Reply via email to