Re: Is it possible to stack access map actions + use a custom reject message?

2014-11-23 Thread Wietse Venema
deoren: The question I had would have been better phrased as, Is there a way to limit which clients can claim to be from your domain(s) when sending mail? After doing some additional digging it looks like Envelope sender address authorization is what I'm looking for?

Is it possible to stack access map actions + use a custom reject message?

2014-11-22 Thread deoren
I was reading through Linux Email and it has an example policy where only clients from your networks are allowed to use your domain in the sender address: smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access # /etc/postfix/sender_access example.com permit_mynetworks,

Re: Is it possible to stack access map actions + use a custom reject message?

2014-11-22 Thread Wietse Venema
deoren: permit_mynetworks, REJECT Unauthorized use of domain name Where does the Postfix documentation promise that you can do this? Wietse

Re: Is it possible to stack access map actions + use a custom reject message?

2014-11-22 Thread deoren
On November 22, 2014 10:22:12 AM CST, wie...@porcupine.org wrote: deoren: permit_mynetworks, REJECT Unauthorized use of domain name Where does the Postfix documentation promise that you can do this? Wietse Thanks for the reply. I know you are a busy guy and I appreciate the direct

Re: Is it possible to stack access map actions + use a custom reject message?

2014-11-22 Thread Wietse Venema
deoren: Is there a way to accomplish what the Linux Email book mentions? Basically restricting use of your domain to your clients/backup MX and using a custom response or log message to indicate what rule blocked offenders? /etc/postfix/main.cf: smtpd_client_restrictions =

Re: Is it possible to stack access map actions + use a custom reject message?

2014-11-22 Thread deoren
On 11/22/2014 6:03 PM, Wietse Venema wrote: deoren: Is there a way to accomplish what the Linux Email book mentions? Basically restricting use of your domain to your clients/backup MX and using a custom response or log message to indicate what rule blocked offenders? /etc/postfix/main.cf: