I just sent an email using PHPMailer, and set setFrom, addReplyTo, and addAddress to email@example.com
(note that this question has nothing to do with PHPMailer, I just included this info on the rare case it will help). I have installed postfix.i686 2:2.6.6-6.el6_5 on Centos 6.5. I am trying to understand the /var/log/maillog log.
For instance, the first line "vps sendmail". I take it this is my server "vps" using command "sendmail". I thought I was using postfix, and not sendmail? Also, what is with the Authentication-Warning.
I also see that sendmail, postfix/smtpd, postfix/cleanup, postfix/qmgr are all being used. How are these related? (If this is two long of a question, please disregard)
Later I see a couple "Network is unreachable" lines. What is with these?
May 24 08:56:18 vps sendmail: s4ODuIpF003797: Authentication-Warning: vps.tapmeister.com: apache set sender to firstname.lastname@example.org using -f
May 24 08:56:19 vps sendmail: s4ODuIpF003797: email@example.com, size=12546, class=0, nrcpts=1, msgid=<firstname.lastname@example.org>, relay=apache@localhost
May 24 08:56:21 vps postfix/smtpd: connect from localhost[127.0.0.1]
May 24 08:56:21 vps postfix/smtpd: 2423E3350019: client=localhost[127.0.0.1]
May 24 08:56:21 vps postfix/cleanup: 2423E3350019: message-id=<email@example.com>
May 24 08:56:22 vps postfix/qmgr: 2423E3350019: from=<firstname.lastname@example.org>, size=13172, nrcpt=1 (queue active)
May 24 08:56:22 vps sendmail: s4ODuIpF003797: to=John Doe <email@example.com>, firstname.lastname@example.org (48/48), delay=00:00:04, xdelay=00:00:01, mailer=relay, pri=42546, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 2423E3350019)
May 24 08:56:22 vps postfix/smtp: connect to mx2.comcast.net[2001:558:fe2d:70::22]:25: Network is unreachable
May 24 08:56:22 vps postfix/smtp: connect to mx1.comcast.net[2001:558:fe14:70::22]:25: Network is unreachable
May 24 08:56:22 vps postfix/smtp: 2423E3350019: to=<email@example.com>, relay=mx1.comcast.net[18.104.22.1689]:25, delay=1.7, delays=1/0.01/0.42/0.21, dsn=2.0.0, status=sent (250 2.0.0 5pwR1o00o1yV1880KpwRLq mail accepted for delivery)
May 24 08:56:22 vps postfix/qmgr: 2423E3350019: removed
May 24 08:56:24 vps postfix/smtpd: disconnect from localhost[127.0.0.1]