procmail
[Top] [All Lists]

Re: Formail /"mail" will not send mail out

2008-10-13 11:54:19
At 02:13 2008-10-11 +0200, Michelle Konzack wrote:

:0
* ^Subject:(.*\<)\/[^ ].*
{
  SUB=$MATCH
  DUMMY_EXEC=`mail -s "${SUB:1:160}" number(_at_)t-mobile-sms(_dot_)de`
}

Note:  ${SUB:1:160} mean takte the SUBject, begin
       from 1st character and count only 160 Bytes.

It should be noted that this is a shell-specific syntax, and has nothing to do with procmail syntax. I'm pointing this out because SOMEONE will surely follow up with a post trying to use this syntax to accomplish something within procmail...

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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