From owner-freebsd-questions@FreeBSD.ORG Mon Aug 21 04:37:06 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 1714A16A4E1 for ; Mon, 21 Aug 2006 04:37:06 +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 3BF3A43D46 for ; Mon, 21 Aug 2006 04:37:04 +0000 (GMT) (envelope-from dan.bikle@gmail.com) Received: by nf-out-0910.google.com with SMTP id n29so1993545nfc for ; Sun, 20 Aug 2006 21:37:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=mUlCD/6CA5/y3xpuMcZDiBWyPa7a9OxpK5OMeqeOLHj+WZf+TeeZGSnBQvKlLfcxEQUXoa9oFIRISPV0TotNMHOIRWDBS+XMlJQmbuRiNiEsORbS7GHy28MjHjitmi8TOqdWTCT2+WbdjdSAItcbHfakGoIh58ms7pRjKbiMzhk= Received: by 10.49.75.2 with SMTP id c2mr7249317nfl; Sun, 20 Aug 2006 21:37:03 -0700 (PDT) Received: by 10.78.161.8 with HTTP; Sun, 20 Aug 2006 21:37:03 -0700 (PDT) Message-ID: <74252ed10608202137n845ba89v1e80dcaad3182369@mail.gmail.com> Date: Sun, 20 Aug 2006 21:37:03 -0700 From: "Dan Bikle" To: freebsd-questions@freebsd.org MIME-Version: 1.0 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: [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 04:37:06 -0000 People, I want to configure sendmail for incoming mail. I want to funnel all mail destined for a specific domain to a catchall account. On my FreeBSD 5.3 box I looked in /etc/mail/ I found this file: /etc/mail/virtusertable.sample and studied it. I made this file: /etc/mail/virtusertable I put 1 line in it: @mydomain.com catchall I want ... any mail sent to @mydomain.com to land here /var/mail/catchall I assume I am using the right syntax; true? Anyway, I bounced sendmail with the Makefile I found in /etc/mail When I send mail to spam@mydomain.com the mail just ends up in the dead.letter file of the sender. When I send mail to a valid user, the mail does get delivered to the right file in /var/mail/ So, how do I setup a catchall mail account? I sense that I'm supposed to do this via /etc/mail/virtusertable but maybe I'm putting in the wrong syntax or I need to configure some other file. If you have any tips for me, please send them to me. Thanks, -Dan