So I understand: 

transport: 
----------- 

hotmail.com hotmailratelimit: 
yahoo.com yahooratelimit: 
my.domain.com localratelimit: 

main.cf: 
---------- 
# ... 

hotmailratelimit_destination_rate_delay = 15s 
yahooratelimit_destination_rate_delay = 15s 
localratelimit_destination_rate_delay = 0s 
smtp_destination_rate_relay = 15s 
# ... 

master.cf: 
------------ 
# ... 

smtp inet n - - - - smtpd 
hotmailratelimit unix - - - - 1 smtp 
-o smtp_fallback_relay= -o syslog_name=slow_queue -o smtp_helo_timeout=3 
yahooratelimit unix - - - - 1 smtp 
-o smtp_fallback_relay= -o syslog_name=slow_queue -o smtp_helo_timeout=3 
localratelimit unix - - - - 1 smtp 
-o smtp_fallback_relay= -o syslog_name=local_queue -o smtp_helo_timeout=3 
# ... 

Just to be sure... Is that what you meant? Seems more easy to understand than 
what I was implementing anyways. 

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

> De: "Wietse Venema" <wie...@porcupine.org>
> Asunto: Re: How to handle local mail when throttling?

> Adrian Gibanel :
> > > > 5) Create transport_regexp file like:
> > > >
> > > > /@hotmail.com$/ hotmailratelimit:
> > > > /@yahoo.com$/ yahooratelimit:
> > > > !/@my.domain.com$/ slowratelimit:
> >
> > > Don't use regular expressions for this. Hash-based transport maps
> > > already match the domain portion of the email address.
> >
> > > http://www.postfix.org/transport.5.html
> >
> > And when I want negative/inverse matching? (Check the ! symbol
> > here: !/@my.domain.com$/ )

> You do not need inverse matching.

> You just need to set smtp_destination_rate_delay in main.cf.

> All mail not for hotmail.com, yahoo.com or your local domain
> will be sent out with the default transport, which is "smtp".

> Wietse

-- 

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