From owner-freebsd-questions@FreeBSD.ORG Mon Aug 21 05:23:04 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDDCA16A4DD for ; Mon, 21 Aug 2006 05:23:04 +0000 (UTC) (envelope-from dan.bikle@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC56C43D53 for ; Mon, 21 Aug 2006 05:22:09 +0000 (GMT) (envelope-from dan.bikle@gmail.com) Received: by nf-out-0910.google.com with SMTP id n29so1998704nfc for ; Sun, 20 Aug 2006 22:22:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=TW/KhfEzB9nHXwxSuVtmh83UUbpKscSyRzHFBhU/NExBNI5nhqDy/dw4A4mAxv3+u41yu8+wCVBMHICTLDrfYdcGCBRz7RTXcBWAfPAM39+TbkJnpsLjd73E59uK0KnGHcXhEQiXOGzgnzQvXSOm4UwSsPYfHCn5W9sw7mIu+Ek= Received: by 10.49.55.13 with SMTP id h13mr7271086nfk; Sun, 20 Aug 2006 22:22:08 -0700 (PDT) Received: by 10.78.161.8 with HTTP; Sun, 20 Aug 2006 22:22:07 -0700 (PDT) Message-ID: <74252ed10608202222u1e2e3213j3b7281aee10002c9@mail.gmail.com> Date: Sun, 20 Aug 2006 22:22:07 -0700 From: "Dan Bikle" To: freebsd-questions@freebsd.org In-Reply-To: <74252ed10608202220t30c1a3a4ue82168ed7bda295@mail.gmail.com> MIME-Version: 1.0 References: <74252ed10608202137n845ba89v1e80dcaad3182369@mail.gmail.com> <44E93AE2.4060209@gregs-garage.com> <74252ed10608202157j36d85e57q953f5162b6a57064@mail.gmail.com> <44E93FE7.9070302@gregs-garage.com> <74252ed10608202220t30c1a3a4ue82168ed7bda295@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: [FreeBSD] Incoming mail configuration; catch-all e-mail account; virtusertable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Aug 2006 05:23:05 -0000 Wow, excellent advice. I now have 2 lines in virtusertable jnk@mydomain.com catchall @mydoemain.com catchall Inside of /etc/mail... I then ran make all Then I ran make restart Now, anything sent to mydomain.com , lands in /var/mail/catchall I'm happy. Thanks!! -Dan On 8/20/06, Greg Groth wrote: > Dan Bikle wrote: > > Yes, > > > > I used /usr/sbin/adduser to create an account named catchall. > > > > And if I send e-mail to catchall@mydomain.com > > , > > the e-mail does appear in /var/mail/catchall > > > > Does anyone out there know how to tinker with the configuration of > > incoming mail on FreeBSD ?? > > > > -Dan > > Do you have any other addresses defined in virtusertable? I've run into > problems in the past where a catchall address would not work if it was > the only defined. So in my experience, you should have at least two > addresses defined in virtusertable like so: > > someuser@somedomain.com someuser > @somedomain.com catchall > > Also, did you rehash virtusertable after you added the entries? If not, > cd into /etc/mail and run 'make all' and then 'make restart'. If you > did all the above, and it's still not working, check /var/log/maillog > for any indications as to what's going wrong. > > Best regards, > Greg Groth >