niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Postfix
pflogsumm broken again?
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
cnschulz
*nix forums beginner


Joined: 08 May 2008
Posts: 3

PostPosted: Wed May 14, 2008 2:27 am    Post subject: pflogsumm broken again? Reply with quote

Hi,

Im seein that my pflogsumm is incorrectly reporting messages as deferred when they have actually been delivered.

I have tracked down the problem to messages that have a conn_use of 1 (that is, the conn_use entry is *not* in the log listing)

here is an example of a message that *is* listed as sent:

May 14 00:01:05 zoidberg postfix/smtp[28326]: 195861B8073: to=<xxx@hotmail.com>, relay=mail.xxx.com.au[xxx.xxx.xxx.xxx]:25, conn_use=33, delay=603, delays=561/40/0.07/0.94, dsn=2.0.0, status=sent (250 2.0.0 m4DE0Ie2002528 Message accepted for delivery)

and one that is listed as deferred (incorrectly)

May 14 00:05:26 zoidberg postfix/smtp[28796]: D06984180F1: to=<xxx@mac.com>, relay=mail.xxx.com.au[xxx.xxx.xxx.xxx]:25, delay=904, delays=901/0.02/1.8/0.88, dsn=2.0.0, status=sent (250 2.0.0 m4DE5GpR008404 Message accepted for delivery)

and here is the regex that i think is at fault

elsif((($addr, $relay, $delay, $status, $toRmdr) = $logRmdr =~
/to=<([^>]*)>, (?:orig_to=<[^>]*>, )?relay=([^,]+), (?:conn_use=[^,]+, )?delay=([^,]+), (?:delays=[^,]+, )?(?:dsn=[^,]+, )?status=(\S+)(.*)$/o) >= 4)

any ideas?

c.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Thu Nov 20, 2008 8:33 am | All times are GMT
navigation Forum index » Apps » Postfix
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts pflogsumm broken again? cnschulz Postfix 0 Wed May 14, 2008 2:28 am
No new posts FreeBSD + pkg_add = Broken pipe Ed Jensen FreeBSD 3 Wed Jul 12, 2006 3:18 pm
No new posts How do I tell Aptitude to Ignore a Broken Package? Jeff Stevens Debian 1 Tue Jul 11, 2006 5:20 am
No new posts python2.4 gtk2 broken Kai Schroeder Debian 1 Mon Jul 10, 2006 4:40 pm
No new posts Broken applications: Could we be honest? Arthur H. Edwards Debian 30 Sat Jul 08, 2006 4:20 pm

Personal Loans | Loans | Personal Loans | Western Union Locations | Mortgages
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0997s ][ Queries: 16 (0.0337s) ][ GZIP on - Debug on ]