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 "<[EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED]>".
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.

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to