Quarantine ?

Karen Mkoyan karen at PROJECTHARMONY.AM
Tue Jan 25 14:40:15 GMT 2005


    [ The following text is in the "koi8-r" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Thank you Nick, but is there another way?

 

-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf
Of Nick Meverden
Sent: 25 ÑÎ×ÁÒÑ 2005 Ç. 17:46
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Quarantine ?

> Dear all,
> I have a redhat server running spamassassin version integrated with
> MailScanner.
> I forward all {Spam} mails to an e-mail address called spam at localhost. Now
> in case a user lost a mail, I want to give them a possibility
> to check wheter their mail is in spam mails. How could I organize that?
> something like, user should login somewhere with his mail login and pass,
> and see spam mails (only the ones which addressed to him/her).

write a custom function in perl to handle quarantine.  Place it in the
CustomFunctions dir.  There is already an example custom function in that
dir.  On my setup (FreeBSD) it was
/usr/local/lib/MailScanner/MailScanner/CustomFunctions/ yours maybe
different. Then replace "Spam Actions = store" with "Spam Actions =
&yourcustomfunction" in your MailScanner.conf.  If you plain on having
more than one spam action after the quarantine have your custom function
return what the rest of the line is after &yourcustomfunction.

  - Nick

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list