Hi,
I have running a server with postfix-mysql+dovecot+postfixadmin,in
main.cf:
smtpd_sender_login_maps =
mysql:/etc/postfix/mysql_mailbox_maps.cf,
mysql:/etc/postfix/mysql_alias_maps.cf
smtpd_sender_restrictions =
reject_non_fqdn_sender,
reject_sender_login_mismatch
virtual_mailbox_maps = mysql:/etc/postfix/mysql_mailbox_maps.cf
user = mail
password = password
hosts = 127.0.0.1
dbname = mail
query = SELECT CONCAT(domain,'/',maildir) FROM mailbox WHERE username =
'%s' AND active = 1
virtual_alias_maps = mysql:/etc/postfix/mysql_alias_maps.cf
user = mail
password = password
hosts = 127.0.0.1
dbname = mail
query = SELECT goto FROM alias WHERE address = '%s' AND active = 1
When sending a mail,i got a error message.
An error occurred while sending mail. The mail server responded: 4.3.0
<l...@kingdest.com>: Temporary lookup failure. Please check the message
recipient postfix-users@postfix.org and try again.
In google,many advice is to create another sender maps,but it is so
difficult and no automatic when creating new user in postfixadmin to do
that with thousands of mail users. I think there must be a better way to
set "smtpd_sender_login_maps = myql:***".
Regards
--
Leon
www.kingdest.com