Hi i want to fetchmail from a pop server and check every email to any rbl spamhaus,spamcop,etc and if match at any rbl the email will be deleted.
It's possible to do this?
Thanks
Nightduke
nightduke wrote:
Hi i want to fetchmail from a pop server and check every email to any rbl spamhaus,spamcop,etc and if match at any rbl the email will be deleted.
It's possible to do this?
Thanks
Nightduke
If you've got fetchmail configured to retrieve messages from a remote MTA and deliver to a local MTA, say your local Sendmail instance, then put the RBL-matching stuff in your Sendmail configuration. The mail will still be fetched but will be discarded by your local MTA before dumping it in you local mailbox.
In principle, it would be better to have the system you are fetching the mail from do the RBL operations, but if you don't have control over it then you really don't get much choice. I'm using this setup myself and it works, but it offends my aesthetic sense. OTOH, I'm easily offended!
Your mileage may vary.
on 8-2-2008 12:04 PM Jay Leafey spake the following:
nightduke wrote:
Hi i want to fetchmail from a pop server and check every email to any rbl spamhaus,spamcop,etc and if match at any rbl the email will be deleted.
It's possible to do this?
Thanks
Nightduke
If you've got fetchmail configured to retrieve messages from a remote MTA and deliver to a local MTA, say your local Sendmail instance, then put the RBL-matching stuff in your Sendmail configuration. The mail will still be fetched but will be discarded by your local MTA before dumping it in you local mailbox.
In principle, it would be better to have the system you are fetching the mail from do the RBL operations, but if you don't have control over it then you really don't get much choice. I'm using this setup myself and it works, but it offends my aesthetic sense. OTOH, I'm easily offended!
Your mileage may vary.
Just remember in this situation, you need to dump all bad stuff, and not bounce anything. Most of the bad stuff is forged and you will just end up on a blacklist.
On Sat, 2008-08-02 at 20:55 +0200, nightduke wrote:
Hi i want to fetchmail from a pop server and check every email to any rbl spamhaus,spamcop,etc and if match at any rbl the email will be deleted.
It's possible to do this?
---- sure...
fetchmail => smtp server
smtp server configured with MailScanner
MailScanner 'tags' e-mail
procmail or sieve identifies tags and deletes tagged e-mail (procmail or sieve choice determined by your choice of IMAP server - cyrus-imapd/sieve, dovecot/procmail, dovecot/sieve)
Craig
But i want to leave clean messages on the server
2008/8/2 Craig White craigwhite@azapple.com:
On Sat, 2008-08-02 at 20:55 +0200, nightduke wrote:
Hi i want to fetchmail from a pop server and check every email to any rbl spamhaus,spamcop,etc and if match at any rbl the email will be deleted.
It's possible to do this?
sure...
fetchmail => smtp server
smtp server configured with MailScanner
MailScanner 'tags' e-mail
procmail or sieve identifies tags and deletes tagged e-mail (procmail or sieve choice determined by your choice of IMAP server - cyrus-imapd/sieve, dovecot/procmail, dovecot/sieve)
Craig
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos