diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2018-05-13 22:02:59 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2018-05-16 21:17:53 +0100 |
commit | 2ddb4094c1b6861bebe191fa1466f53399e1e6d9 (patch) | |
tree | b6a86b8e0f596e92027cc9ddf4fad886ee7a0234 /test | |
parent | 1bd642c265dae5643f16d023879043b7576f66a9 (diff) |
Callouts: record succeeding random local-part tests. Bug 177
Diffstat (limited to 'test')
-rw-r--r-- | test/confs/0376 | 4 | ||||
-rw-r--r-- | test/log/0376 | 4 | ||||
-rw-r--r-- | test/stderr/0376 | 8 |
3 files changed, 16 insertions, 0 deletions
diff --git a/test/confs/0376 b/test/confs/0376 index 6162c2c9d..e3a158f7e 100644 --- a/test/confs/0376 +++ b/test/confs/0376 @@ -36,6 +36,10 @@ check_recipient: !verify = sender/callout=postmaster_mailfrom=pmsend@a.domain deny hosts = V4NET.0.0.9 !verify = sender/callout=fullpostmaster + warn !hosts = V4NET.0.0.10 + condition = ${if def:sender_verify_failure} + logwrite = ($sender_verify_failure) + deny hosts = V4NET.0.0.10 !verify = recipient/callout=postmaster_mailfrom=pmsend@b.domain,\ use_postmaster,random/defer_ok diff --git a/test/log/0376 b/test/log/0376 index fa191bcd5..8c98166da 100644 --- a/test/log/0376 +++ b/test/log/0376 @@ -12,6 +12,10 @@ 1999-03-02 09:44:33 H=[V4NET.0.0.2] U=root F=<ok@otherhost> rejected RCPT <z@test.ex>: Sender verify failed 1999-03-02 09:44:33 H=[V4NET.0.0.2] U=root sender verify fail for <ok@otherhost> 1999-03-02 09:44:33 H=[V4NET.0.0.2] U=root F=<ok@otherhost> rejected RCPT <z@test.ex>: Sender verify failed +1999-03-02 09:44:33 (random) +1999-03-02 09:44:33 (random) +1999-03-02 09:44:33 (random) +1999-03-02 09:44:33 (random) 1999-03-02 09:44:33 H=[V4NET.0.0.5] U=root sender verify defer for <okok@otherhost51>: Could not complete sender verify callout: 127.0.0.1 [127.0.0.1] : SMTP timeout after RCPT TO:<myhost.test.ex-dddddddd-testing@otherhost51> 1999-03-02 09:44:33 H=[V4NET.0.0.5] U=root F=<okok@otherhost51> temporarily rejected RCPT <z@test.ex>: Could not complete sender verify callout 1999-03-02 09:44:33 10HmaX-0005vi-00 <= ok7@otherhost53 H=[V4NET.0.0.7] U=root P=smtp S=sss diff --git a/test/stderr/0376 b/test/stderr/0376 index 0a2c4f63b..1881c80c2 100644 --- a/test/stderr/0376 +++ b/test/stderr/0376 @@ -323,6 +323,8 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected SMTP(close)>> wrote callout cache domain record for otherhost3: result=1 postmaster=0 random=1 +LOG: MAIN + (random) LOG: smtp_connection MAIN SMTP connection from root closed by QUIT >>>>>>>>>>>>>>>> Exim pid=pppp (msg setup toplevel) terminating with rc=0 >>>>>>>>>>>>>>>> @@ -339,6 +341,8 @@ Considering otherok@otherhost3 Attempting full verification using callout callout cache: found domain record for otherhost3 callout cache: domain accepts random addresses +LOG: MAIN + (random) LOG: smtp_connection MAIN SMTP connection from root closed by QUIT >>>>>>>>>>>>>>>> Exim pid=pppp (msg setup toplevel) terminating with rc=0 >>>>>>>>>>>>>>>> @@ -369,6 +373,8 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected SMTP(close)>> wrote callout cache domain record for otherhost4: result=1 postmaster=0 random=1 +LOG: MAIN + (random) LOG: smtp_connection MAIN SMTP connection from root closed by QUIT >>>>>>>>>>>>>>>> Exim pid=pppp (msg setup toplevel) terminating with rc=0 >>>>>>>>>>>>>>>> @@ -385,6 +391,8 @@ Considering ok@otherhost4 Attempting full verification using callout callout cache: found domain record for otherhost4 callout cache: domain accepts random addresses +LOG: MAIN + (random) LOG: smtp_connection MAIN SMTP connection from root closed by QUIT >>>>>>>>>>>>>>>> Exim pid=pppp (msg setup toplevel) terminating with rc=0 >>>>>>>>>>>>>>>> |