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 what's

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 - fantomas

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 rename

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 create

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 s

Re: Postfix log

2019-08-09 Thread Enrico Morelli
On Fri, 9 Aug 2019 08:18:21 + Matthew Lowy wrote: > Hi Enrico, > > I can't speak for why postscript behaviour has changed, but this is a > known issue for other applications that hold a file open across time > instead of opening it to write / closing it after write. Logrotate > allows you to

RE: Postfix log

2019-08-09 Thread Matthew Lowy
Hi Enrico, I can't speak for why postscript behaviour has changed, but this is a known issue for other applications that hold a file open across time instead of opening it to write / closing it after write. Logrotate allows you to put in a postrotate / endscript sequence that can be used to mak

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 https://www.balabit.com/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/htm

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, bitdefender & clamav for spam and vir

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 >whitelist/blacklist etc, now i

Re: Postfix log file question

2012-05-22 Thread Ralf Hildebrandt
* Henry Stryker : > 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 Geschäftsbereich IT

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 Chris Robinson
On 22/05/2012 15:29, Henry Stryker wrote: 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_versio

Re: Postfix log file question

2012-05-22 Thread Ralf Hildebrandt
* 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? Dunno. That's probably a function of your syslog daemon -- Ral

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 > Ma

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 E

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/fil

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

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 lo

Re: postfix log

2009-10-15 Thread Noel Jones
On 10/15/2009 1:36 PM, Mark Johnson wrote: Where I can setup log level on postfix to look at more details hankshake between server and client? I have default setting on debug_peer_level = 2 Sendmail has LogLevel=15 Thanks. MJ Generally you add the interesting client IP to debug_peer_lis

Re: postfix log format

2009-04-08 Thread kj
Wietse Venema wrote: Postfix logging is not yet documented - it is one of those ancient pieces of version "zero" code that was meant to be replaced by real code that is properly configurable. If it's not broken, don't fix it. :) Working with qmail all day, I really appreciate the postfix log

Re: postfix log format

2009-04-08 Thread Magnus Bäck
On Wed, April 8, 2009 12:14 pm, jittinan suwanrueangsri said: > I want to know message size of an email which was send through postfix.A > part of raw log is shown as below > > Apr 8 14:22:02 MailSecure03 postfix/smtpd[32388]: BA1CE38965: client= > mail.example.com[x.x.x.x] > Apr 8 14:22:03 Mail

Re: postfix log format

2009-04-08 Thread jittinan suwanrueangsri
Hi All I want to know message size of an email which was send through postfix.A part of raw log is shown as below Apr 8 14:22:02 MailSecure03 postfix/smtpd[32388]: BA1CE38965: client= mail.example.com[x.x.x.x] Apr 8 14:22:03 MailSecure03 postfix/cleanup[32070]: BA1CE38965: message-id=<49dc4d9a.

Re: postfix log format

2009-04-07 Thread Wietse Venema
jittinan suwanrueangsri: > Hi everybody > > Are there any postfix log format documents so I can understand meaning of > each column in raw log ? Postfix logging is not yet documented - it is one of those ancient pieces of version "zero" code that was meant to be replaced by real code that is prop

Re: Postfix Log Analysis options

2008-09-24 Thread mouss
James Robertson wrote: We use postfix as a relay and Antispam filter in front of an Exchange Server. Please do not hijack unrelated threads. compose a _new_ mail instead of replying to an unrelated one. Management want to log the sender and recipient of emails both inbound and outbound an

Re: Postfix Log Analysis options

2008-09-23 Thread Sahil Tandon
James Robertson <[EMAIL PROTECTED]> wrote: > We use postfix as a relay and Antispam filter in front of an Exchange > Server. > > Management want to log the sender and recipient of emails both inbound and > outbound and the totals for a given period e.g. 24 hours and have it easily > viewable in

Re: Postfix log warning

2008-08-05 Thread Ken Hathaway
Doh! forgot to include this kenhat: postconf -d myhostname myhostname = swi.spellwellinc.com SWI.spellwellinc.com:~ On Tue, Aug 5, 2008 at 6:01 PM, Ken Hathaway <[EMAIL PROTECTED] > wrote: > Thanks Brian! You got me going in the right direction. > > I probably should have mentioned that this ru

Re: Postfix log warning

2008-08-05 Thread Ken Hathaway
Thanks Brian! You got me going in the right direction. I probably should have mentioned that this running in a FreeBSD jail. I read the archive reference you gave and pulled and compiled gethostbyaddr & gethostbyname. I haven't used c in long time so I was pretty impressed with myself getting the

Re: Postfix log warning

2008-08-05 Thread Brian Evans - Postfix List
Ken Hathaway wrote: First off I don't think this is a postfix problem. I'm hoping someone here has seen something similar and can help me out. Google so far has turned up nothing for me. :( I get this same warning from gmail, yahoo & live. The email goes straight the the junk email folder o