Home »
FUDforum »
How To »
Reject or remove mails with X-Spam-Flag headers
Reject or remove mails with X-Spam-Flag headers [message #41229] |
Thu, 05 June 2008 10:20 |
TrevorPH
Messages: 4 Registered: June 2008
Karma:
|
Junior Member |
|
|
I have recently implemented FUDForum to create a searchable archive of my company's support mailing list so that our support people don't have to reinvent the wheel all the time. It works very well except that it's not using our anti-spam measures. We take mail in using exim, pass it through spamassassin and clamav then, generally, pass it onto cyrus-imapd where a sieve script examines the mails and takes action based on the X-Spam-Flag and/or the X-Spam-Level headers in the mails.
I have this hooked up to exim via the pipe facility so /etc/aliases points to a list of users to get the mails and one of the users is "|/path/to/fudforum/maillist.php 1". Works very well but bypasses the final step in our spam elimination process - never hits cyrus-imapd so never goes through the sieve script. I've had a search around to see if maillist.php can pipe mails into /dev/null if certain headers are present and I cannot find a way to do this? Is it possible? Ideally all I want to do is, if "X-Spam-Flag: YES" then just pipe the mail into the bit bucket with absolutely no notification that it has happened.
I think this would be a really valuable addition to the software. Any chance it might get implemented?
|
|
|
Goto Forum:
Current Time: Sun Nov 10 14:10:36 GMT 2024
Total time taken to generate the page: 0.05131 seconds