Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mail.log not showing all sent emails

Status
Not open for further replies.

jnankin

IS-IT--Management
Dec 12, 2010
2
US
I'm using postfix on an ubuntu server. Yesterday my PHP webapp sent out a few hundred emails, but a few recipients did not get their messages. I tried to look at my mail.log to find those emails only to discover that only a couple dozen 'sendings' were recorded.

In other words, I know for a fact that my server sent an email to x@y.com, but that sending is not recorded in my mail.log.

Do I have to configure postfix to do something or look in another log?

I also added the -v flag to my smtp entry in master.cf, and reloaded the configuration. I still dont see sendings going into the logs.
 
Are the messages actually being sent through Postfix at all or an external SMTP server? Try stopping Postfix and send a test message from your app and see if it delivers or not.
 
Yep, looks like my swift configuration was using external smtp server.

I changed it and messages are showing up. Good advice :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top