[ale] Procmail forward to cell phone
Christopher Fowler
cfowler at outpostsentinel.com
Mon Aug 7 20:15:18 EDT 2006
Thanks.
There is a bigger problem than that. My cell phone limits the number of
characters in an email and will truncate all emails. I may need to
write a perl program that will somehow get only the meaningful bits out.
One way is to strip out every line that begins with '>'. That removes
all the Re text. Another problem is that these sales reps are _bad_
about sending html mail. HTML mail could alos cause issues on the
phone. The nbest bet is to write a program to do the following
1. Strip all headers
2. HTML -> Text
3. Remove all '>' and blank lines.
On Mon, 2006-08-07 at 16:02 -0400, Alan Dobkin wrote:
> This is easy to do in procmail (without perl):
>
> :0
> * ^From.*XXXXX at outpostsentinel.com
> {
> :0 c
> ! cellphone at provider.com
>
> :0
> Mail/Sales
> }
>
> For other examples, see man procmailex.
>
> Alan
>
> Christopher Fowler wrote:
> > Here is my current rule that forwards email from a sales rep to
> > Mail/Sales
> > -------------------------------------------
> > :0
> > * ^From.*XXXXX at outpostsentinel.com
> > Mail/Sales
> > -------------------------------------------
> >
> > I want to modify this rule to do 2 things
> >
> > 1. Put the mail in Mail/Sales
> > 2. Forward the mail to my cell phone.
> >
> > I guess I'll end up with a copy in the Sales folder and in my
> > cell phone. I can easily write a perl script that can do this for me but
> > surely there is a way that this email could automatically be forwarded
> > to me on my cell that is equivalent to sendmail forwarding via
> > ~/.forward method.
> >
> > Thx,
> > Chris
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list