MSMTP Problem [OT]

Ed Greshko Ed.Greshko at greshko.com
Sun Sep 9 12:00:58 UTC 2012


On 09/09/2012 06:28 PM, Arthur Dent wrote:
> Hello all,
>
> Not really a Fedora problem, but the level of helpful knowledge here is
> second to none :)
>
> My fedora 17 box hosts my small family web-server. I am trying to get an
> email contact form to work using php mail(). I have never had any
> success with sendmail so I installed msmtp and changed php.ini to read:
> sendmail_path = /bin/msmtp -t -C /etc/msmtprchttp
>
> After much wrestling and checking of logs and fixing permissions and
> selinux denials I have finally got it to the point that now the php
> script gives a cheery "message sent" confirmation and this is in the
> msmtp log:
> Sep 09 11:10:33 host=smtp.blueyonder.co.uk tls=on auth=off from=noreply at mydomain.org recipients=mark at mydomain.org mailsize=1735 smtpstatus=250 smtpmsg='250 OK id=1TAeTJ-0004Xk-CG' exitcode=EX_OK
>
> All seems good!
>
> The message never arrives.
>
> Could some kind soul point me to where I have screwed up please

Can we assume that msmtp is sending the message to "localhost" for processing by sendmail?   If so, have you checked /var/log/maillog?

-- 
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -- Rick Cook, The Wizardry Compiled



More information about the users mailing list