Page 1 of 1

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

Posted: 12 May 2015 10:58
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.

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

Posted: 15 May 2015 18:19
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