Commit 341368a4d8651b714dced1bd247a9e53e51bb4d1

Authored by Antonio Terceiro
1 parent e0fbbad1

ActionItem305: documenting the new aliases config

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
util/mail/postgresql/README
... ... @@ -172,13 +172,14 @@ Configure Postfix do deliver the mail in the right place
172 172 --------------------------------------------------------
173 173  
174 174 Create a directory called "postgres" in /etc/postfix, and copy (or symlink) the
175   -files virtual_domains.cf and virtual_mailboxes.cf there.
  175 +files *.cf in this directory there.
176 176  
177 177 Then in main Postfix configuration file, add the following lines to the end of the file:
178 178  
179 179 <<<<<<<<<<<<<<<
180 180 virtual_mailbox_domains = proxy:pgsql:/etc/postfix/postgres/virtual_domains.cf
181 181 virtual_mailbox_maps = proxy:pgsql:/etc/postfix/postgres/virtual_mailboxes.cf
  182 +virtual_alias_maps = proxy:pgsql:/etc/postfix/postgres/virtual_aliases.cf
182 183 virtual_mailbox_base = /home/vmail
183 184 virtual_uid_maps = static:5000
184 185 virtual_gid_maps = static:5000
... ... @@ -215,7 +216,7 @@ virtual_create_maildirsize = yes
215 216 virtual_mailbox_extended = yes
216 217 # TODO limits (quota)
217 218  
218   -proxy_read_maps = $virtual_mailbox_domains $virtual_mailbox_maps proxy:unix:passwd.byname
  219 +proxy_read_maps = $virtual_mailbox_domains $virtual_mailbox_maps $virtual_alias_maps proxy:unix:passwd.byname
219 220 >>>>>>>>>>>>>>
220 221  
221 222 Don't restart postfix yet, wait for the next step.
... ...