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./ >
