On 6/14/2012 12:40 PM, Adrian Gibanel wrote:
> Hummm. In main.cf I have: 
> 
> relayhost = 

As I said earlier, I'm more interested in the setting of relay_domains.

> and I also have: 
> virtual_mailbox_domains = mysql:/etc/postfix/mysql_domains.cf 
> which I have never noticed before... but yes, it was there all the time. 
> 
...
> 
> And in the domains table there is my domain:
> 
> my.domain.com
> 
> So I suppose there's the problem. Somehow when I add the zerodelay it gets 
> assigned to relayhost and thus it's also found at virtual_mailbox_domains.

relayhost has nothing to do with this.  The warning clearly says
relay_domains and virtual_mailbox_domains.

My wild guess is that you need to explicitly set relay_domains
empty, but that might not be right for your setup.

# main.cf
relay_domains =


> 
> You know, I have already considered removing the my.domain.com domain from 
> domains table but as I don't understand how Postfix works in detail I'm 
> afraid that that would mean that I'm not going to be able to receive any 
> email intented to my.domain.com domain.

The domain must be listed somewhere for postfix to receive mail for
that domain.
http://www.postfix.org/ADDRESS_CLASS_README.html

Your domain must be listed in the correct address class and nowhere
else.


  -- Noel Jones

Reply via email to