I was getting the mailbox not found on this server error and returing to the
sender was because I had it listed both in my locals and rcpthosts file.
Once I removed it from the locals file things worked as advertised.  I
re-read the docs,  found the sequence of what the mail is processed.   I was
able to reproduce the error, then fix it.  One thing I didn't do before was
do a qmailctl reload to reload the files so qmail-send would process the new
settings.  I'll update my reference article so hopefully someone else
doesn't have to struggle!
Thanks to  Jeremy Suo-Anttila, he also sent me an email that backs up what I
found in the docs.   This server does 3 functions,  acts as a backup mail
server, a forwarder for certain domains, and hosts one mail domain locally!
I finally have all three working and understand it too!

*  ----------------------------------------- *
*  Steve Schofield - MCP, CCA
*  [EMAIL PROTECTED]
*
*  Microsoft MVP - ASP.NET
*  http://www.adminblogs.com
*  ----------------------------------------- *
----- Original Message ----- 
From: "Jonathan Viney" <[EMAIL PROTECTED]>
To: "Steve Schofield" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, September 07, 2003 7:25 PM
Subject: Re: [qmailadmin] Using Qmail/FreeBSD as front-end server


> Hi,
>
> I'm no expert on this stuff but see if this helps..
>
> On Mon, 2003-09-08 at 10:21, Steve Schofield wrote:
> > I've setup a FreeBSD server using Qmail, Spamassassin,
> > qmail-scanner, smtp-auth, qmailqueue.patch, vpopmail, qmailadmin etc...
>
> For the setup you describe you shouldn't need to install vpopmail,
> because you are simply forwarding on all mail, no mail is being
> delivered locally.
>
> > On the Front-End server server running Qmail, I put an
> > entry domainA.com and [EMAIL PROTECTED] in the /var/qmail/control/locals
and
> > /var/qmail/control/rcpthosts file.
>
> I think this could be your problem. You don't want your domains to be
> listed in control/locals because this means qmail will try and deliver
> it locally (ie. on this server) which then fails because the domains
> aren't set up.
>
> You should only have your domains listed in the control/rcpthosts file.
>
> Cheers,
> Jonathan
>
>


Reply via email to