Re: Only accept "MAIL FROM:" one specific domain - REJECT all others

2018-05-02 Thread Viktor Dukhovni
> On May 2, 2018, at 12:20 PM, David Byrne wrote: > > I thought I could do this in a sender access file within > smtpd_sender_restrictions, but I’m not having much luck. > > File: /etc/postfix/main.cf > smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/insiders > > File: :/et

Only accept "MAIL FROM:" one specific domain - REJECT all others

2018-05-02 Thread David Byrne
Hi, I’m trying to setup an internal postfix mail server for a very specific use for a client. They need to REJECT all mail that is attempted to be sent with a MAIL FROM: value of anything other than an address at “good-domain.com” (for this example). If someone was to MAIL FORM: ad...@google.co