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 13:23:12 +0900
- From: Brett Robson <b-robson@example.com>
- Subject: Re: [tlug] .forward file
- References: <20031212032818.GA52737@example.com> <3FD93C44.9030709@example.com>
> 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 > OK a very rough answer in shell is to use head and cut off at at certain point, eg 4,000 bytes. Not elegant but it's almost guarranteed that you will be cutting inside an image. Although you will only get part of the image nothing will break. Maybe. ... | head -c 4000 | ... -- Brett Robson Systems Administrator GOL http://www.gol.com Phone: 03-3239-6856 International: +81-3-3239-6856
- Follow-Ups:
- Re: [tlug] .forward file
- From: Jake Morrison
- References:
- Re: [tlug] .forward file
- From: bofh
- Re: [tlug] .forward file
- From: Sven Simon
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] .forward file
- Next by Date: Re: [tlug] [REMINDER] 2003 Bonenkai
- 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