2012/10/3 Wietse Venema <wie...@porcupine.org> > You report: > > # postconf -n > ... > virtual_mailbox_domains = proxy:mysql:/etc/postfix/ > mysql-virtual_domains.cf > > # postmap -q devels.es mysql:/etc/postfix/mysql-virtual_domains.cf > devels.es > > # postconf virtual_transport > virtual_transport = virtual > > This means that mail for devels.es is given to the virtual transport > as defined in master.cf. > > You also report "mail for devels.es loops back to myself", an error > message that comes from the Postfix SMTP client. > > However, the virtual_mailbox_domains setting takes precedence over > relayhost setting. > > That means that > > - You modified master.cf entry for the virtual transport so that > mail is delivered by the Postfix SMTP client. > > - You set up a transport map that redirects devels.es mail to an > SMTP client. > > - Your configuration is messed up in some other manner, maybe > you have more mysql tables that I am not aware of. > > Wietse >
Ok, thanks for the explaination, it's clear now. I didn't take notice of this "detail"... I didn't modify the virtual entry in master.cf, nor I have a transport map, and I have more mysql tables but just to store users, account redirects, etc., so I guess the mess is somewhere else. It's curious as I just took a look at the mail.log, and the deliver always happen with 'virtual': Oct 3 22:12:35 mail postfix/virtual[844]: DB0FF1004ED: to=<p...@devels.es>, relay=virtual, delay=0.84, delays=0.56/0.11/0/0.18, dsn=2.0.0, status=sent (delivered to maildir) I really don't know why mail was tried to be delivered by SMTP client when the DNS thing was messed up... I'll have a look deeper in the config and try to find out why. Thanks!