[Mimedefang] quarantine and notify recipient
Jan Pieter Cornet
johnpc at xs4all.nl
Tue Jul 26 09:44:14 EDT 2005
On Tue, Jul 26, 2005 at 12:30:35PM +0200, Mark Coetser wrote:
> Hi Ppl
>
> I have been searching and reading but cant find anything that allows me to
> notify the recipient that there email has been quarantined, I have a filter
> for spam that dumps it into the quarantine directory but I need to notify
> the recipient that the email has been quarantined ?
You just need to send a separate email, using whatever interface you like.
Mail::Send should do it, or possibly Mail::Sendmail
But... are you really sure you want to do this? IMO it's better to give
users, if you want to give them an overview of blocked/quarantined spam,
do it daily or weekly... not for every mail.
If you do it for every quarantined mail, and it was spam, they STILL
get an email. If that wasn't spam, then they'll have to jump through
hoops to get it. So all you do is make some mails (false positives)
harder to read, you don't cut down on the amount of spam at all.
--
#!perl -wpl # mmfppfmpmmpp mmpffm <pmmppfmfpppppfmmmf at fpffmm4mmmpmfpmf.ppppmf>
$p=3-2*/[^\W\dmpf_]/i;s.[a-z]{$p}.vec($f=join('',$p-1?chr(sub{$_[0]*9+$_[1]*3+
$_[2]}->(map{/p|f/i+/f/i}split//,$&)+97):qw(m p f)[map{((ord$&)%32-1)/$_%3}(9,
3,1)]),5,1)='`'lt$&;$f.eig; # Jan-Pieter Cornet
More information about the MIMEDefang
mailing list