I'm using a PHP script to send mail to a few of my clients. Some of them reported not getting the mail. GMail users all got the mail, but yahoo and hotmail aren't. I created my own hotmail account to test it, and sure enough, no email. Not in the junk/spam folder or anything.
How can I troubleshoot this and find the problem?
I'm running CentOS5.5 with cPanel, using Exim for mail.
EDIT:
tail of /var/logs/maillog
Jan 18 22:14:39 server1 dovecot: imap-login: Login: user=<__cpanel__service__auth__imap__dsefdvpt0ystyughvg7_lukinpvjppf7a6kbps6oyro4dh...>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Jan 18 22:14:39 server1 dovecot: IMAP(__cpanel__service__auth__imap__dsefdvpt0ystyughvg7_lukinpvjppf7a6kbps6oyro4dhiob16g9un4heqo4nar): Disconnected: Logged out bytes=11/317
Jan 18 22:19:28 server1 spamd[17866]: spamd: connection from localhost.localdomain [127.0.0.1] at port 49141
Jan 18 22:19:28 server1 spamd[17866]: spamd: setuid to cpanel succeeded
Jan 18 22:19:28 server1 spamd[17866]: spamd: processing message <[email protected]> for cpanel:32001
Jan 18 22:19:28 server1 spamd[17866]: spamd: identified spam (1000.0/5.0) for cpanel:32001 in 0.1 seconds, 834 bytes.
Jan 18 22:19:28 server1 spamd[17866]: spamd: result: Y 999 - GTUBE,NO_RECEIVED,NO_RELAYS scantime=0.1,size=834,user=cpanel,uid=32001,required_score=5.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=49141,mid=<[email protected]>,autolearn=no,shortcircuit=no
Jan 18 22:19:28 server1 spamd[17865]: prefork: child states: II
Jan 18 22:19:39 server1 dovecot: imap-login: Login: user=<__cpanel__service__auth__imap__mqxzqqn3n7p4i_c1latvnurayarqzyv09znah0lqwjuzwy...>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Jan 18 22:19:40 server1 dovecot: IMAP(__cpanel__service__auth__imap__mqxzqqn3n7p4i_c1latvnurayarqzyv09znah0lqwjuzwygaebpjwsfw86gso7xe): Disconnected: Logged out bytes=11/313
But it sent a message to gmail after that 22:19:40, so I guess no outgoing mail got logged. I don't know how to turn on logging.