Banned Rules

Konstantin myownletters at gmail.com
Fri Aug 1 00:01:30 CEST 2014


Hi,

you can try following:

$ cat /etc/amavisd/attachment_control.cf

### Order is important
@banned_filename_maps = ({
'user1 at domain.com' => 'TEST1',
'domain2.com' => 'TEST2',
'.' => 'DEFAULT_RULE'
 });


2014-07-27 20:17 GMT+03:00 Deeztek Support <support at deeztek.com>:

> Anyone have any ideas?
>
>
>
>
> On 7/25/2014 8:56 AM, Deeztek Support wrote:
>
>> On 7/25/2014 1:51 AM, A. Schulze wrote:
>>
>>  my amavisd.conf just only onclude other files:
>>>
>>>
>>
>> Thanks for the tip, however it sounds like I need to redo my entire
>> amavis configuration which I'm not looking to do. I am just trying to
>> see if it would be possible to point to a rules file from my amavis
>> 50-user file similar to the following:
>>
>> @local_domains_maps=(read_hash("/etc/postfix/relay_domains"));
>>
>> the line above points to a file that contains all the domains the system
>> handles. So, I'm wondering if I can do something similar for the banned
>> rules.
>>
>> thanks a lot
>>
>>
>>
>


-- 
*This message was delivered using 100% recycled electrons*.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20140801/a2d99d57/attachment.html>


More information about the amavis-users mailing list