
kyle-qmail at memoryhole
May 6, 2008, 2:57 PM
Post #4 of 6
(109 views)
Permalink
|
|
Re: Providing better service to known hosts
[In reply to]
|
|
On Thursday, May 1 at 10:13 PM, quoth Bruno Wolff III: > If I raised the number of connections then my mail server accepts > messages somewhat faster than it can deliver them and eventually the > queue backs up and I need to turn off incoming connections for a > while to let it catch up. Out of curiosity, what takes so long to deliver messages? > Most of the messages I care about come from a relatively few > servers. Always a good situation. > I was thinking of running two qmail servers, one listening on the > external IP address and the other listening on a loopback address. I > was thinking of using iptables to rewrite the destination address > for a list of source addresses that I wanted to give better service > to. Seems reasonable. I might put the second qmail server on the external IP (but on a different port), just so that I'd be reminded that it's accessible from the outside world, but whatever works for you is fine. It's worth pointing out that you don't need two qmail installations to do this; you just need two qmail-smtpd instances with different tcpserver options. > If I run two qmail servers do I need to worry about them delivering > to the same mailboxes at the same time? Nope. Qmail will lock the mailboxes as appropriate (if necessary; Maildir's don't require a lock). > Can they share any part of the /var/qmail tree or should I keep them > totally separate? If they share parts of it (e.g. the control directory), I'd do so with a symlink. Otherwise, you run the risk of them trampling each other (you don't want multiple qmail-send's pulling out of the same queue, for example). But, like I said, you can achieve what you want without a second qmail installation, and if you do so, this is more or less moot. ~Kyle -- A woman is like a tea bag. It's only when she's in hot water that you realize how strong she is. -- either Eleanor Roosevelt or Carl Sandberg
|