Hi,
Just installed RT on my RedHat Linux 7.1 system with Postgres as my DB. I am
having problems with the sendmail setup. I just can’t get RT to do any email
notifications. Can anyone shed some light on how to debug this.
Thanks
Jim
Hi,
Just installed RT on my RedHat Linux 7.1 system with Postgres as my DB. I am
having problems with the sendmail setup. I just can’t get RT to do any email
notifications. Can anyone shed some light on how to debug this.
Thanks
Jim
|+ Just installed RT on my RedHat Linux 7.1 system with Postgres as my DB. I am
|+ having problems with the sendmail setup. I just can’t get RT to do any email
|+ notifications. Can anyone shed some light on how to debug this.
Without more information, have you setup your Scrips to send mail?
from the README:
9 Configure RT per the instructions at http://www.helgrim.com/rtdocs.
Until you do this, RT will not be able to send or recieve email,
nor will it be more than marginally functional. This is not an
optional step.
If so; are you using ‘sendmail’ or ‘sendmailpipe’.
Darrin,
Thanks for the reply. Yes, I believe the followed the step from the URL
below. I have tried both sendmail and sendmailpipe. No mail, no log entry no
error message. I have set the log level to debug and stopped/started the
Apache server.
I have looked at SendEmail.pm to see if I could find a problem. I tried to
put some debug code OPEN(JB,“>>/var/tmp/jb.log”) print JB “here”; close(JB);
at the top of Commit to see if it is getting called. It is not. I believe I
have the Scrips setup correctly
|+ Thanks for the reply. Yes, I believe the followed the step from the URL
|+ below. I have tried both sendmail and sendmailpipe. No mail, no log entry no
|+ error message. I have set the log level to debug and stopped/started the
|+ Apache server.
It may help if you include the sendmail portions of your config.pm so we
can take a look at them.
Including the sendmailflags portion.
From Config.pm
$MailCommand = ‘sendmail’;
$SendmailArguments=“-oi”;
$SendmailPath = “/usr/sbin/sendmail”;
$UseFriendlyToLine = 0;
/usr/sbin/sendmail
|+ Thanks for the reply. Yes, I believe the followed the step from the URL
|+ below. I have tried both sendmail and sendmailpipe. No mail, no log
entry no
|+ error message. I have set the log level to debug and stopped/started
the
|+ $MailCommand = ‘sendmail’;
|+ $SendmailArguments="-oi";
|+ $SendmailPath = “/usr/sbin/sendmail”;
|+ $UseFriendlyToLine = 0;
If you are running sendmail 8+, you may want to consider this:
$MailCommand = ‘sendmailpipe’;
$SendmailArguments="-oi -ODeliveryMode=b -OErrorMode=m -t";
$UseFriendlyToLine = undef;
This fixed my problems on sending mail. Now I will try to receive mail into
RT.
Thanks for your help
Jim