[Exim] Error with -bS option (solved)

Pàgina inicial
Delete this message
Reply to this message
Autor: Lumpp, Wolfgang
Data:  
A: exim-users
Assumpte: [Exim] Error with -bS option (solved)
Hi there,
here I have a piece of my logfile.
The script sends back the mail to exim with -bS -oMr scanned-ok
I expected to see this "scanned-ok" in the log.
And why all mails goes 4 times through the pipe?

The director:
scanmails:
condition = "${if or {{eq {$received_protocol}{scanned-ok}}} \
        {0}{1}}²
driver = localuser
transport = scanmails


All mails are delivered twice, local mailbox for backup and to msc_01
(Exchange server)
2000-06-13 09:44:03 131lMh-0005UK-00 <= wol@??? H=msc_01.msc-ge.com
[1.9.205.4] P=esmtp S=782
id=00ABC0EC263DD311A5BF00E029287CAF01027859@MSC_01.msc-ge.com T="test1" from
<wol@???> for wol@???
2000-06-13 09:44:03 SMTP connection from msc_01.msc-ge.com [1.9.205.4]
closed by QUIT
2000-06-13 09:44:06 131lMk-0005Wd-00 <= wol@??? U=amavis
P=local-bsmtp S=886
id=00ABC0EC263DD311A5BF00E029287CAF01027859@MSC_01.msc-ge.com T="test1" from
<wol@???> for wol@???
2000-06-13 09:44:08 131lMm-0005Z4-00 <= wol@??? U=amavis
P=local-bsmtp S=1038
id=00ABC0EC263DD311A5BF00E029287CAF01027859@MSC_01.msc-ge.com T="test1" from
<wol@???> for wol@???
2000-06-13 09:44:10 131lMo-0005bY-00 <= wol@??? U=amavis
P=local-bsmtp S=1190
id=00ABC0EC263DD311A5BF00E029287CAF01027859@MSC_01.msc-ge.com T="test1" from
<wol@???> for wol@???
2000-06-13 09:44:12 131lMq-0005e2-00 <= wol@??? U=amavis
P=local-bsmtp S=1342
id=00ABC0EC263DD311A5BF00E029287CAF01027859@MSC_01.msc-ge.com T="test1" from
<wol@???> for wol@???
2000-06-13 09:44:12 131lMq-0005e2-00 => wol <wol@???> D=localuser
T=local_delivery
2000-06-13 09:44:12 131lMq-0005e2-00 => wol@msc_01.msc-ge.com
<wol@???> R=msc01_route T=local_smtp H=msc_01.msc-ge.com [1.9.205.4]
2000-06-13 09:44:12 131lMq-0005e2-00 Completed
2000-06-13 09:44:12 131lMo-0005bY-00 => wol <wol@???> D=scanmails
T=scanmails
2000-06-13 09:44:12 131lMo-0005bY-00 Completed
2000-06-13 09:44:13 131lMm-0005Z4-00 => wol <wol@???> D=scanmails
T=scanmails
2000-06-13 09:44:13 131lMm-0005Z4-00 Completed
2000-06-13 09:44:13 131lMk-0005Wd-00 => wol <wol@???> D=scanmails
T=scanmails
2000-06-13 09:44:13 131lMk-0005Wd-00 Completed
2000-06-13 09:44:13 131lMh-0005UK-00 => wol <wol@???> D=scanmails
T=scanmails

Thanks alot and regards
Wolfgang