On 19:39 28 Feb 2003, Daevid Vincent <[EMAIL PROTECTED]> wrote: | Anyone have a procmail recepie for those idiots who insist on sending large | file attachments?
I use fetchmail's -l option to avoid such messages (fetching them from elsewhere). Inside your procmailrc you can also check the size, thus: # catch the remaining small stuff and redeliver :0 * < 65536 { .... do stuff with messages under 64k .... } | Ideally I'd like it to reply to them a message, and then remove the | attachment and only save the message, or else just delete the whole thing. | Sometime people (like my sister!) send me 1MB .mov files that just jam up my | mailbox and kill my bandwidth. By the time it reaches your procmailrc you've already fetched the whole message. You need something else. If you're using POP you can only measure the size and fetch or delete the message - you can't inspect just the headers with that protocol (which is annoying). You can do much with IMAP though, I gather. Dig around on freshmeat for mail filtering stuff and see what there is. Cheers, -- Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/ Me> This is the second multipart/alternative message I've got today, Me> both using application/ms-tnef for the second encoding. WTF makes Me> these messages? Daniel> Bloody Microsoft Exchange. If you tell it to send messages in rich text Daniel> format, it attaches all its formatting crap as TNEF. It can have fonts Daniel> and colours and OLE attachments and God knows what else. But, sometimes, Daniel> even when you most definitely have turned RTF sending OFF for ALL Daniel> recipients, the freaking thing still sends the bloody attachments. Daniel> Thanks, Bill. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list