procmail
[Top] [All Lists]

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

2008-10-10 12:37:34
Hi Sean,

thanks a lot, it works now:

I have enabled the Shell in the global /etc/procmailrc file, and changed a little bit in the script.


MAILDIR=$HOME/Maildir/
DEFAULT=$MAILDIR
LOGFILE=$HOME/.procmail_log
VERBOSE=on

:0
* ^Subject:.*Anrufbeantworter*
* ^From.<specific sender>
{
       SUB=`formail -xSubject:`

       :0c
       | ( formail -r -A "Subject:.$SUB" | \
       echo "+4980xxxxxx" | \
       mail -s "PW $SUB" number(_at_)t-mobile-sms(_dot_)de )
}



Kind regards,

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