Rtir Digest, Vol 55, Issue 3

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@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@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…

  1. 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…

  1. 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?

Any other idea??

Tiago2010/8/16 rtir-request@lists.bestpractical.com

Send Rtir mailing list submissions to
rtir@lists.bestpractical.com

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rtir
or, via email, send a message with subject or body ‘help’ to
rtir-request@lists.bestpractical.com

You can reach the person managing the list at
rtir-owner@lists.bestpractical.com

When replying, please edit your Subject line so it is more specific
than “Re: Contents of Rtir digest…”

Today’s Topics:

  1. Re: Problems with msmtp (Jesse Vincent)

---------- Mensagem encaminhada ----------
From: Jesse Vincent jesse@bestpractical.com
To: Tiago Caldas tiagobcaldas@gmail.com
Date: Mon, 16 Aug 2010 11:37:27 -0400
Subject: Re: [Rtir] Problems with msmtp

On Fri, Aug 13, 2010 at 05:27:52PM -0300, Tiago Caldas wrote:

Gentlements,

I have installed RT in a brand new server few days ago and almost
everything
is running just fine.

However, my msmtp have a problem:

When my scrip “on resolve notify other recipients” is triggered, I have
the
followin exit on my message.log:

The “78” means "configuration problem… but I have the same files
(msmtprc
&msmtp_wrapper) on other server (with IR features) running OK…

I have already checked permissions…

Can you put msmtp into some sort of verbose logging mode? Is msmtp happy
with messages that have only a BCC and no To or Cc?


Rtir mailing list
Rtir@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rtir

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@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@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…

  1. 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…

  1. 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