Differences between current version and revision by previous author of PostfixNotes.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 11 | Last edited on Tuesday, December 19, 2006 6:26:07 pm | by PaulWankadia | |
Older page: | version 10 | Last edited on Wednesday, October 12, 2005 12:25:02 am | by AristotlePagaltzis | Revert |
@@ -80,4 +80,15 @@
ldapaliases_debuglevel = 3
</verbatim>
This works with the same [LDAP] directory setup as described in EximNotes. I also use a second section for <tt>ldappeople</tt> that instead of searching the aliases OU, it searched people.
+
+! Address Rewriting
+
+<tt>main.cf</tt>::
+
+ <verbatim>
+ recipient_canonical_classes = envelope_recipient
+ recipient_canonical_maps = hash:/etc/postfix/recipient_canonical
+ </verbatim>
+
+In some cases, you will need to use <tt>regexp</tt> or <tt>pcre</tt> instead of <tt>hash</tt>. (<tt>postconf -m</tt> shows you what types of lookup tables your Postfix system supports.)