Re: Patch to smtp-forward

[email protected] ("Chris Lewis")
Newsgroups perl.qpsmtpd
Organization Nortel
Message-ID <[email protected]>
On 9/15/2010 3:51 AM, Peter J. Holzer wrote:

> I have a strong suspicion that the author meant to write
>
> return(DENY, "Unable to queue message ($!)");

The new code is considerably better - works properly in the face of 
temporary vs permanent errors from the backend server and provokes 
retries if appropriate.  It's how our (much hacked) smtp-forward works.

(our smtp-forward tries multiple backend servers, and does a limited 
amount of optimizing which one to use.)

Parameterizing it for DECLINED vs DENY I guess would be best if someone 
is expecting it to failover to another queuing plugin.  It's more a 
notion of whether you have multiple queuing plugins or not.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.