From owner-freebsd-questions@FreeBSD.ORG Sun Jul 27 21:22:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA3201065678 for ; Sun, 27 Jul 2008 21:22:31 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 97E568FC13 for ; Sun, 27 Jul 2008 21:22:31 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id m6RLMF2w035101; Sun, 27 Jul 2008 16:22:16 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20080727161405.026938f8@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Sun, 27 Jul 2008 16:22:13 -0500 To: "Bruno Joho" , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: References: <6.0.0.22.2.20080724135553.025d3660@mail.computinginnovations.com> Mime-Version: 1.0 X-Antivirus: avast! (VPS 080726-1, 07/26/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.93.3/7853/Sun Jul 27 14:51:50 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m6RLMF2w035101 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: {Spam?} Re: Sendmail local LAN delivery 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: Sun, 27 Jul 2008 21:22:32 -0000 At 03:49 PM 7/27/2008, Bruno Joho wrote: >Hi Derek > >thanks for the reply. >My intention was to deliver the mails between the workstations on the >LAN directly. Every Workstation >on the LAN would have an appropriate cf file which forwards mails with >a destination on the WAN - to the >WAN-Smarthost, any mail going to a destination from inside the LAN >would be delivered >directly to the destination host without involving a (LAN) smarthost. >Is that possible somehow? > >Thanks for your help > >Bruno That scenario is possible, but you may still need DNS MX records to point to the smart host as well. You can have multiple MX records for a domain (or subdomain) where the value field is higher for a farther away mail server, or for a secondary mail server. Sendmail uses DNS to figure routing along with the internal configuration file UNLESS you specify to sendmail to NOT use DNS. So you have some choices in how you configure sendmail and/or DNS. Also it may help you to test things on one system and bump up the sendmail logging so the /var/log/maillog file has more information. Use the option: -O LogLevel=80 Or some other value than 80. You can add these options to your sendmail flags in /etc/rc.conf -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.