Hello,
I'm trying to limit the number of recipients of an incoming message in
order to make cutthrough delivery working (since it works with one
recipient only, currently).
I've setup the rcpt acl:
defer domains = example.com
condition = $recipients_count
warn domains = example.com
control = cutthrough_delivery
…
accept
Sending now to two recpiens:
…
-> RCPT TO:<peter.[hidden]@foo.[hidden].de>
<- 250 Accepted
-> RCPT TO:<foo@foo.[hidden].de>
<** 451 Temporary local problem - please try later <--- expected
-> DATA
…
<- 250 OK id=1XqMmX-0004fk-Fe
Here the log:
1XqMmX-0004fk-Fe <= hs@??? H=hh.schlittermann.de [213.128.132.49] P=esmtp S=931 T="test Mon, 17 Nov 2014 14:55:53 +0100" from <hs@???> for peter.[hidden]@foo.[hidden].de
1XqMmX-0004fk-Fe => peter.[hidden]@foo.[hidden].de F=<hs@???> P=<hs@???> R=rr_exchange ...
1XqMmX-0004fk-Fe Completed QT=2s
Note the '=>' in front of the recipient, no indication of cutthrough.
Sending the message to just one recipient works as expected, the '>>'
appears in the log, indicating cutthrough delivery.
What's wrong here? (Using condition = ${if >{$rcpt_count}{1}} doesn't
change the result.)
I know that cutthrough routing is dropped if there is any subsequent
recipient, but if I do not allow subsequent recipients, I'd expect the
cutthrough setup to remain.
Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
gnupg encrypted messages are welcome --------------- key ID: 7CBF764A -
gnupg fingerprint: 9288 F17D BBF9 9625 5ABC 285C 26A9 687E 7CBF 764A -
(gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B)-