Allowing a filename
Jason Waters
jason at geeknocity.com
Wed Jan 4 17:10:04 UTC 2017
Thanks!
On Wed, Jan 4, 2017 at 12:00 PM, Jim Creason <jim at shout.net> wrote:
> 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
>>
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170104/a70cdd1f/attachment.html>
More information about the MailScanner
mailing list