Virus detected but still relayed

Igor Sverkos igor.sverkos at gmail.com
Sun Feb 14 12:15:50 CET 2016


Problem solved. The problem was caused by

> // suspicious-mails@ is a special inbox from IT department
> // to investigate suspicious mails ;)
> //
> // abuse@ should always get mails
> @virus_lovers_maps = (
>     'suspicious-mails at example.net' => 1
> );
>
> @banned_files_lovers_maps = (
>     'suspicious-mails at example.net' => 1
> );
>
> @spam_lovers_maps = (
>     'abuse at example.net'            => 1,
>     'suspicious-mails at example.net' => 1
> );
>
> @bad_header_lovers_maps = (
>     'abuse at example.net'            => 1,
>     'suspicious-mails at example.net' => 1
> );

I found this example in
https://sourceforge.net/p/amavis/mailman/message/17058964/

However I should have read the whole thread :/

Solution:

@virus_lovers_maps = (
    [
        'suspicious-mails at example.net'
    ]
);

@banned_files_lovers_maps = (
    [
        'suspicious-mails at example.net'
    ]
);

@spam_lovers_maps = (
    [
        'abuse at example.net',
        'suspicious-mails at example.net'
    ]
);

@bad_header_lovers_maps = (
    [
        'abuse at example.net',
        'suspicious-mails at example.net'
    ]
);


-- 
Regards,
Igor


More information about the amavis-users mailing list