
mhutchinson at manux
Apr 29, 2008, 4:25 PM
Post #3 of 3
(155 views)
Permalink
|
> -----Original Message----- > From: John Simpson [mailto:jms1[at]jms1.net] > Sent: 20 April 2008 1:46 p.m. > To: qmail[at]list.cr.yp.to > Subject: Re: mkvalidrcptto issues. > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 2008-04-18, at 0022, Michael Hutchinson wrote: > > > > When I run the "mkvalidrcptto" script from the qmail.jms1.net site, I > > get errors saying: > > > > ERROR: domain1.co.nz is listed in rcpthosts/morercpthosts.cdb but is > > not > > handled by the server. > > > > ^^ there are 5 of these. As I understand it, these are happening > > because > > the domains are not listed in the virtualdomains file. > > to be more precise, it's becuase they are not listed in the > virtualdomains, locals, or "me" file. > <<SNIP>> > IF the domain should be delivered to some other machine, adding an > appropriate entry to your "smtproutes" file will make the script > happy, because it can then see evidence that you are aware of the > domain, and have made a conscious decision about how it should be > handled (in other words, that it's not an accidental oversight.) This sounds exactly like what I need to do. I have used the smtproutes before to fix broken CNAME DNS lookups - probably should have thought of this sooner to fix the current issue. > you could always comment out that bit of the script as well, although > you would then not have the protection against accidentally forgetting > to add a local (or virtual) domain to the appropriate control file. Protection is good, so I won't be breaking the script like that :) > then your control files are technically correct, and you can make the > script happy by adding an appropriate line to your "smtproutes" file. Ok, sounds good to me, off to do it now! > > I would have quite happily populated virtualdomains with these > > domains, > > but breaking mail delivery here is a big no no, even if it is for a > > few > > minutes. > > then it's a good thing you didn't. > > it is never a good idea to muck about with qmail's control files > unless you understand the consequences of what you're doing. I agree with that, hence the extensive use of mailing lists :) Thanks for your help John, you've been wonderfully informative, I have understood everything you've said and now have a solution Thanks again! Cheers, Mike
|