Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] .forward file
- Date: Fri, 12 Dec 2003 12:59:24 +0900
- From: Brett Robson <b-robson@example.com>
- Subject: Re: [tlug] .forward file
- References: <3FD9338A.3050005@example.com> <20031212032818.GA52737@example.com>
> What I would do is analyze one of the messages by hand to determine > what in the message indicates an attachment, and then write a small > filter in perl to strip that part off. I'd then pipe to the perl script > from the .forward file. Of course this depends on your perl scripting > ability... Do you have any perl or shell scripting knowledge? > This is my suggestion as well. You need to be a bit careful because keitais aren't that smart and if you send a invalid msg you might have problems. If you are a at least some ability in scripting languages stripping off an attachment is not hard. Have a look the source of a mail message and you'll see what I mean. You have to remove the attachement and the reference to it in the header. If you want to conditionally strip depending on size you are adding a bit of complexity but it's not hard. Perl has extensive libraries for this sort of thing. But if you are doing something simple it's often easier just to do it yourself. Brett
- Follow-Ups:
- Re: [tlug] .forward file
- From: Anthony Cunningham
- References:
- [tlug] .forward file
- From: Sven Simon
- Re: [tlug] .forward file
- From: bofh
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] .forward file
- Next by Date: Re: [tlug] .forward file
- Previous by thread: Re: [tlug] .forward file
- Next by thread: Re: [tlug] .forward file
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links