[pfx] Re: Precision of time in Postfix log files

2024-06-23 Thread Wietse Venema via Postfix-users
Peter Uetrecht via Postfix-users: > Hello list, > > is the precision of time in Postfix log files (version 3.8.4) configurable > (microseconds or milliseconds)? Postfix does not generate the timestamp for logfiles written by syslogd or equivalent. That is done by the syslog(3) sy

[pfx] Precision of time in Postfix log files

2024-06-23 Thread Peter Uetrecht via Postfix-users
Hello list, is the precision of time in Postfix log files (version 3.8.4) configurable (microseconds or milliseconds)? Thanks in advance Peter ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le

Re: Strange thing in Postfix log?

2022-08-22 Thread Viktor Dukhovni
On Mon, Aug 22, 2022 at 11:42:38PM +0200, Jaroslaw Rafa wrote: > Hello, > this just appeared in my Postfix log: > > Aug 22 23:35:50 rafa postfix/smtpd[28891]: connect from unknown[unknown] > Aug 22 23:35:50 rafa postfix/smtpd[28891]: lost connection after CONNECT from > unknown

Strange thing in Postfix log?

2022-08-22 Thread Jaroslaw Rafa
Hello, this just appeared in my Postfix log: Aug 22 23:35:50 rafa postfix/smtpd[28891]: connect from unknown[unknown] Aug 22 23:35:50 rafa postfix/smtpd[28891]: lost connection after CONNECT from unknown[unknown] Aug 22 23:35:50 rafa postfix/smtpd[28891]: disconnect from unknown[unknown] I

Re: Display relevant message-id for all postfix log lines

2021-04-07 Thread Bill Cole
On 7 Apr 2021, at 10:25, sandeep pawar wrote: Hi, I am using multiple postfix mta instance for internal relaying purpose. I am sending postfix logs to ELK and was wondering if it would be possible to display message-id in each log line. This could help in various kind of searches. As Rob

Re: Display relevant message-id for all postfix log lines

2021-04-07 Thread Rob McGee
On 2021-04-07 09:25, sandeep pawar wrote: I am using multiple postfix mta instance for internal relaying purpose. I am sending postfix logs to ELK and was wondering if it would be possible to display message-id in each log line. This could help in various kind of searches. Note that the

Display relevant message-id for all postfix log lines

2021-04-07 Thread sandeep pawar
Hi, I am using multiple postfix mta instance for internal relaying purpose. I am sending postfix logs to ELK and was wondering if it would be possible to display message-id in each log line. This could help in various kind of searches. Is there any configuration which can be tweaked to for

Re: Postfix log

2019-08-09 Thread Enrico Morelli
On Fri, 9 Aug 2019 12:11:35 +0200 Matus UHLAR - fantomas wrote: > On 09.08.19 11:56, Enrico Morelli wrote: > >I'll try to put > > > > postrotate > > /usr/lib/rsyslog/rsyslog-rotate > > endscript > > > >in my postfix logrotate script to see if it works. > > don't. Simply look

Re: Postfix log

2019-08-09 Thread Matus UHLAR - fantomas
On 09.08.19 11:56, Enrico Morelli wrote: I'll try to put postrotate /usr/lib/rsyslog/rsyslog-rotate endscript in my postfix logrotate script to see if it works. don't. Simply look what's in /etc/logrotate.d/*syslog* it should contain /var/log/mail. files -- Matus UHLAR -

Re: Postfix log

2019-08-09 Thread Matus UHLAR - fantomas
On 09.08.19 09:32, Enrico Morelli wrote: I upgraded Debian from version 9 to 10 and consequently postfix 3.1.12 to 3.4.5. I'm checking log with multitail in real time and with the new postfix version, I've a strange behavior. When the logs rotate, postfix continues to write in the old file

Re: Postfix log

2019-08-09 Thread Enrico Morelli
On Fri, 9 Aug 2019 11:17:26 +0200 Alexander Wirt wrote: > On Fri, 09 Aug 2019, Benny Pedersen wrote: > > Hi, > > > > Thanks, postscript is not part of the Debian package. I'll try to > > > put: service postfix restart > > > > this is not working, postfix send logs to syslogd, so restarting

Re: Postfix log

2019-08-09 Thread Alexander Wirt
On Fri, 09 Aug 2019, Benny Pedersen wrote: Hi, > > Thanks, postscript is not part of the Debian package. I'll try to put: > > service postfix restart > > this is not working, postfix send logs to syslogd, so restarting postfix is > not what to do, restart the syslogd will work > > please

Re: Postfix log

2019-08-09 Thread Benny Pedersen
Enrico Morelli skrev den 2019-08-09 10:45: Thanks, postscript is not part of the Debian package. I'll try to put: service postfix restart this is not working, postfix send logs to syslogd, so restarting postfix is not what to do, restart the syslogd will work please create a bug on debian

Re: Postfix log

2019-08-09 Thread Enrico Morelli
f the Debian package. I'll try to put: service postfix restart > ML > > -Original Message- > From: owner-postfix-us...@postfix.org > On Behalf Of Enrico Morelli Sent: > 09 August 2019 08:33 To: postfix-users@postfix.org > Subject: Postfix log > > Dear, > &g

RE: Postfix log

2019-08-09 Thread Matthew Lowy
exhibit this behaviour, it handles the log being switched under it just fine) or you could try it out. ML -Original Message- From: owner-postfix-us...@postfix.org On Behalf Of Enrico Morelli Sent: 09 August 2019 08:33 To: postfix-users@postfix.org Subject: Postfix log Dear, I upgraded

Postfix log

2019-08-09 Thread Enrico Morelli
Dear, I upgraded Debian from version 9 to 10 and consequently postfix 3.1.12 to 3.4.5. I'm checking log with multitail in real time and with the new postfix version, I've a strange behavior. When the logs rotate, postfix continues to write in the old file renamed mail.log.1 instead of the new

Re: Duplicate spamd lines in Postfix log file

2019-07-01 Thread Bill Cole
On 30 Jun 2019, at 9:36, dpjanda wrote: It sure is is, and that's why I posted the original question here. As it could, perhaps, be an error on my part how I call it from POSTFIX, so I thought I would ask the question here, first. The us...@spamassassin.apache.org list would be a far better

Re: Duplicate spamd lines in Postfix log file

2019-06-30 Thread dpjanda
Thanks Matus In main.cf virtual_transport=spamass-dovecot In master.cf spamass-dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/bin/spamc -u spamd -e /usr/lib/dovecot/deliver -d ${recipient} I hope this helps. Regards -- Sent from:

Re: Duplicate spamd lines in Postfix log file

2019-06-30 Thread Matus UHLAR - fantomas
On 30.06.19 06:36, dpjanda wrote: It sure is is, and that's why I posted the original question here. As it could, perhaps, be an error on my part how I call it from POSTFIX, so I thought I would ask the question here, first. you have not attached any information about how you call spamd from

Re: Duplicate spamd lines in Postfix log file

2019-06-30 Thread dpjanda
It sure is is, and that's why I posted the original question here. As it could, perhaps, be an error on my part how I call it from POSTFIX, so I thought I would ask the question here, first. -- Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html

Re: Duplicate spamd lines in Postfix log file

2019-06-30 Thread Wietse Venema
dpjanda: > Thanks. > > Yes, I should have clarified that my log file is from multiple sources. > Sorry about that. > > Is it normal to have more than one spamd process per message? This is the POSTFIX mailing list.

Re: Duplicate spamd lines in Postfix log file

2019-06-30 Thread dpjanda
Thanks. Yes, I should have clarified that my log file is from multiple sources. Sorry about that. Is it normal to have more than one spamd process per message? Regards -- Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html

Re: Duplicate spamd lines in Postfix log file

2019-06-30 Thread Wietse Venema
dpjanda: > Jun 29 09:20:10 email spamd[1101]: util: setuid: ruid=5001 euid=5001 > rgid=5001 5001 5001 egid=5001 5001 5001 > Jun 29 09:20:15 email spamd[1102]: util: setuid: ruid=5001 euid=5001 > rgid=5001 5001 5001 egid=5001 5001 5001 First, these lines are logged by different spamd processes.

Duplicate spamd lines in Postfix log file

2019-06-30 Thread dpjanda
Greetings I hope someone can help with what is not a problem as such, but a query. In every Spamassassin (spamd) exchange there appears to be two lines that are *almost* identicle. Jun 29 09:20:09 email spamd[2142]: spamd: connection from ::1 [::1]:57558 to port 783, fd 5 Jun 29 09:20:09 email

Looking for an 'easy' postfix log file analysis tool

2018-08-26 Thread Admin Beckspaced
arts. but while trying to setup it had a problem parsing the postfix log entries. Error: the entry is not in syslog format as far as I remember the box running postfix is using the rsyslog daemon then also had a look at AWStats but here the maillogvonverter.pl perl script wasn't able to parse the pos

Re: postfix log in mysql

2017-08-29 Thread joao reis
I save correlated logs from postfix (and milter daemons) in mongodb. https://www.balabit.com/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/configuring-destinations-mongodb.html

Re[2]: postfix log in mysql

2017-08-29 Thread Kev
> You might want to look into something like the Logstash > (https://www.elastic.co/products/logstash). looks promising! thanks you! On Mon, 28 Aug 2017 10:11:14 -0600 James Reynolds wrote: > You might want to look into something like the Logstash >

Re: postfix log in mysql

2017-08-28 Thread James Reynolds
You might want to look into something like the Logstash (https://www.elastic.co/products/logstash). James > On Aug 27, 2017, at 9:51 PM, Kev wrote: > > Hi postfixers, > > We have spam filter servers for our down, 5 of them to be exact. we use > amavisd,

Re: postfix log in mysql

2017-08-27 Thread Christian Kivalo
Am 28. August 2017 05:51:10 MESZ schrieb Kev : >Hi postfixers, > >We have spam filter servers for our down, 5 of them to be exact. we use >amavisd, bitdefender & clamav for spam and virus filter. > >we have a self help portal done in php/mysql for users to manage

postfix log in mysql

2017-08-27 Thread Kev
Hi postfixers, We have spam filter servers for our down, 5 of them to be exact. we use amavisd, bitdefender & clamav for spam and virus filter. we have a self help portal done in php/mysql for users to manage whitelist/blacklist etc, now i want to allow users to check there email logs to they

Re: How do you add LOGLEVEL labels to Postfix log output?

2017-08-19 Thread Bill Shirley
Is there some specific text that rsyslog can key off of? I use this for Shorewall and dhcpd (right after the RULES line): if $msg contains 'Shorewall' then { action(type="omfile" file="/var/log/shorewall.log") if ($syslogfacility == 0 and $syslogseverity >= 6) then stop # info }

Re: How do you add LOGLEVEL labels to Postfix log output?

2017-08-19 Thread yodeller
Hello, On Sat, Aug 19, 2017, at 06:58 PM, Viktor Dukhovni wrote: > That said, both regular and debug logging in Postfix are logged > at the "info" level, Postfix does not use the syslog "debug" log > level. Therefore, built-in syslog log filtering cannot isolate > just the debug messages from

Re: How do you add LOGLEVEL labels to Postfix log output?

2017-08-19 Thread Viktor Dukhovni
> On Aug 19, 2017, at 11:31 PM, yodel...@yepmail.net wrote: > >> but as Noel points out, you really should not have Postfix debug logging >> enabled on a >> routine basis. > > It's there for a reason isn't it? I use it when there's a problem and I need > more information. It's great having

Re: How do you add LOGLEVEL labels to Postfix log output?

2017-08-19 Thread Viktor Dukhovni
> On Aug 19, 2017, at 9:07 PM, Wietse Venema wrote: > >> Sorry, not configurable other than patching the source. > > The logging level is specified via the syslog protocol. Every > syslog-compatible server (syslogd, etc.) will allow you to configure > handling that

Re: How do you add LOGLEVEL labels to Postfix log output?

2017-08-19 Thread Wietse Venema
Noel Jones: > On 8/19/2017 3:53 PM, yodel...@yepmail.net wrote: > > Hello, > > > > I use Postfix's per-domain debug logging a lot. > > > Why? The general opinion here is everything important is already in > the normal logs, and the debug logs usually just make it hard to > find the real

Re: How do you add LOGLEVEL labels to Postfix log output?

2017-08-19 Thread Noel Jones
On 8/19/2017 3:53 PM, yodel...@yepmail.net wrote: > Hello, > > I use Postfix's per-domain debug logging a lot. Why? The general opinion here is everything important is already in the normal logs, and the debug logs usually just make it hard to find the real problem among the noise. Is there

How do you add LOGLEVEL labels to Postfix log output?

2017-08-19 Thread yodeller
/local/bin: ddd /usr/libexec/postfix/${process_name} ${process_id} & sleep 5 For the domains in the peer list all the debug level logging still goes into the systemd journal and I pull out postfix-specific entries with rsyslog into my main postfix log, /var/log/postfix/postfix.log It's

Re: Make postfix log to show how sender rewriting happens

2017-01-18 Thread Burn Zero
Thank you so much for the info and it works now. :) On Fri, Dec 23, 2016 at 7:59 PM, /dev/rob0 wrote: > > On Tue, Dec 20, 2016 at 7:35 PM, Viktor Dukhovni > > wrote: > > > > > > > On Dec 20, 2016, at 12:53 AM, Burn Zero > > > >

Re: Make postfix log to show how sender rewriting happens

2017-01-18 Thread Burn Zero
Thank you viktor. It works fantastically now. On Tue, Dec 20, 2016 at 7:35 PM, Viktor Dukhovni wrote: > > > On Dec 20, 2016, at 12:53 AM, Burn Zero wrote: > > > > As you can see the orig_to parameter shows the original id to which > the email

Re: Make postfix log to show how sender rewriting happens

2016-12-23 Thread /dev/rob0
> On Tue, Dec 20, 2016 at 7:35 PM, Viktor Dukhovni > wrote: > > > > > On Dec 20, 2016, at 12:53 AM, Burn Zero > > > wrote: > > > > > > As you can see the orig_to parameter shows the original id to > > > which the email was sent and the to=

Re: Make postfix log to show how sender rewriting happens

2016-12-23 Thread Burn Zero
Thank you. But when I use smtpd_end_of_data_restrictions = check_sender_access static:INFO I get, postfix/smtpd[13668]: warning: unknown smtpd restriction: "INFO postfix/smtpd[13668]: 12E9F6420F: reject: END-OF-MESSAGE from host[x.x.x.x]: 451 4.3.5 Server configuration error;

Re: Make postfix log to show how sender rewriting happens

2016-12-20 Thread Viktor Dukhovni
> On Dec 20, 2016, at 12:53 AM, Burn Zero wrote: > > As you can see the orig_to parameter shows the original id to which the > email was sent and the to= parameter explains the rewritten email id. I can > clearly see the email rewriting happened. Similarly, I want to

Re: Make postfix log to show how sender rewriting happens

2016-12-20 Thread Wietse Venema
Burn Zero: > I guess you didn't get my question. Pardon me if it wasn't clear. Yes it was. The pointers that I gave will show you the result of all Postfix address rewriting, without actually sending email. If you want more functionality, you are welcome to contribute the code, or to use a

Re: Make postfix log to show how sender rewriting happens

2016-12-19 Thread Burn Zero
I guess you didn't get my question. Pardon me if it wasn't clear. I use postfix rewrite feature to rewrite sender and recipient address. When I receive email from outside, my recipient rewrite is done using recipient_canonical file. I also check the same in log, Sep 12 17:23:32 rewritehost

Re: Make postfix log to show how sender rewriting happens

2016-12-19 Thread Wietse Venema
Documentation: http://www.postfix.org/ADDRESS_REWRITING_README.html#debugging Command: $ sendmail -f sender -bv recipient Wietse

Make postfix log to show how sender rewriting happens

2016-12-19 Thread Burn Zero
Hi, I'm using postfix SMTP server and I'm rewriting sender and recipient addresses. From the postfix logs, I can see the recipient address rewriting logs, Sep 12 17:23:32 rewritehost postfix/smtp[1223]: 28A6701362: to=, *orig_to*=,

smtp_bind_address and postfix log format

2015-04-16 Thread a jalela
Hello We have setup postfix using smtp_bind_address with 100 ips having below configuration # #ip=10.11.17.13 host=multi328.postfix.example.com 10.11.17.13:25 inet n - n - 500 smtpd -o

Re: smtp_bind_address and postfix log format

2015-04-16 Thread Noel Jones
On 4/16/2015 6:32 AM, a jalela wrote: Hello We have setup postfix using smtp_bind_address with 100 ips having below configuration # #ip=10.11.17.13 host=multi328.postfix.example.com http://multi328.postfix.example.com 10.11.17.13:25

Postfix log analyzer tool V0.9.17 released

2014-07-16 Thread Nicolas HAHN
Hello all, I've released *Version 0.9.17 of the ELSE* (E-mail Log Search Engine) as a tar.gz archive on Sourceforge there: https://sourceforge.net/projects/x-itools/files/X-Itools%20releases/E-mail%20Log%20Search%20Engine/ There is also a *virtual machine for demonstration purpose* if you

New Postfix log analyzer tool V0.9.16 released (PostgreSQL DB 9.2.x based)

2013-10-21 Thread Nicolas HAHN
Dear Community, VERSION 0.9.16 OF THE ELSE (E-mail Log Search Engine) has just been released as a tar.gz archive. As usual, take a look at the README file for the revision history. The archive is there:

New Postfix log analyzer tool V0.9.15 released (PostgreSQL DB 9.2.x based)

2013-07-06 Thread Nicolas HAHN
Dear Community, *Version 0.9.15* of the ELSE (E-mail Log Search Engine) has been released. This version is now able to parse Postfix versions =2.9 logs having long queue IDs. README including versionning info as well as archive are available there:

Understanding postfix log

2013-05-15 Thread Victor d'Agostino
Hello, Can someone explains to me (or give a link) in this log May 15 10:58:13 LXLYOPFD11 postfix/smtp[12232]: B7B1B4800DC: to= x...@gmail.com, relay=10.220.8.20[10.220.8.20]:25, conn_use=7, delay=1991, delays=0.06/1990/0/0.66, dsn=2.0.0, status=sent (250 2.0.0 OK 1368608293 fe7si6820218wib.77

Re: Understanding postfix log

2013-05-15 Thread Martin Schütte
What does conn_use, delays=a/b/c/d and dsnmeans http://www.postfix.org/CONNECTION_CACHE_README.html#safety http://www.postfix.org/postconf.5.html#delay_logging_resolution_limit http://www.postfix.org/DSN_README.html -- Martin

Re: Understanding postfix log

2013-05-15 Thread Victor d'Agostino
Thanks for the help Victor 2013/5/15 Wietse Venema wie...@porcupine.org Martin Sch?tte: What does conn_use, delays=a/b/c/d and dsnmeans http://www.postfix.org/CONNECTION_CACHE_README.html#safety http://www.postfix.org/postconf.5.html#delay_logging_resolution_limit

Re: New Postfix log analyzer tool V0.9.13 released (PostgreSQL DB 9.2.x based)

2013-04-24 Thread Birta Levente
On 23/04/2013 23:29, Nicolas HAHN wrote: Dear Community, *Version 0.9.13* of the tool has been released. My tool is able to parse Postfix Logs (version 2.8 for now), generates statistics, propose you a great EXTJS 4.1.3 Web 2.0 interface, offers powerfull search features and so on... It is

New Postfix log analyzer tool V0.9.13 released (PostgreSQL DB 9.2.x based)

2013-04-23 Thread Nicolas HAHN
Dear Community, VERSION 0.9.13 of the tool has been released. My tool is able to parse Postfix Logs (version 2.8 for now), generates statistics, propose you a great EXTJS 4.1.3 Web 2.0 interface, offers powerfull search features and so on... It is also able to parse Microsoft Exchange Server

Re: New Postfix log analyzer tool, statistics, grapher, ... PostgreSQL DB 9.2.x based

2013-04-13 Thread LuKreme
On Apr 11, 2013, at 7:29, Nicolas HAHN ha...@erios.org wrote: a Linux server It requires Linux? Why would it require Linux? -- you'd think you could trust a horde of hungarian barbarians

Re: New Postfix log analyzer tool, statistics, grapher, ... PostgreSQL DB 9.2.x based

2013-04-13 Thread Nicolas HAHN
Mmhhh... What can I say??? If somebody can make the full product working on another platform, then I would be happy to propose the corresponding archive on Sourceforge available files project page... But for now the best answer is simply it's like that. ;) Le 13/04/2013 11:31, LuKreme a

Re: New Postfix log analyzer tool, statistics, grapher, ... PostgreSQL DB 9.2.x based

2013-04-13 Thread /dev/rob0
[ Top-posting fixed ] Le 13/04/2013 11:31, LuKreme a écrit : On Apr 11, 2013, at 7:29, Nicolas HAHN ha...@erios.org wrote: a Linux server It requires Linux? Why would it require Linux? On Sat, Apr 13, 2013 at 11:38:07AM +0200, Nicolas HAHN wrote: Mmhhh... What can I say??? If somebody can

Re: New Postfix log analyzer tool, statistics, grapher, ... PostgreSQL DB 9.2.x based

2013-04-13 Thread Larry Stone
On Apr 13, 2013, at 8:17 AM, /dev/rob0 r...@gmx.co.uk wrote: I think the point is that none of the software you mention are Linux-specific. Postfix, PostgreSQL, rsyslog, apache (Apache httpd), and php all work and are commonly seen on other Unix and Unix-like systems. It doesn't sound

Re: New Postfix log analyzer tool, statistics, grapher, ... PostgreSQL DB 9.2.x based

2013-04-13 Thread Nicolas HAHN
Le 13/04/2013 15:17, /dev/rob0 a écrit : I think the point is that none of the software you mention are Linux-specific. Postfix, PostgreSQL, rsyslog, apache (Apache httpd), and php all work and are commonly seen on other Unix and Unix-like systems. It doesn't sound likely that you have done

New Postfix log analyzer tool V0.9.11 released (PostgreSQL DB 9.2.x based)

2013-04-13 Thread Nicolas HAHN
Dear Community, I just released *version 0.9.11* of the tool. This version is the *first one to include Microsoft Exchange Server Logs parsing capabilities*. README including versionning info as well as archive are available there:

Re: New Postfix log analyzer tool, statistics, grapher, ... PostgreSQL DB 9.2.x based

2013-04-12 Thread Abhijeet Rastogi
time there but working in the area of SMTP messaging since a long time. With Postfix, that I really love. The goal of my e-mail today is just to let you know that I'm working since some time on my open source GPLv3 project dedicated to *real time*postfix log analysis, but not only log analysis

[Bug fix in previous email] New Postfix log analyzer tool, statistics, grapher, ... PostgreSQL DB 9.2.x based

2013-04-11 Thread Nicolas HAHN
Dear Postfix Community, Instead of reading in my previous email: The archive I just uploaded this morning deal with Postfix version =2.8.x logs. Please read: The archive I just uploaded this morning deal with Postfix version _*=2.8.x*_ logs. This is a misstyping from me ;) attachment:

New Postfix log analyzer tool, statistics, grapher, ... PostgreSQL DB 9.2.x based

2013-04-11 Thread Nicolas HAHN
time*_ postfix log analysis, but not only log analysis. This project need several components to work fine, primarily a Linux server running Apache, Php, Rsyslog, postgreSQL 9.2, SNMPD, ... A lot of things are described in the INSTALL file. If you are interested by such project, you can find

Postfix log file question

2012-05-22 Thread Henry Stryker
This is certainly not of critical importance, but my curiosity makes me wonder: May 20 12:28:40 2.6 hyperion postfix/smtpd[22436]: What does the 2.6 signify in every Postfix log line entry? I am running postfix-current on FreeBSD 8.3 mail_version = 2.10-20120423

Re: Postfix log file question

2012-05-22 Thread Ralf Hildebrandt
* Henry Stryker he...@hup.org: This is certainly not of critical importance, but my curiosity makes me wonder: May 20 12:28:40 2.6 hyperion postfix/smtpd[22436]: What does the 2.6 signify in every Postfix log line entry? Dunno. That's probably a function of your syslog daemon

Re: Postfix log file question

2012-05-22 Thread Henry Stryker
On 5/22/12 6:31 AM, Ralf Hildebrandt wrote: What does the 2.6 signify in every Postfix log line entry? Dunno. That's probably a function of your syslog daemon Very good, and thanks for the quick answer. I was able to learn from /usr/include/sys/syslog.h that this maps to a facility

Re: Postfix log file question

2012-05-22 Thread Ralf Hildebrandt
* Henry Stryker he...@hup.org: Very good, and thanks for the quick answer. I was able to learn from /usr/include/sys/syslog.h that this maps to a facility/priority code. 2 = mail 6 = informational Ah, interesting. Wouldn't have been able to guess this :) -- Ralf Hildebrandt

Flexible formatting of Postfix log entries?

2012-04-28 Thread karf96
I've been writing scripts for my loganalysis chores. A typical log entry for a mail transaction looks like, Apr 28 07:01:28 liam postfix/smtpd[17751]: connect from out.somewhere.com[99.99.99.99] Apr 28 07:01:29 liam postfix/smtpd[17751]: 447FC600E1:

Re: Flexible formatting of Postfix log entries?

2012-04-28 Thread John Peach
On Sat, 28 Apr 2012 08:30:54 -0700 kar...@mailcan.com wrote: I've been writing scripts for my loganalysis chores. A typical log entry for a mail transaction looks like, [snip] Since it's Postfix doing the writing to the logs in the 1st place, is it possible to config Postfix to

Re: Flexible formatting of Postfix log entries?

2012-04-28 Thread karf96
On Sat, Apr 28, 2012, at 11:35 AM, John Peach wrote: Since it's Postfix doing the writing to the logs in the 1st place, is it possible to config Postfix to (free)format those It's not postfix - it's syslog. If you look in Postfix's source code ./src/util/msg_syslog.c

Re: Flexible formatting of Postfix log entries?

2012-04-28 Thread Noel Jones
On 4/28/2012 10:30 AM, kar...@mailcan.com wrote: I've been writing scripts for my loganalysis chores. A typical log entry for a mail transaction looks like, ... Personally, I find that difficult to parse at a glance. Although it's certainly a matter of personal taste, I prefer a bit

Re: Flexible formatting of Postfix log entries?

2012-04-28 Thread karf96
On Sat, Apr 28, 2012, at 12:19 PM, Noel Jones wrote: While it would be possible to patch postfix to write logs differently, the better choice is to investigate some of the existing log parsers, such as pflogsumm or postfix-logwatch, and possibly customize them. I'll take a look at both of

Re: Flexible formatting of Postfix log entries?

2012-04-28 Thread Wietse Venema
kar...@mailcan.com: The number of record types that Postfix logs ROUTINELY per email transaction is limited. If takes only a handful of regular expressions to parse those, and this has in fact already been done many times. You can make logfile parsing more robust by turning on non-repeating queue

postfix log

2012-03-22 Thread K bharathan
hi appreciate if somebody could help interpret the following log: Mar 22 21:07:25 relay0 postfix/smtpd[61707]: disconnect from unknown[69.167.155.81] Mar 22 21:07:36 relay0 postfix/scache[61795]: statistics: start interval Mar 22 21:03:29 Mar 22 21:07:36 relay0 postfix/scache[61795]: statistics:

Re: postfix log

2012-03-22 Thread Noel Jones
On 3/22/2012 2:12 PM, K bharathan wrote: hi appreciate if somebody could help interpret the following log: Mar 22 21:07:25 relay0 postfix/smtpd[61707]: disconnect from unknown[69.167.155.81] Mar 22 21:07:36 relay0 postfix/scache[61795]: statistics: start interval Mar 22 21:03:29 Mar 22

Re: email tracking from postfix log file

2012-02-11 Thread Noel Jones
(perpetuating the useless use of cat and the hopelessly muddled top posting) cat /var/log/maillog | egrep -i 'from=.*@yahoo\.com.*to=' -- Noel Jones On 2/11/2012 1:42 AM, kshitij mali wrote: hi Ralf , Thanks for help me . with the below expression its is showing me the logs for both

Re: email tracking from postfix log file

2012-02-10 Thread kshitij mali
hi Ralf , Thanks for help me . with the below expression its is showing me the logs for both from= and to= logs what i wanted was only match the expression from each like only from=anythingh...@gmail.com lines i know this will be tricky i m to trying to solve this expression if u can then pls

Re: email tracking from postfix log file

2012-02-09 Thread kshitij mali
Hi , how to trace email from particular domain i want to trace all log from yahoo.com cat /var/log/maillog | egrep -i 'from=*@yahoo.com' the above commad is not working properly pls some help me with regular expression Regards kshitij On Wed, Jun 1, 2011 at 6:07 PM, Duane Hill

Re: email tracking from postfix log file

2012-02-09 Thread Ralf Hildebrandt
* kshitij mali foreplay...@gmail.com: Hi , how to trace email from particular domain i want to trace all log from yahoo.com cat /var/log/maillog | egrep -i 'from=*@yahoo.com' cat /var/log/maillog | egrep -i 'from=.*@yahoo\.com' -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung

Re: email tracking from postfix log file

2012-02-09 Thread Tom Kinghorn
On 10/02/2012 09:28, Ralf Hildebrandt wrote: * kshitij maliforeplay...@gmail.com: cat /var/log/maillog | egrep -i 'from=.*@yahoo\.com' Why waste processing cycles, just use egrep instead of using cat first. egrep -i 'from=.*@yahoo\.com' /var/log/maillog

Re: email tracking from postfix log file

2012-02-09 Thread Ralf Hildebrandt
* Tom Kinghorn thomas.kingh...@gmail.com: On 10/02/2012 09:28, Ralf Hildebrandt wrote: * kshitij maliforeplay...@gmail.com: cat /var/log/maillog | egrep -i 'from=.*@yahoo\.com' Why waste processing cycles, just use egrep instead of using cat first. egrep -i 'from=.*@yahoo\.com'

postfix log

2011-11-18 Thread Amira Othman
Hi all Is it possible to have postfix log to be written in database instead of file? If it's not possible could I copy some information out of log file and then insert them in database? regards

Re: postfix log

2011-11-18 Thread Brian Evans - Postfix List
On 11/18/2011 8:45 AM, Amira Othman wrote: Hi all Is it possible to have postfix log to be written in database instead of file? If it’s not possible could I copy some information out of log file and then insert them in database? As reported to you twice in the past week, Postfix logs

Re: postfix log

2011-11-18 Thread Wietse Venema
Brian Evans - Postfix List: Hi all Is it possible to have postfix log to be written in database instead of file? If it?s not possible could I copy some information out of log file and then insert them in database? As reported to you twice in the past week, Postfix logs to your

Re: postfix log

2011-11-18 Thread jeffrey j donovan
On Nov 18, 2011, at 8:45 AM, Amira Othman wrote: Hi all Is it possible to have postfix log to be written in database instead of file? If it’s not possible could I copy some information out of log file and then insert them in database? regards you can cat awk grep sed /var/log/filename

Re: postfix log

2011-11-18 Thread Leslie León Sinclair
You can do a python script to parse/split in different lines or parameters /var/log/[mail.log | maillog] and insert records into MySQL database. Best regards, Leslie. -- /*** *Leslie León Sinclair *Administrador de Redes *Facultad de Ingenieria

Re: statistics tool for postfix log files

2011-10-28 Thread Leslie León Sinclair
PFlogsumm could help you, there is a nice tutorial in [1], combined with and mailgraph, I think is a very good option. HTH, Leslie. [1] http://www.howtoforge.com/postfix-monitoring-with-mailgraph-and-pflogsumm-on-debian-lenny -- /*** *Leslie

Re: statistics tool for postfix log files

2011-10-28 Thread Stan Hoeppner
On 10/28/2011 6:17 AM, wei...@dfbnet.org wrote: Hi all, I try to create statistics for my postfix mailserver for reporting puposes. I have different virtual domains on in and do mail routing for customers. I want to see which servers connect to deliver, how many mails are send to which

Re: statistics tool for postfix log files

2011-10-28 Thread James Seymour
On Fri, 28 Oct 2011 13:17:12 +0200 wei...@dfbnet.org wrote: Hi all, [snip] I read about mailgraph and pflogsumm but these stats are not as detailed as i try to have. You want *more* detail than Pflogsumm gives? Wow. Most people have been pestering me to *reduce* it. On Fri, 28 Oct 2011

Re: statistics tool for postfix log files

2011-10-28 Thread Simon Deziel
On 10/28/2011 02:23 PM, James Seymour wrote: On Fri, 28 Oct 2011 13:17:12 +0200 wei...@dfbnet.org wrote: Hi all, [snip] I read about mailgraph and pflogsumm but these stats are not as detailed as i try to have. You want *more* detail than Pflogsumm gives? Wow. Most people have been

email tracking from postfix log file

2011-06-01 Thread kshitij mali
I want to list email send to the domain gmail.com how to achive it cat /var/log/maillog | grep -i cleanup | egrep 'to=*@gmail.com' where * = all user of gmail.com domain i think is the above reular expression is correct ? Please help i want the count for how mail email are sent to

Re: email tracking from postfix log file

2011-06-01 Thread Ralf Hildebrandt
* kshitij mali foreplay...@gmail.com: I want to list email send to the domain gmail.com how to achive it cat /var/log/maillog | grep -i cleanup | egrep 'to=*@gmail.com' where * = all user of gmail.com domain i think is the above reular expression is correct ? No. egrep

Re: email tracking from postfix log file

2011-06-01 Thread kshitij mali
Thank u ralf Can u please give me link for learn regular experssion all alway get complex reqirement to track the postfix log more oftenly which will help me . for example 1. how many email got dilver from one intenal user for certain domain in last 5 hrs 2. how many email got

Re: email tracking from postfix log file

2011-06-01 Thread Ralf Hildebrandt
* kshitij mali foreplay...@gmail.com: Thank u ralf Can u please give me link for learn regular experssion The best book is: http://oreilly.com/catalog/9780596002893 (IMHO of course) -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin

Re: email tracking from postfix log file

2011-06-01 Thread postfix
experssion all alway get complex reqirement to track the postfix log more oftenly which will help me . for example 1. how many email got dilver from one intenal user for certain domain in last 5 hrs 2. how many email got deliver from one user to external domains for last 3 week

Re: email tracking from postfix log file

2011-06-01 Thread Duane Hill
Wednesday, June 1, 2011, 3:33:41 AM, Ralf wrote: * kshitij mali foreplay...@gmail.com: Thank u ralf Can u please give me link for learn regular experssion The best book is: http://oreilly.com/catalog/9780596002893 (IMHO of course) I also use: http://www.regular-expressions.info/ --

Question about postfix log performance

2011-02-18 Thread Maria Arrea
Hello I have Red Hat Enterprise Linux 5, postfix 2.3.3 and dovecot 2.0.9. Mails are delivered to dovecot by virtual_transport=dovecot and the mailbox_command is /usr/libexec/dovecot/deliver. Everything works as expected. In dovecot I am testing enabling zlib compression to save some IOPs and

Re: Question about postfix log performance

2011-02-18 Thread Maria Arrea
Hello How do I increase the number of /delivery slots/. I have /dovecot_destination_recipient_limit = 1/ in main.cf. In the postfix man page (8) of /pipe/ talks about single recipient delivery, and dovecot doc talks about not increasing this limit. Should I increase this parameter? Or the

  1   2   >