From owner-freebsd-doc@FreeBSD.ORG Tue Jan 6 09:50:06 2015 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E54671D5 for ; Tue, 6 Jan 2015 09:50:06 +0000 (UTC) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 74414666AD for ; Tue, 6 Jan 2015 09:50:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id 5CF525E02D for ; Tue, 6 Jan 2015 10:50:20 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -0.95 X-Spam-Level: X-Spam-Status: No, score=-0.95 tagged_above=-999 required=5 tests=[AWL=0.047, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_PBL=0.905, RDNS_NONE=0.1, SPF_SOFTFAIL=0.596] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id v5dKoxjLMyQP for ; Tue, 6 Jan 2015 10:50:13 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from Leslies-MacBook-Pro.local (unknown [80.70.153.55]) by mx1.bjare.net (Postfix) with ESMTP id 8BA0B5E131 for ; Tue, 6 Jan 2015 10:50:11 +0100 (CET) Message-ID: <54ABAFBE.5010008@eskk.nu> Date: Tue, 06 Jan 2015 10:49:50 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-doc@freebsd.org Subject: 28.7. Setting Up to Send Only Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2015 09:50:07 -0000 Hello list. I've just set up ssmtp for the first time after using sendmail as an outgoing mailer for several years. Using chapter 28.7 in the handbook https://www.freebsd.org/doc/handbook/outgoing-only.html The instructions are clear but I missed some information that had been useful to me. I'd like to suggest that mention of which information must be present in the ssmtp.conf file. In the present text it says can be configured. For example in my case these values had to be changed. For the first two there was no doubt, the third was by trial and error. root=yourrealemail@example.com mailhub=mail.example.com hostname=_HOSTNAME_ I think it will be helpful to others to mention how ssmtp actually runs. There's no service to start, it's nice, but from the text it's not clear how ssmtp runs and that changes to the configuration files are immediate. Nice to know I think. Following the first part of chapter 28.4. Changing the Mail Transfer Agent I could disable sendmail. I think it should be mentioned earlier in chapter 28.7 before one starts installing ssmtp. My suggestion is to move the line "Make sure to disable Sendmail, including the outgoing mail service. See Section 28.4.1, "Disable Sendmail" for details." To before installation of ssmtp. Maybe some mention of ssmtp in chapter 28.4.2? These are my 10 cents. Please feel free to use if you find it productive. Thanks /Leslie