Re: [Exim] sendmail's and exim's interpretation of -t switch

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Andreas J. Koenig
Dátum:  
Címzett: Philip Hazel
CC: k, exim-users, Graham Barr
Tárgy: Re: [Exim] sendmail's and exim's interpretation of -t switch
>>>>> On Thu, 15 Jul 1999 11:35:52 +0100 (BST), Philip Hazel <ph10@???> said:

> On 15 Jul 1999 k@??? wrote:
>> Also, FYI, the well established perl module for sending mail, Graham
>> Barr's Mail::Mailer breaks when exim is playing sendmail's role.


> Please could you give more details of this so that I can see if I can
> fix Exim? Is is using some Sendmail option that Exim doesn't understand?


This paragraph was exactly related to the rest of the message. So,
Mail::Mailer::sendmail expects that the '-t' switch behaves as
described in Eric Allman's sendmail book, that is, addresses on the
command line are gathered and not discarded.

A fix for Mail::Mailer::sendmail would probably be this pseudopatch,
but maybe this breaks other sendmail implementations.

**** line 13 of Mail/Mailer/sendmail.pm
-    exec(( $exe, '-t', @$args, @$to ));
+    exec(( $exe, '-t', @$args ));




--
andreas