[CentOS] postfix problem since update: mail loops back to myself
David Hrbáč
hrbac.conf at seznam.cz
Fri Sep 22 14:48:07 UTC 2006
thorsten napsal(a):
> sorry. here they are.
>
>>> transport_maps = mysql:/etc/postfix/sql/transport
>
> # cat transport
> user = vmail
> password = <hidden>
> dbname = vmail
> table = domains
> select_field = transport
> where_field = domain
> hosts = localhost
>
>>> virtual_mailbox_maps = mysql:/etc/postfix/sql/vmailbox
>
> # cat vmailbox
> user = vmail
> password = <hidden>
> dbname = vmail
> table = passwd
> select_field = maildir
> where_field = id
> hosts = localhost
Well, I do not understand it now.
domain.tld has:
mx 20 some_server2
mx 10 some_server1
If we are talking about postfix configuration on backup server -
some_server1, it has to forward messages to some_server1, so
postmap -q domain.tld mysql:/etc/postfix/sql/transport must return
smtp:some_server1 or smtp:[some_server1_ip_address].
David
More information about the CentOS
mailing list