diff options
Diffstat (limited to 'test/scripts/0000-Basic')
-rw-r--r-- | test/scripts/0000-Basic/0538 | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0538 b/test/scripts/0000-Basic/0538 new file mode 100644 index 000000000..c464f3bf1 --- /dev/null +++ b/test/scripts/0000-Basic/0538 @@ -0,0 +1,39 @@ +# callout for recipient/use_sender after mail from:<> rejection +need_ipv4 +# +# Do a sender address verify that rejects MAIL FROM:<> +server PORT_S +220 Welcome +HELO +250 Hi +MAIL FROM +550 I'm misconfigured +QUIT +221 Bye +**** +exim -bs +mail from:<userx@broken.example> +quit +**** +# Now do a recipient verify for the same domain, with use_sender +server PORT_S +220 Welcome +HELO +250 Hi +MAIL FROM +250 OK +RCPT TO +250 OK +QUIT +221 Bye +**** +exim -bs +mail from:<userx@ok.example> +rcpt to:<usery@broken.example> +quit +**** +# A final check that the cache works for sender address +exim -bs +mail from:<userx@broken.example> +quit +**** |