Koozali.org: home of the SME Server

Mail delivery failure notification

Offline ddougan

  • *
  • 155
  • +0/-0
    • http://www.DouganConsulting.com
Mail delivery failure notification
« on: February 13, 2004, 04:41:22 AM »
A client of mine sent out an email which was eventually bounced back to him with the reason:

Sorry, I couldn't find any host by that name. (#4.1.2)
I'm not going to try again; this message has been in the queue too long.

In this case, it took a whole week for qmail to bounce the message. I had been under the impression that failure to deliver took 4 days before bouncing took place, per one of the mail RFCs. In either event, the client is concerned over such a long delay, so I wanted to check if the delay is configurable, and if so, what is required to configure it.

Thanks,
Des Dougan

SteveW

mail queue too long
« Reply #1 on: February 13, 2004, 06:11:03 AM »
Greetings,

Are you running a 6.0 beta version? If so, I was able to find evidence of someone else having similar problems with their queue in the Experienced Forum. They didn't seem to find a solution in that thread.

Perhaps you should try upgrading to 6.0 final? It's quite a seamless upgrade, I just did it a few weeks ago no problem.
-
Steve

Offline ddougan

  • *
  • 155
  • +0/-0
    • http://www.DouganConsulting.com
Mail delivery failure notification
« Reply #2 on: February 13, 2004, 06:15:41 AM »
Steve,

No, this server is a 5.6 box.

Des
Des Dougan

alienjones

Mail delivery failure notification
« Reply #3 on: February 14, 2004, 12:56:59 AM »
I have version 6 (final) and have the same problem. With me it came from AOL who wouldn't accept my e-mail because the server is on a dynamic IP. It took a week before I got a notification.
AJ

Offline mdo

  • *
  • 355
  • +0/-0
Mail delivery failure notification
« Reply #4 on: February 14, 2004, 10:57:55 AM »
Hi,

I have not tried this contrib module (and do not know which SME version it runs on) but it sounds like it will do what you want:

e-smith-qmail-notify

Installs qmail-notify from Bruce Guenter

- Delayed delivery notification for qmail

Version 1.0.0-1:

- first release
- to chage the bounce message, edit /usr/local/lib/qmail-notify/qmail-notify-message.txt
The file must contain three instances of "%s".
The first is replaced with the server's hostname;
the second is replaced with the notification delay
the third is replaced with the message lifetime (controled by the qmail control/queuelifetime file).

It's availabe at:
http://no.longer.valid/phpwiki/index.php/Downloads/pub/Linux/distributions/smeserver/contribs/saco/contrib/e-smith-qmail-notify

Have a try and report back here to all whether it works.
Regards,
Michael Doerner
...

Offline psc

  • *
  • 151
  • +0/-0
Mail delivery failure notification
« Reply #5 on: February 17, 2004, 07:23:49 AM »
Hi,

hmm .. my contrib should work also with smeserver 6.x.

The download location is:

http://mirror.contribs.org/smeserver/contribs/saco/contrib/e-smith-qmail-notify/



Peter
First, solve the problem. Then, write the code.