procmail
[Top] [All Lists]

Re: Catching empty sender address

2002-02-13 10:50:41
In the previous episode (13.02.2002, 08:10:37), Bart Schaefer
<schaefer(_at_)zanshin(_dot_)com> said:


Feb 13 12:22:21 mail postfix/local[21235]: 9F20755A4D:
to=<censored(_at_)blinde-kuh(_dot_)de>, relay=local, delay=0, status=sent
("|IFS=' '
&& exec /usr/bin/procmail -a $SENDER -a $RECIPIENT || exit 75
#censored")

This is only a guess, but I suspect that $SENDER is empty so procmail is
being invoked as

      procmail -a -a censored(_at_)blinde-kuh(_dot_)de

which means it sets $1 to "-a" and then tries to read an rc-file named
"censored(_at_)blinde-kuh(_dot_)de" (which of course it doesn't find), 
instead of
reading your .procmailrc.

great, Watson, thanks!

changing the .forward to
"|IFS=' ' && exec /usr/bin/procmail -a \"$SENDER\" -a $RECIPIENT || exit
75 #$LOGNAME"

fixed the problem.

regards,
wolfgang

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