IMHO, qmail should exit ....
IMHO, qmail-send should exit with an error message if a domain in locals is also in virtualdomains. Yes, this makes qmail subject to sysadmin misconfiguration, but it's subject to that anyway. Is it really better to run even if misconfigured? Or is it better to refuse to run if misconfigured? It's *always* a mistake for a domain in locals to also be in virtualdomains. It's *always* a mistake for an alias to match a real user's name. qmail should not accept these misconfigurations. I'd much rather answer the question ``Why is qmail immediately exiting?'' or ``Why is qmail issuing the error message "A domain in control/locals also appears in control/virtualdomains. Remove one or the other."'', than to have a sysadmin waste his time tweaking his virtualdomains configuration trying to get a virtual domain to deliver mail correctly. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | "Ask not what your country 521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | do for you..." -Perry M.
Re: IMHO, qmail should exit ....
On Mon, May 29, 2000 at 06:19:46AM -, Russell Nelson wrote: It's *always* a mistake for an alias to match a real user's name. No, I do not think so. It is even impossible to determine all the aliases at startup, because the underlying system is a "living" one. And in ~alias there may exist .qmail-user entries for existing users. They are used when the homedir of the user is not accessible. Greetings -- Robert Sander www.gurubert.de
Re: IMHO, qmail should exit ....
On Mon, May 29, 2000 at 09:48:09AM +0200, Robert Sander wrote: On Mon, May 29, 2000 at 06:19:46AM -, Russell Nelson wrote: It's *always* a mistake for an alias to match a real user's name. No, I do not think so. It is even impossible to determine all the aliases at startup, because the underlying system is a "living" one. And in ~alias there may exist .qmail-user entries for existing users. They are used when the homedir of the user is not accessible. Russell is stating that it is always a mistake for an alias to match a real user. Russell is not stating qmail should do this, he just throws this observation in to enhance his point. He's not saying (and I don't think he would :) that it's feasible to check that at startup. For the 'unaccessible homedir' part: you have a good point, but users/assign is really a much better solution for that. Greetz, Peter. -- [EMAIL PROTECTED] - Peter van Dijk [student:developer:madly in love]
Re: IMHO, qmail should exit ....
On Mon, May 29, 2000 at 12:23:54PM +0200, Peter van Dijk wrote: For the 'unaccessible homedir' part: you have a good point, but users/assign is really a much better solution for that. Yes, but this is just another place for me to define aliases, or not? And why it is so much better than plain ~alias/.qmail, performance left aside? Greetings -- Robert Sander www.gurubert.de
Re: IMHO, qmail should exit ....
On Mon, May 29, 2000 at 01:28:19PM +0200, Robert Sander wrote: On Mon, May 29, 2000 at 12:23:54PM +0200, Peter van Dijk wrote: For the 'unaccessible homedir' part: you have a good point, but users/assign is really a much better solution for that. Yes, but this is just another place for me to define aliases, or not? And why it is so much better than plain ~alias/.qmail, performance left aside? It's much easier to keep an overview in one file instead of in ~alias. Greetz, Peter. -- [EMAIL PROTECTED] - Peter van Dijk [student:developer:madly in love]
Re: IMHO, qmail should exit ....
Peter van Dijk writes: He's not saying (and I don't think he would :) that it's feasible to check that at startup. Actually, I do. It would be quite reasonable to run through the files in ~alias to see if qmail-getpw or users/assign returns a match for any of them. If so, qmail should not start up, because something is Obviously Wrong. I'm not talking about -default files, just the rest of them. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | "Ask not what your country 521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | do for you..." -Perry M.
Re: IMHO, qmail should exit ....
On Mon, May 29, 2000 at 01:25:14PM -0400, Russell Nelson wrote: any of them. If so, qmail should not start up, because something is Obviously Wrong. I'm not talking about -default files, just the rest of them. No, I do not think that there is something wrong when there are alias entries for existing users. I need them, because I have some of my users homedir mounted via an unreliable network. Greetings -- Robert Sander www.gurubert.de
Re: IMHO, qmail should exit ....
On Mon, May 29, 2000 at 09:18:11PM +0200, Robert Sander wrote: On Mon, May 29, 2000 at 01:25:14PM -0400, Russell Nelson wrote: any of them. If so, qmail should not start up, because something is Obviously Wrong. I'm not talking about -default files, just the rest of them. No, I do not think that there is something wrong when there are alias entries for existing users. I need them, because I have some of my users homedir mounted via an unreliable network. That's what users/assign is for. Greetz, Peter. -- [EMAIL PROTECTED] - Peter van Dijk [student:developer:madly in love]