Red Hat Bugzilla – Bug 15947
procmail delivery to an address (with '!') doesn't work in procmail 3.14!
Last modified: 2008-05-01 11:37:57 EDT
With procmail 3.14, to which Red Hat updated in 6.2, any delivery rule
which says to deliver to an E-mail address using the '!' action line will
fail to deliver the mail properly.
The problem is that the code sets the delivery command to
where "address" is the address to which to deliver. Since it doesn't put a
space between the $SENDMAILFLAGS variable reference and the address, the
whole thing, including the address, is interpreted as the variable name,
and of course that variable doesn't exist, so the expansion fails and
procmail delivers the message to "/usr/sbin/sendmail". Since sendmail
isn't given any recipients, it simply drops the message on the floor.
The fix is trivial. I will attach a patch.
Created attachment 2375 [details]
patch to put a space before addresses in address delivery
Fixed in procmail-3.14-5. Thanks for reporting.