From owner-freebsd-questions Sun Aug 9 11:15:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA06813 for freebsd-questions-outgoing; Sun, 9 Aug 1998 11:15:32 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA06806 for ; Sun, 9 Aug 1998 11:15:30 -0700 (PDT) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.8.7/8.8.2) with SMTP id LAA27485; Sun, 9 Aug 1998 11:15:54 -0700 (PDT) Date: Sun, 9 Aug 1998 11:15:54 -0700 (PDT) From: Dan Busarow To: Dan Langille cc: freebsd-questions@FreeBSD.ORG Subject: Re: receiving mail directly In-Reply-To: <199808091318.BAA06901@cyclops.xtra.co.nz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 10 Aug 1998, Dan Langille wrote: > I have a permanent connection to my ISP via ADSL. At present, all mail > for my domains is delivered direct to my ISP. I then download it with an > email client. One problem I have with my email is spam to old addresses > which I no longer use but are part of my domain (eg. xyz@mydomain.com). > > I have two domains. The mail for one (dvl.co.nz) gets sent to one of my > ISPs. My other domain (dvl-software.com) is a virtual domain handled by > my web site host. Mail sent to that domain is controlled by a .redirect > file on my virtual machine at that host (I don't fully understand how it > works; I just know how to add entries to the .redirect file to forward > mail from spot to spot). If you run the DNS for both domains change the MX records to point to your DSL connected machine. If you don't control it ask the ISPs who do to make the change for you. By default sendmail will bounce mail if there is no user with that id, IOW if you don't have a user dan then mail to dan will be bounced. > solution seems to apply to me. That is, make my ISP a secondary server to > myself. Since you have a permanent connection you don't need to go to this trouble. The mail will come in on its own once you make yourself primary MX. you can make the ISP secondary if you want but it is not necessary. > Sendmail is up and running on my machine. Mail sent to my freebsd box > gets out into the realworld. I'm guessing that what I need to do is > install procmail, which is a local mail delivery agent. Is that correct? Installing procmail is a good idea, but not for this problem. It will give you more control over local delivery than you've yet dreamed of. :) Dan -- Dan Busarow 949 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message