1.1 --- a/README.txt Mon Jan 26 00:31:37 2015 +0100
1.2 +++ b/README.txt Mon Jan 26 01:01:34 2015 +0100
1.3 @@ -116,14 +116,23 @@
1.4 mail routing (for inclusion in
1.5 main.cf)
1.6
1.7 - virtual_alias_maps_people.cf Defines recipient searches
1.8 - virtual_alias_maps_people_outgoing.cf ...
1.9 + virtual_alias_maps_people.cf Defines recipients and outgoing
1.10 + virtual_alias_maps_people_outgoing.cf mail routing
1.11 virtual_alias_maps_resources.cf ...
1.12
1.13 -With the exception of the sender_bcc_maps setting in Postfix's main.cf, the
1.14 -above recipient identification configuration examples can be disregarded in
1.15 -favour of other ways of defining mail recipients, subject to the needs of any
1.16 -given environment.
1.17 +For Postfix without LDAP (in conf/postfix/simple)...
1.18 +
1.19 + main.cf.example Defines recipients and outgoing
1.20 + mail routing (for inclusion in
1.21 + main.cf)
1.22 +
1.23 + virtual_alias_maps_people Defines recipients and outgoing
1.24 + virtual_alias_maps_people_outgoing mail routing
1.25 + virtual_alias_maps_resources ...
1.26 +
1.27 +The above recipient identification configuration examples can be disregarded
1.28 +in favour of other ways of defining mail recipients, subject to the needs of
1.29 +any given environment.
1.30
1.31 LDAP Representations for Mail Recipients
1.32 ----------------------------------------
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/conf/postfix/simple/main.cf.example Mon Jan 26 01:01:34 2015 +0100
2.3 @@ -0,0 +1,4 @@
2.4 +virtual_alias_maps = $alias_maps, hash:/etc/postfix/virtual,
2.5 + regexp:/etc/postfix/simple/virtual_alias_maps_resources,
2.6 + regexp:/etc/postfix/simple/virtual_alias_maps_people
2.7 +sender_bcc_maps = regexp:/etc/postfix/simple/virtual_alias_maps_people_outgoing
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/conf/postfix/simple/virtual_alias_maps_people Mon Jan 26 01:01:34 2015 +0100
3.3 @@ -0,0 +1,3 @@
3.4 +if !/^(people+|people-outgoing+|resources+|resource-).*@example\.com$/
3.5 +/^(.*)@(example\.com)$/ people+${1}@${2}
3.6 +endif
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/conf/postfix/simple/virtual_alias_maps_people_outgoing Mon Jan 26 01:01:34 2015 +0100
4.3 @@ -0,0 +1,3 @@
4.4 +if !/^(people+|people-outgoing+|resources+|resource-).*@example\.com$/
4.5 +/^(.*)@(example\.com)$/ people-outgoing+${1}@${2}
4.6 +endif
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/conf/postfix/simple/virtual_alias_maps_resources Mon Jan 26 01:01:34 2015 +0100
5.3 @@ -0,0 +1,3 @@
5.4 +if !/^(people+|people-outgoing+|resources+).*@example\.com$/
5.5 +/^(resource-.*)@(example\.com)$/ resources+${1}@${2}
5.6 +endif