Hi, I have a problem with my installation of postfix and virtual aliases (mysql). When an email is sent to a virtual alias, the smtp subsystem translates the alias to the correct real mailbox. However, when the dovecot/pipe subsystem is called, the recipient is the alias and NOT the real mailbox. For instance, [email protected] is resolved to [email protected], but the recipient that the dovecot LDA receives is [email protected] rather than [email protected], and since dovecot's SQL does query users from the 'alias' table only the 'users' table, thus the message is bounced.
I have tried all that I can think of to resolve this, but to no avail... Any help gratefully received. Kind regards, -- Marc * Log Output:* Mar 1 08:47:39 ims1 postfix/smtpd[9561]: dict_proxy_lookup: table=mysql:/etc/postfix/mysql_virtual_alias_maps.cf flags=lock|fold_fix [email protected] -> status=0 [email protected] Mar 1 08:47:39 ims1 postfix/smtpd[9561]: maps_find: virtual_alias_maps: proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf(0,lock| fold_fix): [email protected] = [email protected] Mar 1 08:47:39 ims1 postfix/smtpd[9561]: mail_addr_find: [email protected]> [email protected] Mar 1 08:47:39 ims1 postfix/smtpd[9561]: smtpd_check_rewrite: trying: permit_inet_interfaces ... Mar 1 08:47:39 ims1 postfix/pipe[9566]: deliver_request_get: file active/1A0F639AF0 Mar 1 08:47:39 ims1 postfix/pipe[9566]: deliver_message: from < [email protected]> Mar 1 08:47:39 ims1 postfix/pipe[9566]: dict_eval: const 1000s Mar 1 08:47:39 ims1 postfix/pipe[9566]: get_service_params: time_limit 1000 Mar 1 08:47:39 ims1 postfix/pipe[9566]: get_service_attr: uid 5000, gid 5000, flags 196632, size 0 Mar 1 08:47:39 ims1 postfix/pipe[9566]: dict_eval: const /usr/lib/dovecot/deliver Mar 1 08:47:39 ims1 postfix/pipe[9566]: dict_eval: const -f Mar 1 08:47:39 ims1 postfix/pipe[9566]: dict_eval: expand ${sender} -> [email protected] Mar 1 08:47:39 ims1 postfix/pipe[9566]: dict_eval: const -d Mar 1 08:47:39 ims1 postfix/pipe[9566]: dict_eval: expand ${user}@${nexthop} -> [email protected] Mar 1 08:47:39 ims1 postfix/pipe[9566]: connect to subsystem private/bounce
