John Peacock wrote:
Keith Ivey wrote:

I don't think there is any "Delivered-To" header yet, because the message never gets delivered -- it's just repeatedly relayed (from the server to itself). The hostname in the address is not in rcpthosts or locals, so there's no delivery.

Almost exactly right: the hostname in the address can be in both rcpthosts and locals (of one of the boxes involved) and still loop.

Your incident was different from mine. In my case, a message was being sent through my server from a local address to a remote address, but the remote address ended up being not so remote because of a misconfiguration of the MX record for its domain, which was resolving to 0.0.0.0. My server was thus repeatedly delivering the message to itself. Because my loop involved only one server, it wouldn't continue until the heat death of the universe, but only for a week, or until the added headers made the message exceed the maximum message size my qpsmtpd would accept.


In any case, a simple "Received" header count would have been enough to stop your loop or mine.

--
Keith C. Ivey <[EMAIL PROTECTED]>
Washington, DC

Reply via email to