[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rtir
Subject:    Re: [Rtir] Problems with msmtp
From:       Tiago Caldas <tiagobcaldas () gmail ! com>
Date:       2010-09-10 20:51:03
Message-ID: AANLkTinhoZbVfqNHdWk1LET-FJcLiFT1Fghqioi96z9= () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi, everyone!

Just for the records, I solved the msmtp problem few weeks ago...

The problem was with the permissions of "msmtprc" wich was setted up to 700.
In ispite of being more "open" than 600, the msmtp executable demands that
the file is NOT executable at all (at least at the current version).

By the way, msmtp works just fine...

Best Regards,

Tiago

2010/8/23 <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: Rtir Digest, Vol 55, Issue 3 (Jesse Vincent)
>
>
> ---------- Mensagem encaminhada ----------
> From: Jesse Vincent <jesse@bestpractical.com>
> To: Tiago Caldas <tiagobcaldas@gmail.com>
> Date: Mon, 23 Aug 2010 11:59:45 -0400
> Subject: Re: [Rtir] Rtir Digest, Vol 55, Issue 3
>
>
>
> 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@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...
> >
> > 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
>
>
> _______________________________________________
> Rtir mailing list
> Rtir@lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rtir
>
>

[Attachment #5 (text/html)]

Hi, everyone!<br><br>Just for the records, I solved the msmtp problem few weeks \
ago...<br><br>The problem was with the permissions of &quot;msmtprc&quot; wich was \
setted up to 700. In ispite of being more &quot;open&quot; than 600, the msmtp \
executable demands that the file is NOT executable at all (at least at the current \
version).<br> <br>By the way, msmtp works just fine...<br><br>Best \
Regards,<br><br>Tiago<br><br><div class="gmail_quote">2010/8/23  <span \
dir="ltr">&lt;<a href="mailto:rtir-request@lists.bestpractical.com">rtir-request@lists.bestpractical.com</a>&gt;</span><br>
 <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); \
margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send Rtir mailing list submissions \
                to<br>
        <a href="mailto:rtir@lists.bestpractical.com">rtir@lists.bestpractical.com</a><br>
 <br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rtir" \
target="_blank">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rtir</a><br> \
                or, via email, send a message with subject or body &#39;help&#39; \
                to<br>
        <a href="mailto:rtir-request@lists.bestpractical.com">rtir-request@lists.bestpractical.com</a><br>
 <br>
You can reach the person managing the list at<br>
        <a href="mailto:rtir-owner@lists.bestpractical.com">rtir-owner@lists.bestpractical.com</a><br>
 <br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Rtir digest...&quot;<br>
<br>Today&#39;s Topics:<br>
<br>
   1. Re: Rtir Digest, Vol 55, Issue 3 (Jesse Vincent)<br>
<br><br>---------- Mensagem encaminhada ----------<br>From: Jesse Vincent &lt;<a \
href="mailto:jesse@bestpractical.com">jesse@bestpractical.com</a>&gt;<br>To: Tiago \
                Caldas &lt;<a \
                href="mailto:tiagobcaldas@gmail.com">tiagobcaldas@gmail.com</a>&gt;<br>
                
Date: Mon, 23 Aug 2010 11:59:45 -0400<br>Subject: Re: [Rtir] Rtir Digest, Vol 55, \
Issue 3<br><br> <br>
<br>
On Wed 18.Aug&#39;10 at 15:07:09 -0300, Tiago Caldas wrote:<br>
&gt; Hi there, Jesse!<br>
&gt;<br>
&gt; Thanks for your help!<br>
&gt;<br>
&gt; 1) I runned msmtp directly from the prompt with the following command:<br>
&gt;<br>
&gt; #msmtp --syslog=on -C /opt/rt3/etc/msmtprc -t <a \
href="mailto:tiagobcaldas@gmail.com">tiagobcaldas@gmail.com</a> &lt; \
/root/msg_test<br> &gt;<br>
&gt; The log entry was:<br>
&gt;<br>
&gt; #tail -f /var/log/messages<br>
&gt; Aug 16 15:45:51 serverXX msmtp: host=hostXX tls=off auth=off from=root \
recipients=<a href="mailto:tiagobcaldas@gmail.com">tiagobcaldas@gmail.com</a> \
mailsize=<br> &gt; 116 smtpstatus=250 smtpmsg=&#39;250 2.0.0 Ok: queued as \
EC86A6089CC&#39; exitcode=EX_OK<br> &gt;<br>
&gt; The message reached my mailbox successfully (I swear!)...<br>
&gt;<br>
&gt; I also made several tests (running msmtp directly from prompt) with To:, Cc: and \
Bcc:  and it&#39;s all OK...<br> &gt;<br>
&gt; 2) I have also changed the scrip for Notify Requestors instead of Notify Other \
Recipients, although my template<br> &gt; sets the &quot;to:&quot; parameter.<br>
&gt;<br>
&gt; The &quot;$SendMailPath&quot; at RT_SiteConfig and &quot;msmtprc / \
msmtp_wrapper&quot; is also OK....<br> &gt;<br>
&gt; 3) When I &quot;Show&quot; the outgoing mail at the Tickets&#39;s history, the \
message is just fine (&quot;To&quot;, &quot;Subject&quot; and<br> &gt; \
contents)...<br> &gt;<br>
&gt; The RT is loging at syslog at &quot;debug&quot; level. Do I have any other way \
to check exactly what RT give to msmtp to<br> &gt; compose the outgoing mail?<br>
<br>
You could replace msmtp with a shell script that logs and calls msmtp.<br>
<br>
&gt; Any other idea??<br>
<br>
Typically, we recommend a &quot;real&quot; MTA for RT/RTIR. I don&#39;t have any \
real<br> experience with msmtp.<br>
<br>
Sorry,<br>
Jesse<br>
<br>
<br>_______________________________________________<br>
Rtir mailing list<br>
<a href="mailto:Rtir@lists.bestpractical.com">Rtir@lists.bestpractical.com</a><br>
<a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rtir" \
target="_blank">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rtir</a><br> \
<br></blockquote></div><br>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic