-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi Robert,

Am Do den 18. Dez 2014 um 20:01 schrieb Robert Blayzor:
> I am trying to track down an issue with a router I am running some embedded 
> perl code in.  I my exim log it appears that the code is called twice and I'm 
> trying to avoid that.
> 
> For a single inbound message in my logs I see:
> 
> 18:41:37.471 exim[21050]: Perl says hello pid=21050
> 18:41:37.493 exim[21050]: 1Y1g13-0005TW-FN <= [email protected] H=xxx [] P=esmtp 
> S=3802 id=xxxx.org
> 18:41:37.916 exim[21052]: 1Y1g13-0005TW-FN Perl says hello pid=21052
> 18:41:37.984 exim[21052]: 1Y1g13-0005TW-FN => [email protected] R=pg_dbuser 
> T=mdir_deliver
> 18:41:37.986 exim[21052]: 1Y1g13-0005TW-FN Completed

The key is that one is executed without ID and one with. I think you are
doing delivery verification in incoming ACL (most probably). That will
go through the router also in verification step. As this is done before
data part, there is no message id available.

You should set verify to false in your router or handle the verification
step in your script. (You might use the fact that there is no message id
in verification but I am not fully true that this is the case in any
cases.) See also [0].

Regards
   Klaus

[0] 
http://exim.org/exim-html-current/doc/html/spec_html/ch-generic_options_for_routers.html
- -- 
Klaus Ethgen                              http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16   Klaus Ethgen <[email protected]>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQGcBAEBCgAGBQJUkyyXAAoJEKZ8CrGAGfasJPkL/jp9xJUQSv+Jnc/W+sc3RKOk
naso7nKy3k2M0ISrZCZdvibMJgujAjMdINBvrGkM8ag1vRB/X91UbQzn8o6e58Kc
7c8OarWERgJaJYL/UXlFkhLhs5Ji74+cCcenneMBrYrYay+Nip6s+tx2unPoxYIi
aCzGi0j4A+hwGzVxlsUCpa8OYh/r6Q5ickPvhBwDYxGkph1z795TmOr+m928G4gz
Iu3qX/dvv8vgibfHWHnMvOmOIJv0WBTZIgVYkfAi7pmc1poHv/BB9S+3kjIU89nT
59Fepok+dcpxID0zaomO2aU17cx4pGZ+bJIrS1W8K7AMhqKdTa7VyHBFjwzGFRaz
FXntl/i+ieWtYL5/J7zQv6HvpxIHk95WKz1jWs9NSDlAF5frECKqmGgPiLVQI7gv
djTt2RjsRh9EfSARcVi/vVX027BL5nAsZ4lKs8x47z7GAXCYgL+W4afZOhKjrQrR
QgVl3ErjwiffjnJZKnkRd8MHuXIoFKyZJoJjF9tXAQ==
=36hj
-----END PGP SIGNATURE-----

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to