Henning Brauer <[EMAIL PROTECTED]> writes:
> On Sun, Aug 26, 2001 at 04:12:10AM -0400, Scott Gifford wrote:
> > Henning Brauer <[EMAIL PROTECTED]> writes:
> > > On Fri, Aug 24, 2001 at 11:11:28PM +0200, Henning Brauer wrote:
> > > > No. no way without using another machine or hacking ipme.c.
> > > Correcting myself. There is another way, though not really of choice
> > > here IMHO. You can put all domains in question in locals and call
> > > whatever sendmail uses for the local delivery, so both MTAs let the
> > > MDA write to the same mailboxes. While this setp (though without an
> > > MDA) works fine using Maildirs and thus two Maildir-aware MTAs (or
> > > MDAs), it may cause problems here as concurrent deliveries to the same
> > > mbox file obviously don't work. So there is a theoretical solution
> > > without patching qmail - but in practice...
> > Ah, very clever! To avoid the locking problem, just call sendmail
> > itself instead of the MDA. A little performance penalty, but you
> > should be able to live with that.
>
> Dunno, that's the obvious solution. Very clever. It still involves syncing
> the domain list between qmail and sendmail, but a usable solution without
> patching.
Make /var/qmail/locals a symlink to /etc/mail/sendmail.cw (or wherever
you keep your sendmail.cw), and make sure that everything local is in
sendmail.cw (not directly in sendmail.cf), and that should be solved,
too.
Amazing what batting something around on a mailing list can do! :)
----ScottG.