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 disk 
space. I use the software postal to generate mail load and send 30.000 messages 
of 2 megabytes in 1 hour, always the same test, with compression enabled & 
disabled.

 My first question is about logs. Without compression in dovecot I got log 
lines like this:

 /Feb 4 14:10:13 buzon postfix/pipe[4018]: 4EA77C7775: to=<cor...@us.es>, 
relay=dovecot, delay=1.6, delays=1.3/0.17/0/0.12, dsn=2.0.0, status=sent 
(delivered via dovecot service)/

 With compression enabled:

Feb 3 17:48:25 buzon postfix/pipe[8263]: 2169CC7758: to=<javierdemig...@us.es>, 
relay=dovecot, delay= *13*, delays= *0.83/11/0/1.2*, dsn=2.0.0, status=sent 
(delivered via dovecot service)

 I have read postfix doc about logs time stamps and I got the following:

# Message delivery time stamps# delays=a/b/c/d, where# a = time before queue 
manager, including message transmission# b = time in queue manager# c = 
connection setup including DNS, HELO and TLS;# d = message transmission time.

 I have read the doc "postfix anatomy" and I do not fully understand each 
number. Let's resume it

 With compression in mailboxes: delay= *13*, delays= *0.83/11/0/1.2*
 Without compression:  /delay=1.6, delays=1.3/0.17/0/0.12

The big difference is the second value,  /"b - time in queue manager"/. When is 
the mailbox_command executed & measured ? In b or in d ?



 My second question: I use syslog for logging. I have the following line in 
/etc/syslog.conf

 mail.* -/var/log/maillog

 What can I do to improve logging perfomance? I would like to stick with 
standard syslog.

 Regards

 Maria

Reply via email to