How to Check the Status of Emails Sent by Your Apps?

Your cloud server uses Postfix to deliver mail. When PHP sends mail, actually hands the off to Postfix, which does the actual delivery of the mail.

To see the status of emails being sent by your PHP apps, such as WordPress, you can look in the global Postfix mail log.

Postfix Mail Log Location

To view the Postfix log file, or SFTP into your server as root and open this file:


If that log file is empty, you might instead find the Postfix log messages in:


Also, note that these log are regularly rotated, so for older log entries, you may need to look in files such as:

Reading the Postfix Mail Log

For each email sent, multiple lines will appear in the log file, such as:

Feb 19 03:55:32 ip-10-161-74-52 postfix/pickup[11504]: BE78A40083: uid=1001 from=
Feb 19 03:55:32 ip-10-161-74-52 postfix/cleanup[12386]: BE78A40083: message-id=
Feb 19 03:55:32 ip-10-161-74-52 postfix/qmgr[6843]: BE78A40083: from=, size=300, nrcpt=1 (queue active)
Feb 19 03:55:32 ip-10-161-74-52 postfix/[12388]: connect to[2607:f8b0:400e:c03::1a]:25: Network is unreachable
Feb 19 03:55:33 ip-10-161-74-52 postfix/smtp[12388]: BE78A40083: to=,[]:25, delay=0.7, delays=0.03/0/0.11/0.56, dsn=2.0.0, status=sen
t (250 2.0.0 OK 1392782133 gx4si20423908pbc.51 - gsmtp)
Feb 19 03:55:33 ip-10-161-74-52 postfix/qmgr[6843]: BE78A40083: removed

Your log will look different for each email. In the particular example above, Postfix tried to connect to Gmail’s SMTP using IPv6, failed, and then succeeded with IPv4. The email was successfully sent and removed from the local mail queue.


Welcome to the world of DomainRooster, where roosters (and hens) rule the roost! We're a one-stop shop for all your entrepreneurial needs, bringing together domain names and website hosting, and all the tools you need to bring your ideas to life. With our help, you'll soar to new heights and hatch great . Think of as your trusty sidekick, always there to lend a wing and help you navigate the sometimes-complex world of domain names and hosting. Our team of roosters are experts in their fields and are always on hand to answer any questions and provide guidance. So why wait? Sign up today and join the ranks of the world's greatest entrepreneurs. With DomainRooster, the sky's the limit! And remember, as the saying goes, "Successful people do what unsuccessful people are not willing to do." So don't be afraid to take that leap of faith - DomainRooster is here to help you reach for the stars. Caw on!