Changing queue_run_delay for specific hosts? is it possible?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Changing queue_run_delay for specific hosts? is it possible?

Philip

Hi there,

I want to change the retry rate for yahoo (aol.com) etc. I'm wondering if I can add this to the groups as below with the slower/faster delivery rates. 

Will queue_run_delay work as snail_queue_run_delay? I don't want to change the default for all domains just a few that give me issues.

This is for my business server so transnational and not bulk.

### Snips from files ###

master.cf:

zoom        unix  -       -       n       -       -       smtp
polite        unix  -       -       n       -       -       smtp
turtle        unix  -       -       n       -       -       smtp
snail          unix  -       -       n       -       -       smtp

main.cf:

transport_maps = hash:/etc/postfix/transport.cf

# Set a slower relay rate.
default_destination_concurrency_limit = 1
default_destination_rate_delay = 60s
default_destination_recipient_limit = 1
 
# Throttle limit policy mail (global)
smtp_destination_concurrency_limit = 4
smtp_destination_rate_delay = 1s
smtp_extra_recipient_limit = 2
 
# Zoom policy
zoom_destination_concurrency_limit = 5
zoom_destination_rate_delay = 1s
zoom_destination_recipient_limit = 1
 
# Polite policy
polite_destination_concurrency_limit = 1
polite_destination_rate_delay = 30s
polite_destination_recipient_limit = 1
 
# Turtle policy
turtle_destination_concurrency_limit = 1
turtle_destination_rate_delay = 60s
turtle_destination_recipient_limit = 1

# Snail policy
snail_destination_concurrency_limit = 1
snail_destination_rate_delay = 300s
snail_destination_recipient_limit = 1

trainsport.cf (postmaped):

vodafone.co.nz         polite:
gmx.com                    polite:
gmail.com                 turtle:
outlook.com             turtle:
hotmail.com             turtle:
live.com                    turtle:
yahoo.com                snail:

Reply | Threaded
Open this post in threaded view
|

Re: Changing queue_run_delay for specific hosts? is it possible?

Wietse Venema
Philip:
> Hi there,
>
> I want to change the retry rate for yahoo (aol.com) etc. I'm wondering
> if I can add this to the groups as below with the slower/faster delivery
> rates.
>
> Will queue_run_delay work as snail_queue_run_delay? I don't want to
> change the default for all domains just a few that give me issues.

I don't think that such a feature is documented.

How would Postfix scheduler know which files in the queue have a
recipient at yahoo? That would not scale to large queues, and it
would not work well with multi-recipient messages.

        Wietse