exim4:stop_exim_being_an_open_relay
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
exim4:stop_exim_being_an_open_relay [2016/11/01 12:34] – [Exim4 - Stop Exim being an open relay] peter | exim4:stop_exim_being_an_open_relay [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 52: | Line 52: | ||
< | < | ||
accept | accept | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ===== Using acl_rcpt_to ===== | ||
+ | |||
+ | A sample statement in the **acl_rcpt_to** ACL above may look like this: | ||
+ | |||
+ | < | ||
+ | deny | ||
+ | message | ||
+ | !hosts | ||
+ | !domains = +local_domains : +relay_to_domains | ||
+ | delay = 1m | ||
+ | </ | ||
+ | |||
+ | This statement will reject the **RCPT TO:** command if it was not delivered by a host in the " | ||
+ | |||
+ | To evaluate a particular ACL at a given stage of the message transaction, | ||
+ | |||
+ | < | ||
+ | acl_smtp_rcpt = acl_rcpt_to | ||
</ | </ | ||
exim4/stop_exim_being_an_open_relay.1478003682.txt.gz · Last modified: 2020/07/15 09:30 (external edit)