log spam
Marc Lucke
marc at marcsnet.com
Fri Jun 11 07:50:41 IST 2010
/etc/MailScanner/MailScanner.conf
Spam Actions = &logspam store forward <email address>
/usr/lib/MailScanner/MailScanner/CustomConfig.pm
sub Initlogspam {};
sub Endlogspam {};
sub logspam {
my($message) = @_;
MailScanner::Log::InfoLog("MailScanner: spam: ".$message->{clientip});
};
this doesn't work. Complains about @ If I put &logspam at the end, it
gets ignored.
I want to log the ip address of the person sending me spam, store the
message and then forward it to my spam box. Can I have my cake and eat
it to? If so, how?
Thanks in advance
Marc
More information about the MailScanner
mailing list