我收到错误,不知道如何修复。发送工作正常。这是我的 /var/log/mail.log:
Oct 26 17:15:23 pikachu postfix/smtpd[16360]: connect from mail-ee0-f51.google.com[74.125.83.51]
Oct 26 17:15:24 pikachu postfix/trivial-rewrite[16363]: warning: mysql query failed: Table 'mailserver.virtual_aliases' doesn't exist
Oct 26 17:15:24 pikachu postfix/trivial-rewrite[16363]: warning: mysql:/etc/postfix/mysql-virtual-alias-maps.cf: table lookup problem
Oct 26 17:15:24 pikachu postfix/trivial-rewrite[16363]: warning: virtual_alias_domains lookup failure
Oct 26 17:15:24 pikachu postfix/trivial-rewrite[16363]: warning: mysql:/etc/postfix/mysql-virtual-alias-maps.cf: table lookup problem
Oct 26 17:15:24 pikachu postfix/trivial-rewrite[16363]: warning: virtual_alias_domains lookup failure
Oct 26 17:15:24 pikachu postfix/smtpd[16360]: NOQUEUE: reject: RCPT from mail-ee0-f51.google.com[74.125.83.51]: 451 4.3.0 <[email protected]>: Temporary lookup failure; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-ee0-f51.google.com>
Oct 26 17:15:24 pikachu postfix/smtpd[16360]: disconnect from mail-ee0-f51.google.com[74.125.83.51]
答案1
在对 SQL 数据库进行一番努力后,我找到了解决方案。原来我忘了创建别名表。我不知道我必须这么做。