On 17 Jan 2001, at 15:06, Gordon Rowell wrote:
> On Wed, Jan 17, 2001 at 02:22:06PM -0500, Dean Staff <[EMAIL PROTECTED]>
> wrote: > [...] > I setup my 4.1b3 box to accept mail for any of the
> other servers on > my local network and then relay internally to them.
> I did this by > editing the smtpd_check_rules template. (Peter, I did
> this instead of > using the delegate mail server option on the web
> interface, because I > needed local delivery too) And was very
> surprised at how easy it was > to figure out. I take back all the
> nasty things I said about > switching to obtuse-smtp. (OH wait, those
> comments were only muttered > under my breath ;-) ) > [...]
>
> I don't understand why you needed to do this.
Because I like to do things the hard way...you should know me well
enough by now ;-)
>
> Set the domains up in the web manager and they will be delivered
> locally. They will also be added to smtpd_check_rules automatically.
>
> If you want some of those domains to be delivered elsewhere (as
> opposed to all domains with DelegateMailServer), you want to add a
> custom fragment to /var/qmail/control/smtproutes
I did not know that smtproutes overrides the attempt to deliver
locally of a virtual domain.
BTW, will doing what you suggest make the smtp daemon respond faster.
I brought the box on-line and noticed that it was taking up to a
minute to process 1 message from other machines on my network. (They
are sending to and from domains that are not listed as Virtual
domains) So I guess my question is, does a large smtpd_check_rules
file slow the daemon down drastically?
Dean
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dean Staff
Protus IP Solutions
210 - 2435 Holly Lane
Ottawa, ON K1V 7P2 Canada
613-733-0000 ex 546 Fax 613-248-4553
e-mail: [EMAIL PROTECTED] Web: http://www.protus.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~