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=nore...@mydomain.org recipients=m...@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

-- 
users mailing list
users@lists.fedoraproject.org
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

Reply via email to