[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Need procmail recepie for >100k attachments.
- From: Cameron Simpson <cs zip com au>
- To: redhat-list redhat com
- Subject: Re: Need procmail recepie for >100k attachments.
- Date: Sat Mar 1 05:06:50 2003
On 19:39 28 Feb 2003, Daevid Vincent <daevid daevid com> 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 cs zip com au 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.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]