On 2004-06-10 17:41:52 +0100, Matt Sergeant wrote:
> On Thu, 10 Jun 2004, Peter J. Holzer wrote:
> 
> > * the smtp-forward plugin in the distribution does almost no error
> >   checking. If sendmail doesn't like the mail for some reason, the
> >   mail will be silently dropped. So I had to patch that, too.
> >   (http://www.hjp.at/projekte/qpsmtpd/smtp-forward/smtp-forward.patch)
> 
> I have now applied this patch locally and will check it in as soon as I'm
> out from behind this firewall :-)

Thanks. I sent the patch to Ask at about the time 0.27 came out, but
apparently it was lost.

> Yes, it certainly could do with improving and I have some ideas for that.
> 
> The smtpd-forward should be a proxy, not just a queue plugin. What do I
> mean by that? Well it should connect to the backend in the connect
> handler, and check all other commands with the backend server.

Yup. I had the same idea when I wrote the previous mail. 


> The difficulty comes when checking RCPT TO.
> 
> This causes a problem because a queue plugin wants to be the last thing
> run, however check_relay wants to also be the last rcpt_to plugin to run.

Am I overlooking something obvious? If there is only one queue plugin,
it is always the last thing to run, regardless of the order in the
plugins file, isn't it? The order only matters if several plugins
register for the same hook.

        hp

-- 
   _  | Peter J. Holzer    | I think we need two definitions:
|_|_) | Sysadmin WSR       | 1) The problem the *users* want us to solve
| |   | [EMAIL PROTECTED]         | 2) The problem our solution addresses.
__/   | http://www.hjp.at/ |    -- Phillip Hallam-Baker on spam

Attachment: pgpSMsmP6U29w.pgp
Description: PGP signature

Reply via email to