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

Reply via email to