Welcome, Guest. Please login or register.
Did you miss your activation email?
Tuesday 19 November 2024, 09:40:39 am

Login with username, password and session length

Get the new Updates directly from Endian  HERE
14258 Posts in 4377 Topics by 6515 Members
Latest Member: hulteends
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 12153 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.063 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com