I've added this patch to dbmail 1.2.x branch, so it will be in the next release of the 1.2 branch

I'll also put this in the 2.0 branch shortly (I consider this a bugfix and not a new feature, so no problem putting it in the 2.0 branch)

Ilja

Feargal Reilly wrote:

Hi,
I've another tarball attached containing two patches for pipe.c and bounce.c 
which fix a problem where sendmail (TM) fails to send certain messages.

In a number of cases - bounces, notifications etc., dbmail generates a new email with headers, and passes the message to sendmail. However, it doesn't specify the recipient on the command line, nor does it use the -t option to force sendmail to get recipients from the message headers. This results in the mail not being sent.

Note that this doesn't affect sendmail wrappers used by some other MTAs such as 
exim and postfix, as they will parse the message for recipients if it isn't 
specified on the command line (AFAIK, correct me if I'm wrong).

The patch makes sure sendmail is called with the recipient specified on the 
command line.

I submitted this last November, but it doesn't appear to have made it into CVS. 
http://twister.fastxs.net/pipermail/dbmail-dev/2003-November/000369.html

-Feargal.

--
Feargal Reilly,
Codeshifter,
Chrysalink Systems.

--
IC&S
Stadhouderslaan 57
3583 JD Utrecht

PGP-key:
http://www.ic-s.nl/keys/ilja.txt

Reply via email to