Hi! I thought I could combine (chain together) my alias_{database,maps} tables with my virtual_alias_maps table. I figured that if I specify in my aliases table: root: daniell and in my virtual table: daniell daniell@email_address then mails for root from localhost would end up in the specified daniell@email_address mailbox (on another machine, using relayhost).
Unfortunatelly sending mail to root ends up in the local mailbox of the daniell user, altough sending mail to the daniell user ends up in the daniell@email_address mailbox. Now I know that I could simply change the alias table to forward mails for root to the daniell@email_address address, but I can't help but to remain curious about how could I make the above chaining work. # postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix inet_interfaces = loopback-only inet_protocols = ipv4 mailbox_size_limit = 0 mydestination = <hostname>, localhost.localdomain, localhost myhostname = <hostname> mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 readme_directory = no recipient_delimiter = + relayhost = [<relayhost>] smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtpd_use_tls = yes virtual_alias_maps = hash:/etc/postfix/virtual Thanks, Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F