On 3/4/2015 12:19 PM, Stefan Michael Guenther wrote: > Hi, > > I have successfully set up Postfix (2.11.0) together with Dovecot (2.2.9), > which works perfectly for normal user accounts. > > Now I have tried to set up a small distribution list by adding the following > line to /etc/aliases: > > update: :include:/etc/postfix/listen/update > ... > > The alias, virtual and dovecot parameters in /etc/postfix/main.cf are the > following: > > alias_maps = hash:/etc/aliases > alias_database = hash:/etc/aliases > virtual_transport = dovecot > virtual_alias_maps = mysql:/etc/postfix/virtual/mysql-aliases.cf > virtual_mailbox_maps = mysql:/etc/postfix/virtual/mysql-maps.cf > virtual_mailbox_domains = mysql:/etc/postfix/virtual/mysql-domains.cf > local_recipient_maps = $virtual_mailbox_maps > virtual_transport = dovecot > dovecot_destination_recipient_limit = 1 > > What could be the reason, that /etc/aliases is ignored? The mail domain is > only defined in virtual_mailbox_domains, not in mydestination >
man 5 aliases The aliases table is processed by the postfix local(8) delivery agent, which is typically used (only) by domains listed in mydestination. One way to work around this is to use a virtual_alias_maps entry to rewrite the address to some domain listed in mydestination. Simple example: mydestination = localhost # virtual_alias_maps upd...@virtual.example.com update@localhost use "localhost" as shown above, or make up your own local name. -- Noel Jones