> On Mar 20, 2018, at 9:41 AM, phep <phep-li...@wakzo.net> wrote:
> 
> Now I have a sister organisation with domain example2.com that operates a web 
> app than needs to send mail through our Postfix server and I want to relay 
> mails sent from this web app provided the messages sender meets a specific 
> email address (say web...@example2.com).
> 
> How can I do that in main.cf ? Simply adding the web app server IP to 
> mynetworks would not do the trick since I'd rather not relay any email 
> traffic from this server, only this webapp messages (notwithstanding fake 
> headers).
> 
> I read through smtpd_reject_unlisted_recipient and smtpd_relay_restrictions 
> documentation but could not figure out how to do it.

http://www.postfix.org/RESTRICTION_CLASS_README.html

-- 
        Viktor.

Reply via email to