Mail from RT

Hi,
I have my RT’s web interface working well. But the mail interface
doesn’t seem to work. I tested the sendmail on the Unix box and it works
fine. I have my scrips as

OnCreate AutoreplyToRequestors with template Autoreply
OnCreate NotifyAdminCcs with template Transaction
OnCorrespond NotifyAllWatchers with template Correspondence
OnComment NotifyAdminCcsAsComment with template AdminComment
OnComment NotifyOtherRecipientsAsComment with template Correspondence
OnCorrespond NotifyOtherRecipients with template Correspondence
OnResolve NotifyRequestorsAndCcs with template Resolved

Is there anything I missed? I have my variables in config.pm as
$MailCommand = ‘sendmail’;
$SendmailArguments=“-oi”;
$SendmailPath = “/usr/lib”;

TIA,

V S R A, Prasad (Prasad) wrote:

Is there anything I missed? I have my variables in config.pm as
$MailCommand = ‘sendmail’;
$SendmailArguments=“-oi”;
$SendmailPath = “/usr/lib”;

$SendmailPath should probably be “/usr/lib/sendmail”. If that fails, try

$MailCommand = ‘sendmailpipe’;
$SendmailArguments="-oi -t’;

Hi,
I have my RT’s web interface working well. But the mail interface
doesn’t seem to work. I tested the sendmail on the Unix box and it works
fine. I have my scrips as

OnCreate AutoreplyToRequestors with template Autoreply
OnCreate NotifyAdminCcs with template Transaction
OnCorrespond NotifyAllWatchers with template Correspondence
OnComment NotifyAdminCcsAsComment with template AdminComment
OnComment NotifyOtherRecipientsAsComment with template Correspondence
OnCorrespond NotifyOtherRecipients with template Correspondence
OnResolve NotifyRequestorsAndCcs with template Resolved

Is there anything I missed? I have my variables in config.pm as
$MailCommand = ‘sendmail’;
$SendmailArguments=“-oi”;
$SendmailPath = “/usr/lib”;

TIA,

Best Regards,
Prasad V.S.R.A.

This is what I get in my error_log_rt of specified in httpd.conf

syntax error at (eval 140) line 1, near “require Mail::Mailer::/usr/”
syntax error at (eval 143) line 1, near “require Mail::Mailer::/usr/”
syntax error at (eval 90) line 1, near “require Mail::Mailer::/usr/”
syntax error at (eval 104) line 1, near “require Mail::Mailer::/usr/”
syntax error at (eval 99) line 1, near “require Mail::Mailer::/usr/”
syntax error at (eval 105) line 1, near “require Mail::Mailer::/usr/”
syntax error at (eval 108) line 1, near “require Mail::Mailer::/usr/”
syntax error at (eval 103) line 1, near “require Mail::Mailer::/usr/”
syntax error at (eval 117) line 1, near “require Mail::Mailer::/usr/”
syntax error at (eval 158) line 1, near “require Mail::Mailer::/usr/”
syntax error at (eval 143) line 1, near “require Mail::Mailer::/usr/”
syntax error at (eval 149) line 1, near “require Mail::Mailer::/usr/”
syntax error at (eval 152) line 1, near “require Mail::Mailer::/usr/”

But I couldn’t find where and how to fix this. Thanks for your ideas?

regards

V S R A, Prasad (Prasad) wrote:

Is there anything I missed? I have my variables in config.pm as
$MailCommand = ‘sendmail’;
$SendmailArguments=“-oi”;
$SendmailPath = “/usr/lib”;

$SendmailPath should probably be “/usr/lib/sendmail”. If that fails, try

$MailCommand = ‘sendmailpipe’;
$SendmailArguments="-oi -t’;

But I dont find the command ‘sendmailpipe’ in my system.

regards

“V S R A, Prasad (Prasad)” wrote:

-----Original Message-----
From: Phil Homewood [mailto:pdh@snapgear.com]
Sent: Thursday, May 02, 2002 11:42 AM
To: rt-users@lists.fsck.com
Subject: Re: [rt-users] Mail from RT

V S R A, Prasad (Prasad) wrote:

Is there anything I missed? I have my variables in config.pm as
$MailCommand = ‘sendmail’;
$SendmailArguments=“-oi”;
$SendmailPath = “/usr/lib”;

$SendmailPath should probably be “/usr/lib/sendmail”. If that fails, try

$MailCommand = ‘sendmailpipe’;
$SendmailArguments="-oi -t’;

But I dont find the command ‘sendmailpipe’ in my system.

‘sendmailpipe’ is not a program name, but a possible value of the $MailCommand
variable. Ahh, the wonders of perl (-: .

$MailCommand does not specify what programm to use, but how to use it. The
program used is specified by $SendmailPath. This is why You have to specify
$SendmailPath including the binary called.

Regards,
Harald

Harald WagenerAn der Alster 4220099 Hamburg*http://www.fcb-wilkens.com