Hi!
I have done this (mailscanner+spamassassin) a year before and sent it to
this list. Please check the archive.
There is something annoying with using these software with courier:
courier's filters doesnt allow to modify the body of the message.
I solved this with some modification of courier's source code, but I am
interested in how others solved this.
The sources are agains an older version of courier (0.37.1), but maybe You
can easy apply them.
There is a list reader, who regularly asks me to make the patches up to
date, but I simply dont have time yet, sorry.
Dobos Sandor
IBCnet Hungary Ltd.
[EMAIL PROTECTED]
Sent by: To:
[EMAIL PROTECTED]
[EMAIL PROTECTED] cc:
eforge.net Subject: Re:
[courier-users] Mailscanner and Courier
2003.02.16 14:58
Quoting Patrick O'Reilly <[EMAIL PROTECTED]>:
| ----- Original Message -----
| From: "John Rudd" <[EMAIL PROTECTED]>
| >
| > Does anyone have other thoughts or ideas on how to make mailscanner
| and
| > courier work together? The other solution would be to keep sendmail
| > and mailscanner on our SMTP servers, and only run courier on our
| > POP/IMAP servers. But, I was hoping to use courier, both as SMTP and
| > POP/IMAP on all of the machines. (right now, we have 2 SMTP servers
| > doing mailscanner and 1 POP server that only accepts messages from the
| > SMTP servers ... but I'd rather have more distributed processing with
| > SMTP and POP/IMAP on all 3 machines using courier's ability to work
| > well with NFS as a means of distributing the load across all 3
| > machines).
|
| John,
|
| Mailscanner sounds conceptually similar to inflex. One MTA process
| grabs the mail and delivers it to the scanning engine, and if all is
| well a separate process is fired up to deliver the email onward.
|
| Courier's Filters are in-line, and they make the entire email mime
| bundle available to the filter script.
|
| I use Courier's perlfilter. And, since the filtering happens as part of
| the MTA receiving function of Courier, if you return an error code from
| your filter script, it will reject messages directly, not bounce them
| later.
|
| I'm sure some folks on this list have claimed to have integrated things
| like spamassasin into the Courier Filter too.
|
| My own filter script is based on the sample perlfilter script supplied
| with courier. I do some simple pattern matching in the headers, check
| the file types based on both the name (*.exe for example) and the output
| for the 'file' command on each mime attachment, and I also pass the mail
| through and Anti-Virus engine (Sophos SAVI in my case). I have never
| had the chance to integrate spamassasin, but I'd like to do it one
| day...
|
| Courier can to the RBL lookups itself, so I don't bother trying to
| re-invent the wheel in the filter script.
|
| If you're interested, I will send a copy of my filter script to you. I
| make no great claims about it - it works for me and you are welcome to
| it if you wish.
|
| Patrick.
| Perimeter Networks
Patrick,
I would certainly appreciate a copy. I'm sure it would help me understand
courier filtering better. I, too, would like to integrate spamassasin.
Could someone share their spamassasin implementation with us? I've tried
a couple of times but without success.
Thanks,
ed
-------------------------------------------------
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users