Welcome, Guest. Please login or register.
Did you miss your activation email?
Friday 19 April 2024, 02:37:18 pm

Login with username, password and session length

Visit the official Endian Community Mailinglist  HERE
14247 Posts in 4376 Topics by 6491 Members
Latest Member: roy
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  EFW SMTP, HTTP, SIP, FTP Proxy Support
| | |-+  Filtering smtp proxy logs
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Filtering smtp proxy logs  (Read 9144 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.047 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com