mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-23 15:37:01 +00:00
chasquid: Detect email loops
This patch implements some measures against email loops, such as keeping a limit on the lenght of an address, and rejecting email that has too many Received headers. It's not perfect (a server could be actively removing Received headers), but it should cover the normal accidents and misconfigurations.
This commit is contained in:
8
test/t-09-loop/A/chasquid.conf
Normal file
8
test/t-09-loop/A/chasquid.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
smtp_address: ":1025"
|
||||
submission_address: ":1587"
|
||||
monitoring_address: ":1099"
|
||||
|
||||
mail_delivery_agent_bin: "test-mda"
|
||||
mail_delivery_agent_args: "%to%"
|
||||
|
||||
data_dir: "../.data-A"
|
||||
2
test/t-09-loop/A/domains/srv-A/aliases
Normal file
2
test/t-09-loop/A/domains/srv-A/aliases
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
aliasA: aliasB@srv-B
|
||||
Reference in New Issue
Block a user