
uffe at uffe
Jun 14, 2011, 12:40 AM
Post #4 of 6
(2075 views)
Permalink
|
On 2011-06-14 07:51, Marcus Bointon wrote: > On 14 Jun 2011, at 07:43, Andy Bradford wrote: > >>> Is there a way to configure qmail so that if the first attempt to >>> deliver the message fails, it drops the address altogether, instead of >>> queuing it for more attempts later on? >> >> If you don't want to queue emails, why are you using an MTA (like qmail) >> to deliver your messages? You might get better peformance if you avoid >> the queueing altogether and just attempt deliveries in your own >> application. Drop any that fail. That being said, you could probably set >> queuelifetime to 0 and that might have the desired effect. > > The downside of doing that is that when (not if) you get greylisted/deferred, your redeliveries won't happen, and the receiver will think you're a spammer because you didn't come back... > Just FYI - I know it is a little off topic - but may be useful If you want to force attempt re-sending every email in qmail queue then you should clear the qmail-remote tcp timeout table. You can inspect the timeout table with the 'qmail-tcpto' command: http://www.ezmlm.org/man/man8/qmail-tcpto.8.html You can flush the timeout table with the 'qmail-tcpok' command http://www.ezmlm.org/man/man8/qmail-tcpok.8.html After clearing the tcp timeout table you can send the alarm signal to qmail and it will attempt to deliver *ALL* mails in the queue regardless of previous timeout state. /Uffe
|