[Rtir] Rtir Digest, Vol 55, Issue 3
Jesse Vincent
jesse at bestpractical.com
Mon Aug 23 11:59:45 EDT 2010
On Wed 18.Aug'10 at 15:07:09 -0300, Tiago Caldas wrote:
> Hi there, Jesse!
>
> Thanks for your help!
>
> 1) I runned msmtp directly from the prompt with the following command:
>
> #msmtp --syslog=on -C /opt/rt3/etc/msmtprc -t tiagobcaldas at gmail.com < /root/msg_test
>
> The log entry was:
>
> #tail -f /var/log/messages
> Aug 16 15:45:51 serverXX msmtp: host=hostXX tls=off auth=off from=root recipients=tiagobcaldas at gmail.com mailsize=
> 116 smtpstatus=250 smtpmsg='250 2.0.0 Ok: queued as EC86A6089CC' exitcode=EX_OK
>
> The message reached my mailbox successfully (I swear!)...
>
> I also made several tests (running msmtp directly from prompt) with To:, Cc: and Bcc: and it's all OK...
>
> 2) I have also changed the scrip for Notify Requestors instead of Notify Other Recipients, although my template
> sets the "to:" parameter.
>
> The "$SendMailPath" at RT_SiteConfig and "msmtprc / msmtp_wrapper" is also OK....
>
> 3) When I "Show" the outgoing mail at the Tickets's history, the message is just fine ("To", "Subject" and
> contents)...
>
> The RT is loging at syslog at "debug" level. Do I have any other way to check exactly what RT give to msmtp to
> compose the outgoing mail?
You could replace msmtp with a shell script that logs and calls msmtp.
> Any other idea??
Typically, we recommend a "real" MTA for RT/RTIR. I don't have any real
experience with msmtp.
Sorry,
Jesse
More information about the Rtir
mailing list