Harakiri: > smtpd_sender_restrictions =ldap2_config..., reject > > the problem with this is - that this check is also executed for > inbound mails.
Wietse: > smtpd_sender_restrictions = permit_mynetworks, ... Harakiri: >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). Then, use an access map as described by Noel. Wietse