[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fetchmail questions



Alec,

I'm sure that procmail is great, but I'm getting by with a .forward file
in the exim format, which will get exim to do a lot of basic filtering. 
Here's a snip from mine, that does roughly what you want:

if not $h_x-yahoofilteredbulk matches "^\\$" then
	save $home/Mail/spam
	finish
endif

I've noticed that the style of this newsgroup is to not explain this
kind of code, but let me know if you have any questions about it. (And
anyone, please chime in if you have an improvement!)

Once I'm sure this is working properly, I'll probably change the 
'save...' line to just 'seen', which will cause the message to be 
cleared from the Yahoo POP server without being saved locally at all.

See /usr/doc/exim/filter.txt.gz for complete details on exim and
.forward.

-- 
Paul Mackinney       |   Who profited from Sept 11?
paul@mackinney.net   |   http://www.copvcia.com/



Reply to: