procmail
[Top] [All Lists]

Re: Why is this not getting the userid

2007-12-07 07:11:10
Am 2007-12-01 19:40:47, schrieb Robert Moskowitz:
And what if the sender did something like "fax to ext 222" 
<222(_at_)fax(_dot_)debug(_dot_)domain(_dot_)com>

How do I get just the part between < and @?  Perhaps the recipes you 
mention further down.

:0
{
  FROM=`formail -rt |formail -czx To: |cut -d '@' -f1`
  :0
  |/usr/bin/faxmail -d "fax(_at_)${FROM}"
}


Thanks, Greetings and nice Day
    Michelle Konzack
    Tamay Dogan Network
    Open Hardware Developer
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

____________________________________________________________
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>