Allowing a filename
Jim Creason
jim at shout.net
Wed Jan 4 17:00:45 UTC 2017
Add something like this above the default rule in rules/filename.rules:
FromOrTo: *@yourdomain.com /etc/MailScanner/filename.yourdomain.conf
/etc/MailScanner/filename.rules.conf
and then in filname.yourdomain.conf add the rule to match the file:
allow <regex to match the file name> - -
On 2017-01-04 09:49, Jason Waters wrote:
> I have a client that sends doc files but through their system and they
> come as COLXXX.tmp.doc
>
> The X's change so we would need to account for that. These are legit
> and would like to build a rule to allow them. I'm assuming it would be
> in filename.rules.conf? Could someone help me out? Also they always
> from from the same domain. I tried white listing that domain, but
> that didn't allow them to pass. Thanks.
>
> Jason
More information about the MailScanner
mailing list