Password protected zipped files - can they be allowed for one domain only?

Questions and answers about how to do stuff
Post Reply
mikemachin
Posts: 33
Joined: 29 Aug 2014 11:27

Password protected zipped files - can they be allowed for one domain only?

Post by mikemachin »

Hi,
One of our suppliers insist on using password protected zip files, can the system be set to allow them to and from this source only?

I am aware this can be done on our whole spam filter.
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Password protected zipped files - can they be allowed for one domain only?

Post by shawniverson »

Yes, it should be possible to do this as a rule set...

Change this in /etc/MailScanner/MailScanner.conf

Code: Select all

Allow Password-Protected Archives = no
To this....

Code: Select all

Allow Password-Protected Archives = %rules-dir%/pp.archives.rules
Create /etc/MailScanner/rules/pp.archives.rules

Code: Select all

FromOrTo:       somedomain.net   yes
FromOrTo:       default         no

Code: Select all

sudo service MailScanner restart
Post Reply