On Thu, Sep 13, 2001 at 06:20:18PM +0100, P Kirk wrote:
> On Thu, Sep 13, 2001 at 01:03:45PM +0100, Matthew Byng-Maddick wrote:
> >http://colondot.net/mbm/mailfilter.shtml
> I really like the scoring filter. Its in and working. Thanks for that.
:-) The reason it's on the web is because I thought I could help people do
new and evil things with the state mechanisms.
> My final condition is as follows - please let me know if this will work:
> # Final catchall
> if
> $h_to:,$h_cc:,$h_from: contains "*"
> then save $home/mail/suspects
> logfile $home/mail/logs/spam.log 0644
> logwrite "[$tod_log] ${lc:$sender_address} ${lc:$h_Subject:}: Spam suspect"
> endif
why not just have:
| save $home/mail/suspects
| logfile $home/mail/logs/spam.log 0644
| logwrite "[$tod_log] ${lc:$sender_address} ${lc:$h_Subject}: Spam suspect"
at the end, and have a finish anywhere else you do a significant delivery ?
(in roughly the same way as the mailfilter on my site does...)
MBM
--
Matthew Byng-Maddick <mbm@???> http://colondot.net/