From owner-freebsd-questions Thu Jul 27 21:47:40 2000 Delivered-To: freebsd-questions@freebsd.org Received: from theory1.physics.iisc.ernet.in (theory1.physics.iisc.ernet.in [144.16.71.20]) by hub.freebsd.org (Postfix) with SMTP id 596F037BFBD for ; Thu, 27 Jul 2000 21:47:24 -0700 (PDT) (envelope-from rsidd@physics.iisc.ernet.in) Received: (qmail 94844 invoked from network); 28 Jul 2000 04:47:11 -0000 Received: from unknown (HELO theory3.physics.iisc.ernet.in) (qmailr@144.16.71.158) by theory1.physics.iisc.ernet.in with SMTP; 28 Jul 2000 04:47:11 -0000 Received: (qmail 12038 invoked by uid 211); 28 Jul 2000 04:47:11 -0000 Date: Fri, 28 Jul 2000 10:17:11 +0530 From: Rahul Siddharthan To: shashi Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sendmail/qmail problem with multiple virtual domains on same IP Message-ID: <20000728101711.C11990@physics.iisc.ernet.in> Mail-Followup-To: shashi , freebsd-questions@FreeBSD.ORG References: <20000726021359.A22466@Shift-F1.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000726021359.A22466@Shift-F1.com>; from shashi@Shift-F1.com on Wed, Jul 26, 2000 at 02:13:59AM -0400 X-Operating-System: Linux 2.4.0-test3 i686 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG shashi said on Jul 26, 2000 at 02:13:59: > > Hi, > I have > 12 domains on 5 IPs, some IPs have single domain,some have 3 some > have subdomains defined. Earlier I had one IP per sub/domain. Things were > fine then. > > Now, the web part works fine, but I can't GET mail for any sub/domains that > is NOT the first in the listing for that IP. > so, if d1 and d2 map to ip1, then i can get mail for @d1.com but not for > @d2.com > The mail is queued up, so I guess it has reached the box, but not > delivered. > I have set the Cw records in /etc/mail/sendmail/cw > and the relay-domains has the domains (no Cw prefix?) > > I even tried installing qmail, and I could send mail out, but couldn't get > mail from outside. First check that the mx records for your subdomains are ok (so that a remote machine will know where to deliver the mail). The qmail answer is in the FAQ (well, not exactly the same situation, but to me it looks like this should work): 3.1. How do I receive mail for another host name? I'd like our disk server, pokey.af.mil, to receive mail addressed to af.mil. I've set up an MX from af.mil to pokey.af.mil, but how do I get pokey to treat af.mil as a name for the local host? Answer: Add af.mil to /var/qmail/control/locals and to /var/qmail/control/rcpthosts. If qmail-send is running, give it a HUP (or do svc -h /var/run/qmail if qmail is supervised). Hope it helps, Rahul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message