From owner-freebsd-questions@FreeBSD.ORG Tue Mar 20 17:32:59 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0EDC816A400 for ; Tue, 20 Mar 2007 17:32:59 +0000 (UTC) (envelope-from vinzstyle@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by mx1.freebsd.org (Postfix) with ESMTP id C3DB113C4C5 for ; Tue, 20 Mar 2007 17:32:58 +0000 (UTC) (envelope-from vinzstyle@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1686896ana for ; Tue, 20 Mar 2007 10:32:57 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=WLgVj48u4gUy0uptaKF/ETWVYURk2qooea4KB0BLWFRFKlg8c9xGHIc3kM9A93IadYIzLvNwnTsZrmifOm+AMiP0I/uhhpYoQfrJx5UsBibYLATWHUlwgwbh6pBHVXu9VOGsA+fcQaPqUi253UU7AuQG7vG1bwDmGWrLAGCJ47g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=j5IsePULv6OHCK8EwP/3Xfx3MSoeJTyz/U7xkOrGtI/7BuqZ7cXTs47O+PgWpB4y56ljgjNWLj8wjTqNGXIg94oA7M3uOLrzyCmBMKVGnrMD2rAF9RoSMwJX4i/mSwuTcwm5GbRQ6XCZPycrTmohtuteBFy7sRwqfQONv1O6KDQ= Received: by 10.100.10.20 with SMTP id 20mr5326178anj.1174411977727; Tue, 20 Mar 2007 10:32:57 -0700 (PDT) Received: by 10.100.242.10 with HTTP; Tue, 20 Mar 2007 10:32:57 -0700 (PDT) Message-ID: Date: Tue, 20 Mar 2007 18:32:57 +0100 From: "Vincent Bolinard" 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 Subject: Sendmail ignores SmartHost directive 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: Tue, 20 Mar 2007 17:32:59 -0000 Hi, I'm trying to set up Sendmail to "send-only". I just want Sendmail sends local mails (i.e.: daily security run output) to my SMTP server. I use : # cd /etc/mail # make to generate a `hostname`.mc file. I edit it, and add : define(`SMART_HOST', `[192.168.1.6]') (I tried without brackets, and with names) then : # make install # make restart-mta I use # date | sendmail -v postmaster but I can see in the output that Sendmail sends the mail to the local server. It seems that my SmartHost is ignored. I can ping the smarthost (whith IP and name), and telnet mail.domain.com 25 works fine. It's suggested in the Handbook to use ssmtp in this case (send-only), but I red that it was unable to send HTML mails. Is that true ? If not, I'll use it. So, can somebody tell me where I am wrong ? and what can I do to use a smarthost ? Thank you. P.S.: I'm running FreeBSD 6.2-RELEASE.