procmail
[Top] [All Lists]

Re: possibly useful for vonage users

2006-04-20 03:53:20
On 19 Apr 2006, at 22:50 , Gerald V. Livingston II wrote:

     :0c
     |(echo "Subject: Voicemail";\
     echo $VMDATE;\
     echo $VMFROM;\
     )|/usr/sbin/sendmail -oi 
AAAXXXNNNN(_at_)messaging(_dot_)sprintpcs(_dot_)com
   }

I put this in:
    :0c
    |(echo "Subject: $PHONE VM $DATE"; echo;)|/usr/sbin/sendmail -io - 
t 123465789(_at_)tmomail(_dot_)net

and I get this:

procmail: Executing "(echo "Subject: $PHONE VM $DATE"; echo;)|/usr/ 
sbin/sendmail -io -t 123465789(_at_)tmomail(_dot_)net"
procmail: Error while writing to "(echo "Subject: $PHONE VM $DATE";  
echo;)|/usr/sbin/sendmail -io -t 123465789(_at_)tmomail(_dot_)net"
procmail: Assigning "LASTFOLDER=(echo "Subject: $PHONE VM $DATE";  
echo;)|/usr/sbin/sendmail -io -t 123465789(_at_)tmomail(_dot_)net"

However, I ALSO get the sms message delivered to my phone.

(the second echo is evidently required on my sendmail replacement to  
include the balnk line separating the headers)

-- 
I mistoke thee for thy better
   Hamlet Act III scene 4



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