[exim] exim4 and mc interaction?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: ai
Date:  
À: exim-users
Sujet: [exim] exim4 and mc interaction?

Hi,

When I run exim from Midnight Commander (mc) shell prompt with the command:

server:~# exim4 -d admin < /dev/nul

I observe two things:
1. output to stderr is truncated:
<cut>
LOG: MAIN
<= root@??? U=root P=local S=282
search_tidyup called
exec /usr/sbin/exim4 -d=0xfbb95cfd -Mc 1GhS3H-0007aL-SZ
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=29161 terminating with rc=0 >>>>>>>>>>>>>>>>

server:~#

2. the message is not delivered immediately:
2006-11-07 15:44:29 1GhSBh-0007aS-3o <= root@??? U=root P=local
S=282
2006-11-07 15:35:47 1GhS3H-0007aL-SZ == admin@??? R=procmail defer
(-1): require_files: error for /home/admin/.procmailrc: Input/output error

When the time comes and the queue is processed (or forced with the same
command as above: exim4 -d=0xfbb95cfd -Mc 1GhS3H-0007aL-SZ) the message is
delivered without any problem.

Now: when I run initial command redirecting stderr to file:
server:~# exim4 -d admin < /dev/nul 2>exim4-err

the message is delivered immediatelly:
2006-11-07 15:44:57 1GhSC9-0007aV-PG <= root@??? U=root P=local
S=282
2006-11-07 15:44:57 1GhSC9-0007aV-PG => admin <admin@???>
R=local_user T=mail_spool
2006-11-07 15:44:57 1GhSC9-0007aV-PG Completed

Also when I run my initial command (no redirection) _not_ from mc shell prompt
the messages is delivered immediatelly.


Q: What is that interaction between exim4 and mc?
Is there any way to increase exim verbosity to debug this problem?

All above was done in Debian-default Exim4 environment.
Would you please confirm or comment my observations. Thanks. AI