Is procmail the answer to my filtering problem?
Hi guys,
I want to install software on my home SUSE box to download my mail from a mail server (let's say pop.mymail.com) so I point my local mail client to it locally. That's pretty straightfoward, I am just going to figure out a pop proxy or something similar (although tips on this would be appreciated). The non-straightforward part is I want to go through the incoming mail and filter it based on a bunch of criteria, with automatic replies if the mail matches the following criteria;
I do some security work and it's important for me to be able to set a standard on incoming email. I want someone who sends mail from hotguy4u@gmail.com (for example) to get a reply saying the server doesn't accept mail from personal webmail sites and it is solely accepts business mail. I want users who send mail from an antiquated mail server to get a response saying that my system cannot possibly accept mail from a server that is too old to be trusted and I want the auto respond for the Increadimail ad to say that the email was sent from a machine that has a non-business plugin installed that has not been determined to be safe. Is procmail the type of application I get this going in? It seems from what I've read to check the email AFTER it's delivered to the local mail client. Is there another way? How would you go about this? |
You could write a custom before queue filter for postfix if you wanted. http://www.postfix.org/SMTPD_PROXY_README.html
|
All times are GMT -5. The time now is 02:36 PM. |