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:55:48 +0900
- From: Sven Simon <sven@example.com>
- Subject: Re: [tlug] .forward file
- References: <3FD9338A.3050005@example.com> <20031212032818.GA52737@example.com>
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007
bofh@example.com wrote: >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? > >Shawn > >On Fri, Dec 12, 2003 at 12:18:34PM +0900, Sven Simon wrote: > > >>I'm using the .forward file in my homedir to redirect incoming mails to my >>keitai. The problem is, if I get mails with attachements that exceed a >>certain >>size the mail bounces back to the sender. >> >>I, therefore, would like to strip off the attachment and forward only >>the text >>message to my mobile. I know we can pipe stuff to external commands from >>the .forward file, but how do I get rid of the attachments? >> >>Sven >> >> Thanks Shawn, I guess I'd have to do it in a shell script, I don't know much perl. Might prove a bit tricky, though. If I figure out how to get rid of the attachements via shell script, how to I get the mails back into the "stream". Meaning, how can I forward the mails to my mobile, so they still to appear as sent by the originator as opposed to coming from myself. If I do something at the end of my script like: echo 'mail text minus attachment' | mail me@example.com then it'll always show up as mails coming from me on my mobile. Sven Sven
- Follow-Ups:
- Re: [tlug] .forward file
- From: Brett Robson
- 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