[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Procmail forward to cell phone
- Subject: [ale] Procmail forward to cell phone
- From: ALE at MaestroIT.com (Alan Dobkin)
- Date: Mon, 07 Aug 2006 16:02:13 -0400
- In-reply-to: <[email protected]>
- References: <[email protected]>
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