Restricting relay of attachments

2014-09-10 Thread Michael Fox
Sorry if this is a bit simple, but I can't seem to figure out how the components fit together. Given the following: 1) MX/Relay machine running postfix: relay.domain1.com 2) Client machine: client.domain2.com I'd like to restrict/deny (5xx permanent error) incoming messages from the

Re: Restricting relay of attachments

2014-09-10 Thread Noel Jones
On 9/10/2014 1:24 AM, Michael Fox wrote: Sorry if this is a bit simple, but I can’t seem to figure out how the components fit together. Given the following: 1) MX/Relay machine running postfix: relay.domain1.com 2) Client machine: client.domain2.com I’d like to

Re: Restricting relay of attachments

2014-09-10 Thread Wietse Venema
On 9/10/2014 1:24 AM, Michael Fox wrote: I'd like to restrict/deny (5xx permanent error) incoming messages from the Internet to client.domain2.com if they contain attachments. But no such restriction should be applied to other clients or to users on relay.domain1.com. Noel Jones:

RE: Restricting relay of attachments

2014-09-10 Thread Michael Fox
. Michael -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix- us...@postfix.org] On Behalf Of Wietse Venema Sent: Wednesday, September 10, 2014 6:54 AM To: Postfix users Subject: Re: Restricting relay of attachments On 9/10/2014 1:24 AM, Michael Fox wrote

Re: Restricting relay of attachments

2014-09-10 Thread Viktor Dukhovni
On Wed, Sep 10, 2014 at 09:55:16AM -0700, Michael Fox wrote: Hmmm. O.K. Thanks to both of you. It will take me some time to think this through. The level of indirection between main.cf and master.cf sure adds flexibility. But, as someone who doesn't work in postfix every day or even

RE: Restricting relay of attachments

2014-09-10 Thread Michael Fox
That's helpful. Thanks. -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix- us...@postfix.org] On Behalf Of Viktor Dukhovni Sent: Wednesday, September 10, 2014 10:11 AM To: postfix-users@postfix.org Subject: Re: Restricting relay of attachments On Wed