[EXIM] dnews error calling sendmail shows up with exim

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jeffrey Goldberg
Dátum:  
Címzett: dnews, exim-users
Tárgy: [EXIM] dnews error calling sendmail shows up with exim
dnews (an nntp server) has a mostly harmless error it how it calls
sendmail in its default configuration file.

However, the error shows up when exim is used as a replacement for
sendmail.

The dnews.conf file comes with the line

# Path to sendmail on your system. (or equivalent mailer)
sendmail /usr/lib/sendmail -t %s

The %s gets replaced with the recipient address, so conflicts with
the -t telling sendmail to get recipients from the headers in the
file.

simply correcting the dnews.conf to

# Path to sendmail on your system. (or equivalent mailer)
# sendmail /usr/lib/sendmail -t %s
sendmail /usr/lib/sendmail %s

seems to do the job perfectly.

With the incorrect setting the behavior was that the mail would
be sent with no recipients (usually), becuase when the -t is present,
exim treats command line arguments as addresses *not* to deliver to
(as stated very clearly in the exim documentation).

Presumably, sendmail's behavior in this case is undocumented (or should
be an error).

-j
--
Jeffrey Goldberg                +44 (0)1234 750 111 x 2826
 Cranfield Computer Centre      FAX         751 814
 J.Goldberg@???     http://WWW.Cranfield.ac.uk/public/cc/cc047/
Relativism is the triumph of authority over truth, convention over justice.



--
*** Exim information can be found at http://www.exim.org/ ***