Outgoing mail from RT failing

Hi, I have RT 2.0.13 running on a system with Qmail. Everything works
great incoming, but all outgoing e-mail fails. I get the following error
message:

Apr 9 19:54:50 galia qmail: 1018374890.992640 delivery 2650: success:
sendmail:illegal_option–_t/RT::Action::Autoreply=HASH(0x881db90):_Could_not_send_mail_for_RT::Transaction=HASH(0x87dbf48)/did_0+0+1/

From config.pm:
$MailCommand = ‘sendmail’;
$SendmailArguments="-oi";
$SendmailPath = “/usr/sbin/sendmail”;
$UseFriendlyToLine = 0;

Any ideas?

  • Andreas-Johann Ulvestad aj@nlc.no [2002-04-09 14:02]:

Hi, I have RT 2.0.13 running on a system with Qmail. Everything works
great incoming, but all outgoing e-mail fails. I get the following error
message:

Apr 9 19:54:50 galia qmail: 1018374890.992640 delivery 2650: success:
sendmail:illegal_option–_t/RT::Action::Autoreply=HASH(0x881db90):_Could_not_send_mail_for_RT::Transaction=HASH(0x87dbf48)/did_0+0+1/

From config.pm:
$MailCommand = ‘sendmail’;
$SendmailArguments="-oi";
$SendmailPath = “/usr/sbin/sendmail”;
$UseFriendlyToLine = 0;

Have you tried setting $SendmailPath to “/var/qmail/bin/qmail-inject”?

(darren)

People who sacrifice beauty for efficiency get what they deserve.
– Tom Robbins

Have you tried setting $SendmailPath to “/var/qmail/bin/qmail-inject”?

Hi, to test, I changed the SendmailPath to $SendmailPath =
"/var/qmail/bin/qmail-inject";

But still, this error message:

sendmail: illegal option – t
RT::Action::Notify=HASH(0x91b38c8): Could not send mail for
RT::Transaction=HASH(0x924084c)

  • Andreas-Johann Ulvestad aj@nlc.no [2002-04-09 16:01]:

Have you tried setting $SendmailPath to “/var/qmail/bin/qmail-inject”?

Hi, to test, I changed the SendmailPath to $SendmailPath =
"/var/qmail/bin/qmail-inject";

But still, this error message:

sendmail: illegal option – t
RT::Action::Notify=HASH(0x91b38c8): Could not send mail for
RT::Transaction=HASH(0x924084c)

Try setting $SendmailArguments to “”.

(darren)

(1) Everything depends.
(2) Nothing is always.
(3) Everything is sometimes.

Hi, to test, I changed the SendmailPath to $SendmailPath =
"/var/qmail/bin/qmail-inject";

But still, this error message:

sendmail: illegal option – t
RT::Action::Notify=HASH(0x91b38c8): Could not send mail for
RT::Transaction=HASH(0x924084c)

Try setting $SendmailArguments to “”.

$MailCommand = ‘sendmail’;
$SendmailArguments="";
$SendmailPath = “/var/qmail/bin/qmail-inject”;
$UseFriendlyToLine = 0;

Still, the same error message:

sendmail: illegal option – t
RT::Action::Notify=HASH(0x9123a18): Could not send mail for
RT::Transaction=HASH(0x90a7cc8)
sendmail: illegal option – t
RT::Action::Notify=HASH(0x91bb9f4): Could not send mail for
RT::Transaction=HASH(0x90a7cc8)

Hi Darren,

Try setting $SendmailArguments to “”.

No. Just do what the config file doc tells you:

If ‘sendmail’ doesn’t work well for you, try ‘sendmailpipe’

But note that you have to configure $SendmailPath and add a -t

to $SendmailArguments

Jonas

signature.asc (232 Bytes)

  • Andreas-Johann Ulvestad aj@nlc.no [2002-04-09 14:02]:

Hi, I have RT 2.0.13 running on a system with Qmail. Everything works
great incoming, but all outgoing e-mail fails. I get the following error
message:

Apr 9 19:54:50 galia qmail: 1018374890.992640 delivery 2650: success:
sendmail:illegal_option–_t/RT::Action::Autoreply=HASH(0x881db90):_Could_not_send_mail_for_RT::Transaction=HASH(0x87dbf48)/did_0+0+1/

From config.pm:
$MailCommand = ‘sendmail’;
$SendmailArguments="-oi";
$SendmailPath = “/usr/sbin/sendmail”;
$UseFriendlyToLine = 0;

Have you tried setting $SendmailPath to “/var/qmail/bin/qmail-inject”?

Yes, and still no work. Any other ideas to make this work?