On 12.06.2014 13:19, Wietse Venema wrote: > If you use mail software that mis-handles addresses such as > "#16155...@gmx.net" then you need to use better mail software.
The point is, that I'm passing the mail from Postfix with the command /usr/bin/procmail -m E_SENDER=${sender} E_RECIPIENT=${recipient} /etc/procmailrc to procmail. After processing with procmail I'm injecting the mail back to Postfix with the command | /usr/sbin/sendmail -i -f $E_SENDER $E_RECIPIENT The problem now is, that if the variable "E_SENDER" is empty or contains "#", Procmail passes an empty variable to Sendmail which causes Sendmail to fail. Is it the correct way at all to pass the envelope sender address that I got from Postfix back to Sendmail after processing with Procmail, or should I rather do something different? Thanks, Michael