Re: MSMTP Problem [OT] FIXED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2012-09-10 at 10:44 +0800, Ed Greshko wrote:
> On 09/09/2012 09:07 PM, Arthur Dent wrote:
> >> > You can test msmtp without using a configuration file by creating a "message" and then doing something like....
> >> > 
> >> > cat message | /usr/bin/msmtp --host=smtp.blueyonder.co.uk -f you@xxxxxxxxxxxx towho@xxxxxxxxxxxxx 
> > Ha! That works! (Well sort of)...
> > I used the command:
> > cat message | /usr/bin/msmtp --host=smtp.blueyonder.co.uk -f
> > mark@xxxxxxxxxxxx fred@xxxxxxxxxxxxxxxx (where myotherdomain.eu has a
> > catchall redirect the sends mail to mark@xxxxxxxxxxxx)
> >
> > The mail came through with a "From" (and return) address of
> > SRS0=yLoOyU=mydomain.org=mark@xxxxxxxxxxxxxxxx
> >
> > Not quite sure how those strings came about, but at least mail gets
> > through.
> 
> Your "message" file....is it a properly formatted email message?
> 
> >
> > So the question:
> > What settings should I be using?
> 
> Not sure what you're asking there.....
> 

Sorry Ed,

I didn't mean to be rude in not replying, but I got hit with a problem
in $REALLIFE.

What I meant by this was what settings should I use in /etc/msmtprchttp?

What I had at that point was in the bit of my mail that you trimmed in
your reply:
> > logfile /var/log/msmtp.log
> > tls on
> > tls_certcheck off
> > tls_starttls off
> > host smtp.blueyonder.co.uk
> > from noreply@xxxxxxxxxxxx

I tried taking out (commenting out) the tls stuff. No joy. I tried
altering the "from"... Success! I changed it to be "mark@xxxxxxxxxxxx".
"mark" is a valid user on this machine. Is that what the problem was? If
that is the case I didn't spot anywhere that it was a requirement that
the "from" be a "valid" user.

Anyhow - it now works. The strange thing is that I had not re-enabled
the tls settings and - even though Blueyonder insist that connections
should be made with SSL - it still works!

Thanks for all your your help.

Mark

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux