Wietse Venema a écrit :
Stephane MERLE:
Hi,

Can I set the parameter : transport_destination_rate_delay to less than a second ?

Can you read the documentation?

I am sorry, again, I apology, I do not want to waste your time or the one anybody would spend to help me out ... but this is my major problem, it's not easy to find information on that parameter :

destination_rate_delay

The only page showing up with the search box in the postfix.org page is : http://www.postfix.org/announcements/postfix-2.5.7.html I am scanning the source code and I think that I am going the wrong way..., either I set

even if the 1s pause looks like pleasing hotmail, this will not be usable for 
the amount of email we send (multi million a day). Is there other ways to drop 
the rate delivery for a specific transport ?

I tried hotmail_tr_destination_concurrency_limit to 1 but it was not enough low 
...


Again, if you feel that this question shouldn't be asked here, please tell me 
where to go and ask, I understand that you must have other more 
interesting/important things to do :o)


Stéphane




if not, where is that sleep() in the code ?

There is no sleep in the code. The delay is enforced by the
scheduler, and the scheduler cannot use sleep() as that
would also cause delays for all other deliveries.

        Wietse

Thanks,

St?phane


St?phane MERLE a ?crit :
Hi,

I try to add a 1 second delay between each smtp sent to a sp?cifique transport.

I followed this help file (in french as I feel more confortable in this langage) : http://postfix.traduc.org/index.php/QSHAPE_README.html#deferred_queue

so I did :

/etc/postfix/transport:
   problem.exemple.com  slow:[dead.host]

/etc/postfix/master.cf:
   # service type  private unpriv  chroot  wakeup  maxproc command
   slow      unix     -       -       n       -       1    smtp
       -o fallback_relay=problem.exemple.com
       -o smtp_connect_timeout=1


the domain are : hotmail.fr and hotmail.com

I also add this in the master.cf :
hotmail_tr unix -       -       n       -       1      smtp

and this to main.cf
hotmail_tr_destination_concurrency = 1
hotmail_tr_destination_concurrency_limit = 2
hotmail_tr_destination_rate_delay=10
transport_maps = hash:/etc/postfix/transport


but still no delay between each try or retry ...

any help would be appreciated ...

St?phane











Reply via email to