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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to log all IP connections in Sendmail??

Status
Not open for further replies.
Jun 7, 2007
4
US
Is there a way to have Sendmail log all IP connections?
I have a sever I am trying to cleanup the ACL on (an simultaneously remove from the DMZ).
Currently my log watch is divided into following:

Relaying denied:
Unresolveable or non-existent domains:
Did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA:
**Unmatched Entries**

And the normal SSH and Disk space sections.

I would like to see, if possible, a section for all IP connections to Sendmail and if there were accepted or denied.


Thanks in advance!!
 
You could run an automated tcpdump with the appropriate filter
to limit it to the desired traffic.

Gb0mb

........99.9% User Error........
 
I found the solution. Bumping the log level in Sendmail from 9 to 12 gave me the connecting IPs in my log watch.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top