[ale] Procmail forward to cell phone

Alan Dobkin ALE at MaestroIT.com
Mon Aug 7 16:02:13 EDT 2006


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



More information about the Ale mailing list