masqmail
diff 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 |
line diff
1.1 --- a/examples/example.route Mon Apr 25 15:17:30 2011 +0200 1.2 +++ b/examples/example.route Thu Apr 28 09:55:06 2011 +0200 1.3 @@ -6,10 +6,10 @@ 1.4 # 1.5 1.6 # users that can send mail over this connection: 1.7 -# this is a list of the local parts of the original return addresses, as they are 1.8 +# this is a list of the envelope sender addresses, as they are 1.9 # configured with your mail client. If not set, anybody may send. 1.10 1.11 -allowed_mail_locals = "okurth" 1.12 +allowed_senders = "okurth" 1.13 1.14 # local_hosts and local_nets will be checked before this. 1.15 # cpwright.com uses the dialup up list of dul.maps.vix.com, 1.16 @@ -20,7 +20,7 @@ 1.17 # You will find this necessary only if you send mail directly 1.18 # (if mail_host is not set below) 1.19 1.20 -not_allowed_rcpt_domains = "cpwright.com" 1.21 +denied_recipients = "*@cpwright.com" 1.22 1.23 # 1.24 # settings: