Hummm. In main.cf I have: 

relayhost = 
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. 

So /etc/postfix/mysql_domains.cf contents are: 

user=mail 
password=mysecret 
dbname=maildb 
table=domains 
select_field=domain 
where_field=domain 
hosts=127.0.0.1 
additional_conditions = and enabled = 1 

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.

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 domains table looks like:


pkid domain                transport enabled
1    localhost             virtual:  1
2    localhost.localdomain virtual:  1
3    my.domain.com         virtual:  1

just in case it helps.

Thank you!

----- Mensaje original ----- 

> De: "Noel Jones" <njo...@megan.vbhcs.org>
> Para: postfix-users@postfix.org
> Enviados: Jueves, 14 de Junio 2012 18:46:19
> Asunto: Re: How to handle local mail when throttling?

> On 6/14/2012 11:26 AM, Adrian Gibanel wrote:

> >> If you insist on a default delay, you can create a "zerodelay"
> >> transport for your local domain that resets the delay to zero.
> >
> > Does it mean editing:
> >
> > /etc/postfix/transport file to add:
> >
> > my.domain.com relayratelimit:
> >
> > line
> >
> > and then running:
> > postmap transport
> > in /etc/postfix directory?

> Yes, correct.

> >
> > I just ask it because that's what it gives me the: "warning: do not
> > list domain in BOTH
> >>> virtual_mailbox_domains and relay_domains" message.

> Changing the transport map shouldn't cause the above warning unless
> you're doing something silly such as
> relay_domains = $transport_maps

> At any rate, the warning is correct. You must not list a domain in
> more than one class.

-- 

-- 
Adrián Gibanel 
I.T. Manager 

+34 675 683 301 
www.btactic.com 



Ens podeu seguir a/Nos podeis seguir en: 

i 


Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi ambient és 
cosa de tothom. / Antes de imprimir el mensaje piensa en el medio ambiente. El 
medio ambiente es cosa de todos. 

AVIS: 
El contingut d'aquest missatge i els seus annexos és confidencial. Si no en sou 
el destinatari, us fem saber que està prohibit utilitzar-lo, divulgar-lo i/o 
copiar-lo sense tenir l'autorització corresponent. Si heu rebut aquest missatge 
per error, us agrairem que ho feu saber immediatament al remitent i que 
procediu a destruir el missatge . 

AVISO: 
El contenido de este mensaje y de sus anexos es confidencial. Si no es el 
destinatario, les hacemos saber que está prohibido utilizarlo, divulgarlo y/o 
copiarlo sin tener la autorización correspondiente. Si han recibido este 
mensaje por error, les agradeceríamos que lo hagan saber inmediatamente al 
remitente y que procedan a destruir el mensaje . 

Reply via email to