Welcome, Guest. Please login or register.
Did you miss your activation email?
Saturday 04 February 2023, 07:20:22 am

Login with username, password and session length

The Latest Endian Firewall is now available for download HERE
14192 Posts in 4347 Topics by 6363 Members
Latest Member: ckoepf
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  EFW SMTP, HTTP, SIP, FTP Proxy Support
| | |-+  Filtering smtp proxy logs
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Filtering smtp proxy logs  (Read 6752 times)
glynd
Full Member
***
Offline Offline

Posts: 10


« on: Thursday 03 December 2009, 12:16:16 am »

Is there an easy way to filter out the lines:
2009-12-02 15:12:40
postfix/smtpd[11064]: connect from localhost.localhost[127.0.0.1]
2009-12-02 15:14:48
postfix/smtpd[11064]: disconnect from localhost.localhost[127.0.0.1]
So I can see actual traffic only?
TIA
Glyn
Logged
gyp_the_cat
Full Member
***
Offline Offline

Posts: 81



WWW
« Reply #1 on: Thursday 03 December 2009, 10:15:49 pm »

From the command line you can run:

Quote
more /var/log/mail.log | grep [^localhost]

Or if you want to do it in realy time:

Quote
tail -f /var/log/mail.log | grep [^localhost]
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.043 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com