On Mon, 1 Sep 2003, Anne Wilson wrote: > I know I should be sorting out a mail server, but until I have enough > time I need short term solutions. > > In kmail I'd like a pop-filter to delete on server emails that contain > attachments containing .exe and the like. > > I can't find any way of filtering on attachments > > For that matter I can't find any way of filtering to delete. > > ATM all filtered junkmail goes to a special folder. However, some > types could be defined to immediately delete, if only I could find > the setting. I have tried using the blank line in the drop-down list > and defining my own criteria, but I think that is just ignored. Any > more suggestions? > > Anne
Hi Anne, Procmail should be able to do this nicely for you. Even if you're pulling your mail down from your ISP's mailserver. In order to employ procmail to filter, you'd simply using Fetchmail to bring the messages down. They'd then be deposited in /var/spool/mail/$USER. That should work nicely. While I don't know any procmail recipes off the top of my head the accomplish this I know Procmail will can can do it. -- Mark "If necessity is the mother of invention, then who's the father?" ----------------------------------------------------------- Paid for by Penguins against modern appliances(R) Linux User Since 1996 Powered by Mandrake Linux 8.2 & 9.1 ICQ# 27816299
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com