Author Topic: Logging SMTP connections in Firewall logs  (Read 1246 times)

sduncan001

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Logging SMTP connections in Firewall logs
« on: May 09, 2018, 04:10:23 pm »
I am trying to see connections made for SMTP in the firewall logs. I have enabled the firewall log sent myself an email from external account but there are no entries in the logs for port 25 or the sending mail server.

scottdr

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +6/-0
  • Zentyal community edition 7.0.7
    • View Profile
Re: Logging SMTP connections in Firewall logs
« Reply #1 on: May 29, 2018, 07:05:24 pm »
Firewall logs normally log dropped/rejected packets as a standard. You should see e-mails by locking at the Mail logs (assuming it is enabled), or you can monitor /var/log/mail.log to see connections made to your mail server. mail.log will show all connections to ports 25, 587, as well as IMAP and POP connections.