Discussion:
Allow attachment with blocked extension for some senders
(too old to reply)
Jonny Oschätzky
2016-04-05 11:42:08 UTC
Permalink
Hi,

I've added .xls to the list of blocked extensions.

Now I need an exception for some specific senders (sender address or
mailserver ip - both is possible). How can I realize that?

Thanks :-)
Jonny
Dino Edwards
2016-04-05 11:53:54 UTC
Permalink
Someone correct me if I'm wrong, but I don't believe there is a way to add exceptions for senders when it comes to attachments.
-----Original Message-----
From: amavis-users [mailto:amavis-users-
Oschätzky
Sent: Tuesday, April 05, 2016 7:42 AM
Subject: Allow attachment with blocked extension for some senders
Hi,
I've added .xls to the list of blocked extensions.
Now I need an exception for some specific senders (sender address or
mailserver ip - both is possible). How can I
Gregory Sloop
2016-04-05 14:26:06 UTC
Permalink
Yes, that's right. For banned-files, sender white-lists are not an option. [I have a script that does handle sender white-lists, and I'm glad to discuss off-list if someone is interested.]

In our case, white-listing senders is incredibly helpful - but Amavis, I believe, has made a choice not to support sender white-lists for banned files. [We blanket ban nearly all attachments, and then allow a few senders through to certain/specific recipients.]

There are a few work-arounds - but they're cludgy IMO, and won't work with pre-accept in Postfix - which is how we use amavis - so there's no even-cludgy way for us.

-Greg


DE> Someone correct me if I'm wrong, but I don't believe there is a
DE> way to add exceptions for senders when it comes to attachments.
-----Original Message-----
From: amavis-users [mailto:amavis-users-
OschÀtzky
Sent: Tuesday, April 05, 2016 7:42 AM
Subject: Allow attachment with blocked extension for some senders
Hi,
I've added .xls to the list of blocked extensions.
Now I need an exception for some specific senders (sender address or
mailserver ip - both is possible). How can I realize that?
Thanks :-)
Jonny
--
Gregory Sloop, Principal: Sloop Network & Computer Consulting
Voice: 503.251.0452 x82
EMail: ***@sloop.net
http://www.sloop.net
---
Loading...