Re: Different Attachment settings for Incoming/outgoing emails

2016-05-10 Thread Benny Pedersen
On 2016-05-10 11:59, Vishal Agarwal wrote: "https://serverfault.com/questions/658106/how-to-block-attachments-on-incoming-mails-only-using-postfix"; http://www.impsec.org/~jhardin/antispam/milter-regex.conf inspiration to make it with milters keep postfix clean handling alternatives to abo

Re: Goal: Setup transport that runs a header check to strip out specific header for emails from specific source

2016-05-10 Thread deoren
On 5/10/2016 2:07 PM, Viktor Dukhovni wrote: On Tue, May 10, 2016 at 01:46:57PM -0500, deoren wrote: # match on ALL Gmail accounts. @gmail.com autosieve I would not expect the messages generated by Sieve to be sent from "gmail.com". These auto-generated messages are created on yo

Re: Goal: Setup transport that runs a header check to strip out specific header for emails from specific source

2016-05-10 Thread Viktor Dukhovni
On Tue, May 10, 2016 at 01:46:57PM -0500, deoren wrote: > >># match on ALL Gmail accounts. > >>@gmail.com autosieve > > > >I would not expect the messages generated by Sieve to be sent from > >"gmail.com". These auto-generated messages are created on your > >machine, and should be sen

Re: Goal: Setup transport that runs a header check to strip out specific header for emails from specific source

2016-05-10 Thread deoren
On 5/10/2016 11:07 AM, Viktor Dukhovni wrote: On Tue, May 10, 2016 at 01:15:59AM -0500, deoren wrote: # sender_dependent_default_transport_maps.conf # # This entry is matching against gmail.com because Google Calendar # delivers notifications to your associated Gmail account. To # receive them

Re: Goal: Setup transport that runs a header check to strip out specific header for emails from specific source

2016-05-10 Thread Viktor Dukhovni
On Tue, May 10, 2016 at 01:15:59AM -0500, deoren wrote: > # sender_dependent_default_transport_maps.conf > # > # This entry is matching against gmail.com because Google Calendar > # delivers notifications to your associated Gmail account. To > # receive them on your outside email account you have

Re: Different Attachment settings for Incoming/outgoing emails

2016-05-10 Thread /dev/rob0
On Tue, May 10, 2016 at 03:29:38PM +0530, Vishal Agarwal wrote: > I want to block incoming attachments for PDF and DOC files. While on > the other hand these files should be allowed to be sent out. > > I am using Zimbra Server 8.6. I tried the same with creating clean up > service as described wit

Different Attachment settings for Incoming/outgoing emails

2016-05-10 Thread Vishal Agarwal
Hi, I want to block incoming attachments for PDF and DOC files. While on the other hand these files should be allowed to be sent out. I am using Zimbra Server 8.6. I tried the same with creating clean up service as described with this post. "https://serverfault.com/questions/658106/how-to-block-