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