[rt-users] $RT::MailCommmand = smtp

Rafael Corvalan Rafael.Corvalan at linkvest.com
Tue Aug 7 15:04:47 EDT 2001


You're absolutely right. On the other hand, using sendmail causes the
"MAIL FROM" command sent at the beginning of the SMTP connection beeing
sent as:

MAIL FROM: <nobody at myhost.mydomain.com>

if sendmail is not configured otherwise. This should be OK since this is
just the "reverse-path" and should be used only to report
non-deliveries.
The major problem is that some domain (I know some...) rejects such
messages since myhost.mydomain.com does not resolve on the DNS (myhost
is into the company network, and not on the DMZ neither the internet).

To correct that problem, I have 2 possibilities:

1) Create an alias on the DNS so "myhost.mydomain.com" have a dummy IP
address
2) Change the sendmail configuration so the FROM: is another adress
(like postmaster at mydomain.com).

But as you well suggested, it's better to do one of these things instead
of using the smtp method....

Rafael

-----Original Message-----
From: Jesse [mailto:jesse at fsck.com] 
Sent: mardi, 7. août 2001 20:57
To: Rafael Corvalan
Cc: rt-users at lists.fsck.com
Subject: Re: [rt-users] $RT::MailCommmand = smtp


Long long long ago I tested it. and it worked. but a lot has changed
since then and I don't know of anyone using it in production.  One thing
that worries me about using the 'smtp' transport is that it doesn't
really have any sort of graceful way of queueing messages if the
server's off line. So there's a greater chance of losing mail.

        -j


On Wed, Aug 08, 2001 at 12:49:30AM +0800, Rafael Corvalan wrote:
> Hello people,
> Has someone tested the $RT::MailCommand = 'smtp'?
> In fact, if the MailCommand is not sendmail, the $RT::MailParams is 
> passed as the 2nd argument to Mail::Mailer::new(), but the this method

> requires an array, not a scalar. I didn't went in depth in 
> Mail::Mailer, so maybe somewhere there is a check and the scalar is 
> derefernced to get an array. Has someone tried to used the "smtp"
method for MailCommand? Thanks Rafael
> -- 
> 
> _______________________________________________
> FREE Personalized E-mail at Mail.com
> http://www.mail.com/?sr=signup 
> 
> Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free!
> http://www.net2phone.com/cgi-bin/link.cgi?143 
> 
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com 
> http://lists.fsck.com/mailman/listinfo/rt-users
> 

-- 
jesse reed vincent -- root at eruditorum.org -- jesse at fsck.com 
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

Computer games don't affect kids; I mean if Pac-Man affected us as  
kids, we'd all be running around in darkened rooms, munching magic  
pills and listening to repetitive electronic music.
%                 
IP networks were intended to survive nuclear attack, but 12 year old 
kids with PCs were not part of the threat model.   -- mycroft




More information about the rt-users mailing list