comparison examples/example.route @ 317:55b7bde95d37

reworked allowed and denied addrs for routes The following refactorings had been made: - allowed_mail_locals + allowed_return_paths -> allowed_senders - not_allowed_mail_locals + not_allowed_return_paths -> denied_senders - allowed_rcpt_domains -> allowed_recipients - not_allowed_rcpt_domains -> denied_recipients The new options allow more consistent and more flexible matching.
author meillo@marmaro.de
date Thu, 28 Apr 2011 09:55:06 +0200
parents dc89737b27aa
children ddb7b3fd3d08
comparison
equal deleted inserted replaced
316:d596ac8b5afb 317:55b7bde95d37
4 # 4 #
5 # mail properties tested for: 5 # mail properties tested for:
6 # 6 #
7 7
8 # users that can send mail over this connection: 8 # users that can send mail over this connection:
9 # this is a list of the local parts of the original return addresses, as they are 9 # this is a list of the envelope sender addresses, as they are
10 # configured with your mail client. If not set, anybody may send. 10 # configured with your mail client. If not set, anybody may send.
11 11
12 allowed_mail_locals = "okurth" 12 allowed_senders = "okurth"
13 13
14 # local_hosts and local_nets will be checked before this. 14 # local_hosts and local_nets will be checked before this.
15 # cpwright.com uses the dialup up list of dul.maps.vix.com, 15 # cpwright.com uses the dialup up list of dul.maps.vix.com,
16 # so I cannot send any mail over this connection to that domain. 16 # so I cannot send any mail over this connection to that domain.
17 # There are probably many others... :-( (No, this is okay. Nobody 17 # There are probably many others... :-( (No, this is okay. Nobody
18 # wants his mailbox stuffed to the ceiling with spam...) 18 # wants his mailbox stuffed to the ceiling with spam...)
19 # 19 #
20 # You will find this necessary only if you send mail directly 20 # You will find this necessary only if you send mail directly
21 # (if mail_host is not set below) 21 # (if mail_host is not set below)
22 22
23 not_allowed_rcpt_domains = "cpwright.com" 23 denied_recipients = "*@cpwright.com"
24 24
25 # 25 #
26 # settings: 26 # settings:
27 # 27 #
28 28