solution for mail filters
Raul A. Gallegos
raul at asmodean.net
Mon Apr 27 11:13:51 EDT 2009
You can have procmail do the sorting and tossing for you so that
fetchmail does it's job, and passes it to your mta. Then the mta uses
procmail to put things where they need to go.
I used to do this a couple of years back and had mail going in the right
places and it worked beautifully with mutt as my mail reader. However
I'm no longer using this, but there may be archives from me and a few
others archived in this list which give the answers and maybe some examples.
Good luck.
Tyler Littlefield wrote the following on 4/27/2009 11:04 AM:
> Hello list,
> I figured out my issue with fetchmail; it was erroring because courier was using maildir, while exim was using /var/mail. Fixing the two to match solved the problems.
> I've currently got a script that looks something like:
> wihle true;do
> fetchmail
> sleep 60
> done
> which runs in nohup ./fetch &
> Is there a cleaner way to run this? I'd like to see it run when the system starts, though I don't want to retrieve mail as root.
> Also, I want to filter out certain people from mailing me. Or run filters on the mail like running it through spamassassin and clamav before it hits my box. Is this easy to do with fetchmail?
> I don't know how these work, so I'm not totally sure how i'd go about doing that.
>
>
> Thanks,
--
Raul A. Gallegos -- http://www.asmodean.net
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4036 (20090427) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
More information about the Speakup
mailing list