diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2021-05-16 19:11:19 +0200 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2021-05-17 12:09:31 +0200 |
commit | d4bc023436e4cce7c23c5f8bb5199e178b4cc743 (patch) | |
tree | 3452117ade2382d14284b0065a9204780eb42c88 /test/mail/0049.userx | |
parent | 159cf206c97f876b07829d92db2217689745c1e8 (diff) |
Fix host_name_lookup (Close 2747)
Thanks to Nico R for providing a reproducing configuration.
host_lookup = *
message_size_limit = ${if def:sender_host_name {32M}{32M}}
acl_smtp_connect = acl_smtp_connect
acl_smtp_rcpt = acl_smtp_rcpt
begin acl
acl_smtp_connect:
warn ratelimit = 256 / 1m / per_conn
accept
acl_smtp_rcpt:
accept hosts = 127.0.0.*
begin routers
null:
driver = accept
transport = null
begin transports
null:
driver = appendfile
file = /dev/null
Tested with
swaks -f mailbox@example.org -t mailbox@example.org --pipe 'exim -bh 127.0.0.1 -C /opt/exim/etc/exim-bug.conf'
The IP must have a PTR to "localhost." to reproduce it.
(cherry picked from commit 20812729e3e47a193a21d326ecd036d67a8b2724)
Diffstat (limited to 'test/mail/0049.userx')
0 files changed, 0 insertions, 0 deletions