[exim] Doubled log lines

Página Inicial
Delete this message
Reply to this message
Autor: Christian Gregoire
Data:  
Para: exim-users
Assunto: [exim] Doubled log lines
Hello,

Exim 4.60 / Linux 2.4.25. Configuration file at the bottom of this post.

I have a strange behaviour where errors are logged twice.

- Using exim log files, one line is written to main.log and another one (the same) to reject.log.

main.log :
2006-04-20 15:04:40 exim 4.60 daemon started: pid=26341, -q1h, listening for SMTP on port 25 (IPv4)
2006-04-20 15:04:40 Start queue run: pid=20798
2006-04-20 15:04:40 End queue run: pid=20798
2006-04-20 15:05:19 H=(toto) [192.9.205.238] F=<> rejected RCPT <p@???>: Address deactivated

reject.log :
2006-04-20 15:05:19 H=(toto) [192.9.205.238] F=<> rejected RCPT <p@???>: Address deactivated

- When using syslog, the behaviour is slightly different. When an error occurs, only one line is written to maillog. If another error occurs, say 10 minutes later, one line correponding to the current error is written, and another one corresponding to the previous error. And so on

Apr 20 16:28:54 fedora exim[20919]: H=(toto) [192.9.205.238] F=<> rejected RCPT <p@???>: Address deactivated
Apr 20 16:28:54 fedora exim[20919]: H=(toto) [192.9.205.238] F=<> rejected RCPT <p@???>: Address deactivated
Apr 20 16:35:24 fedora exim[20920]: H=(toto) [192.9.205.238] F=<> rejected RCPT <p@???>: Address deactivated
Apr 20 16:35:24 fedora exim[20920]: H=(toto) [192.9.205.238] F=<> rejected RCPT <p@???>: Address deactivated
Apr 20 16:40:24 fedora exim[20920]: SMTP command timeout on connection from (toto) [192.9.205.238]

Line #1 written at 16:28:54, line #2 and line #3 written at 16:35:24, though line #2 shows 16:28:54.
Line #4 and line #5 written at 16:40:24 though line #4 shows 16:35:24.

Anyone has an idea ? Thanks.

Christian.

---------------- configuration file ----------------

acl_smtp_rcpt    = acl_check_rcpt


#log_file_path = /var/spool/exim/log/%s.log

############## ACL ##############
begin acl

acl_check_rcpt:

  deny   recipients     = p@???
            condition      = ${if =={${strlen:$sender_address}}{0}}
            message      = Address deactivated


accept

############## ROUTERS ##############
begin routers

localuser: 
  driver      = accept
  transport = local_delivery


############## TRANSPORTS ##############
begin transports

local_delivery:
  driver = appendfile
  file     = /var/mail/$local_part
  group = mail
  mode = 0660
  delivery_date_add
  envelope_to_add
  return_path_add