On Sun, Jan 07, 2001 at 01:48:02AM +0000, Ricardo Cerqueira wrote:
> > I made a few modifications to Russell's patch. You can now specify routes
> > for QMTP just as you can for SMTP. Ths filename is changed to
> > control/mailroutes and the format changed a tad, but the old file will
> > still work if moved.
> I was about to write a mail asking for qmtproutes, so great!
> But... Do you mean your solution ignores control/smtproutes? Or can you
> have both smtproutes for SMTP _and_ mailroutes for QMTP?

There is one file for both SMTP and QMTP routes. It is called mailroutes.
I found that design clearer than havning two files - I couldn't figure out
which file I would want to have precedence, and reading from two files had
been messier anyhow.

However, you can just copy your smtproutes file to mailroutes and it will
work. I have just extended the format but SMTP is assumed if no protocol
is given.

I think there may be a little glitch left: an explicit SMTP route may not
be able to override MXPS-based QMTP routing. I'll look into this later
today.

I will also look inte patching qmail-showctl and the manpages for
qmail-remote and qmail-control if people actually use this patch...

I'm still looking for feedback on the actual code...

-Johan
-- 
Johan Almqvist

Reply via email to