Send recipient notification of quarantined spam

Tom Robinson tom.robinson at motec.com.au
Thu Feb 7 04:36:50 CET 2019


bump

On 5/2/19 12:08 pm, Tom Robinson wrote:
>
> Hi,
>
> I'm sure this has been answered before but I just can't seem to find the right settings.
>
> I want the recipient of a quarantined SPAM email to receive a notification that it was quarantined.
>
> Notifications are working for viruses that get quarantined but I can't get it to work for SPAM.
>
> I have the following in my amavisd.conf
>
> $virus_admin               = "postmaster\@$mydomain";                   # notifications recip.
> $mailfrom_notify_admin     = "virusalert\@$mydomain";                   # notifications sender
> $mailfrom_notify_recip     = "virusalert\@$mydomain";                   # notifications sender
> $mailfrom_notify_spamadmin = "spamalert\@$mydomain";                    # notifications sender
> $mailfrom_to_quarantine = ''; # null return path; uses original sender if undef
>
> $final_virus_destiny      = D_DISCARD;
> $final_banned_destiny     = D_DISCARD;
> $final_spam_destiny       = D_DISCARD;  #!!!  D_DISCARD / D_REJECT
> $final_bad_header_destiny = D_PASS;
> $virus_quarantine_method        = 'local:virus/%m';
> $spam_quarantine_method         = 'local:spam/%m.gz';
> $banned_files_quarantine_method = 'local:banned/%m';
> $bad_header_quarantine_method   = 'local:badh/%m';
>
> $warnvirusrecip = 1;
> $warnbannedrecip = 1;
> $warnbannedsender = 0;
>
> Thanks in advance.
>
> -- 
>
> Kind regards,
>
> *Tom Robinson
> **IT Manager/System Administrator**
> **
> **MoTeC-Black-Text**   ***
>
> ***MoTeC Pty Ltd*
>
> MoTeC Research Centre
> 121 Merrindale Drive
> Croydon South 3136
> Victoria Australia
>
> *T:*61 3 9761 5050
> *F:* 61 3 9761 5051
> *W: *www.motec.com <http://www.motec.com/>
>
> sm-facebook <http://www.facebook.com/motec.global>sm-youtube
> <http://www.youtube.com/user/MoTeCAustralia> sm-webinars
> <http://www.motec.com/webinars/webinararchive/>sm-forum <http://www.motec.com.au/forum/>
>
> /Disclaimer Notice:
> //T//his message, including any attachments, contains confidential information intended for a
> specific individual and purpose and is protected by law. If you are not the intended recipient you
> should delete this message. Any disclosure, copying, or distribution of this message or the taking
> of any action based on it is strictly prohibited./
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20190207/a27643b3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffnoalabooclofol.png
Type: image/png
Size: 4405 bytes
Desc: not available
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20190207/a27643b3/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdgogejkjmoajgdi.png
Type: image/png
Size: 1783 bytes
Desc: not available
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20190207/a27643b3/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bocnmkphddklijkh.png
Type: image/png
Size: 1728 bytes
Desc: not available
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20190207/a27643b3/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nhjpmlcmofjhbbfc.png
Type: image/png
Size: 1376 bytes
Desc: not available
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20190207/a27643b3/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmfbikncdpoakhbb.png
Type: image/png
Size: 1428 bytes
Desc: not available
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20190207/a27643b3/attachment-0004.png>


More information about the amavis-users mailing list