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

RE: Deleting mail without downloading



On 14-Sep-2001 csj wrote:
> None of the mail programs (all X-based BTW) I use appear capable of
> deleting an email from a pop server without downloading it first. So I'm
> curious: Is there a mail program (MTA, MUA, etc.) that can delete
> (filtering, say, on size or spammer) an email from a pop server without
> wasting precious bandwidth?
> 

pop3 is trivial.  I have written several python and other languages scripts to
do things similar to this.  Hell you can even telnet to the pop3 port and do it
by hand.  Read the pop3 RFC it is quite well written.

The commands you want are: dele (obviously), list, top (pass it a 0 and it
returns just the header), and maybe stat.

X based mailers and programs in general tend to shy away from this kind of
thing.



Reply to: