[rt-users] Bounces when sending emails directly via SMTP

LarsE nabble at evildoer.de
Wed Mar 14 12:42:54 EDT 2007


Hi,

our RT servers uses an external mail server for outgoing email messages,
i.e., it
directly speaks SMTP instead of calling a local sendmail/MTA. 

Configuration is as follows (hostnames/addresses slightly obfuscated):

  Set($MailCommand , 'smtp');
  Set($SMTPServer, 'mail.example.com');
  Set($SMTPFrom, undef);
  Set($SMTPDebug, 0);
  Set($SendmailPath , 'undef');
  Set($SendmailArguments , 'undef');

Emails to a single recipient work fine, but messages to CCs or AdminCCs
result
in a bounce message, because RT uses a wrong address in the SMTP "RCPT TO"
command. In the case of AdminCCs it's emtpy, i.e,. "<>", and in the case of
the
CCs it's something like "<user1 at example.com, user2 at example.com,
user3 at example.com>".
Of course, emails with such a RCPT TO line get rejected by the SMTP server,
and
result in bounced messages.

When I configure a Scrip that sends messages to a requestor *and* CCs or
AdminCCs
it only sends the email to the requestor but ignores the CCs or BCCs. In the
case of
AdminCCs, the message delivered to the requestor actually contains a "Bcc:"
header
listing the actual email address.

So anything but a single recipient in an email message does not work when
using direct SMTP.

Using a local MTA, i.e., sendmail/mailpipe may solve this issue, but that is
not an
option for us.

Our RT version is 3.4.1 (Debian package). Does anyone know for sure if
upgrading
to 3.6 would solve this issue?

Any help would be appreciated.

ciao...
Lars

-- 
View this message in context: http://www.nabble.com/Bounces-when-sending-emails-directly-via-SMTP-tf3403301.html#a9478428
Sent from the Request Tracker - User mailing list archive at Nabble.com.




More information about the rt-users mailing list