Welcome, Guest. Please login or register.
Did you miss your activation email?
Thursday 14 November 2024, 06:02:53 pm

Login with username, password and session length

Visit the official Endian Community Mailinglist  HERE
14255 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 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Filtering smtp proxy logs  (Read 11990 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.031 seconds with 17 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com