procmail
[Top] [All Lists]

Re: SMS forward, limiting characters

2004-03-07 07:41:19
On Sun, 7 Mar 2004, Timothy J. Luoma wrote:

TJL>
TJL> Summary: My SMS provider is not honoring Errors-To and is bouncing

TJL> :0c
TJL> <conditions for sms forwarding here>
TJL> {
TJL>    :0fhw
TJL>    |formail -I"Precedence: junk" -I"Errors-To: luomat(_at_)peak(_dot_)org"
TJL>
TJL>    :0
TJL>    * ^^From \/[^ ]+
TJL>    ! -f "$MATCH" $CELLSMS
TJL> }
TJL>

TJL> 3) Is there a way to preserve the From: without the ^^From hack above
TJL> (perhaps something which would be enough to prevent bounces from going to
TJL> the original sender?)


There is a difference between "from" and "from:"  You use the former and
ask about the latter.

How about setting the "from:" with the formail recipe (but it should be
there already) and then do not use sendmail's -f argument (or use -f
luomat(_at_)peak(_dot_)org).


-- 
Alan


( Please do not email me AS WELL as replying to the list.  Please
  address personal email to alan+1@ as lists@ is not read. A
  password autoresponder may be invoked if this email is very old. )


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>