[rt-users] RT sends double e-mails

Rich Lafferty rich+rt at lafferty.ca
Wed May 29 11:59:41 EDT 2002


On Wed, May 29, 2002 at 10:55:43AM -0400, Vivek Khera (khera at kcilink.com) wrote:
> 
> No. $MailCommand sets the type of mailer used by Mail::Mailer, not the
> program name.  The special case is sendmailpipe which causes RT to use
> the sendmail program directly, rather than via the Mail::Mailer
> module.

(Yep.)

>  That is, sendmialpipe and sendmail *should* be identical in
> functionality.

Only if you explicitly make it so. Mail::Mailer qw(sendmail) will try
/usr/lib/sendmail, then /usr/sbin/sendmail, then /usr/ucblib/sendmail
(help! flashbacks!), and will always call it with the "right"
arguments, for its own idea of "right" (which should be correct with
things that implement the sendmail API accurately.)

But the point of sendmailpipe is to let you specify the location of
the program to run and the arguments it is called with, so that you
don't *have* to use Mail::Mailer's guess. In other words,
sendmailpipe's purpose is to *not* be identical in functionality. :-)


  -Rich

-- 
Rich Lafferty --------------+-----------------------------------------------
 Ottawa, Ontario, Canada    |  Save the Pacific Northwest Tree Octopus!
 http://www.lafferty.ca/    |    http://zapatopi.net/treeoctopus.html
rich at lafferty.ca -----------+-----------------------------------------------




More information about the rt-users mailing list