From owner-svn-doc-all@FreeBSD.ORG Mon May 12 13:17:56 2014 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0177236D; Mon, 12 May 2014 13:17:56 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E256624E4; Mon, 12 May 2014 13:17:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4CDHt8J031794; Mon, 12 May 2014 13:17:55 GMT (envelope-from dru@svn.freebsd.org) Received: (from dru@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4CDHtiU031793; Mon, 12 May 2014 13:17:55 GMT (envelope-from dru@svn.freebsd.org) Message-Id: <201405121317.s4CDHtiU031793@svn.freebsd.org> From: Dru Lavigne Date: Mon, 12 May 2014 13:17:55 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r44812 - head/en_US.ISO8859-1/books/handbook/mail X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2014 13:17:56 -0000 Author: dru Date: Mon May 12 13:17:55 2014 New Revision: 44812 URL: http://svnweb.freebsd.org/changeset/doc/44812 Log: Move relay-domains section from Troubleshooting to Sendmail Config Files. Sponsored by: iXsystems Modified: head/en_US.ISO8859-1/books/handbook/mail/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/mail/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/mail/chapter.xml Mon May 12 11:17:22 2014 (r44811) +++ head/en_US.ISO8859-1/books/handbook/mail/chapter.xml Mon May 12 13:17:55 2014 (r44812) @@ -525,6 +525,42 @@ postmaster@example.com postmast &prompt.root; service sendmail restart + + + /etc/mail/relay-domains + + In a default &os; installation, + Sendmail is configured to only + send mail from the host it is running on. For example, + if a POP server is available, users + will be able to check mail from remote locations but they + will not be able to send outgoing emails from outside + locations. Typically, a few moments after the attempt, an + email will be sent from MAILER-DAEMON + with a 5.7 Relaying Denied message. + + The most straightforward solution is to add the + ISP's FQDN to + /etc/mail/relay-domains. If multiple + addresses are needed, add them one per + line: + + your.isp.example.com +other.isp.example.net +users-isp.example.org +www.example.org + + After creating or editing this file, restart + Sendmail with + service sendmail restart. + + Now any mail sent through the system by any host in + this list, provided the user has an account on the system, + will succeed. This allows users to send mail from the + system remotely without opening the system up to relaying + SPAM from the Internet. + + @@ -862,54 +898,6 @@ machine customer.com as w the DNS for customer.com. - - - - Why do I keep getting Relaying - Denied errors when sending mail from other - hosts? - - - - In a default &os; installation, - Sendmail is configured to only - send mail from the host it is running on. For example, - if a POP server is available, users - will be able to check mail from remote locations but they - will not be able to send outgoing emails from outside - locations. Typically, a few moments after the attempt, an - email will be sent from MAILER-DAEMON - with a 5.7 Relaying Denied. - - The most straightforward solution is to add the ISP's - FQDN to /etc/mail/relay-domains, as - seen in this example: - - &prompt.root; echo "your.isp.example.com" > /etc/mail/relay-domains - - After creating or editing this file, restart - Sendmail. This works great if - the server administrator does not wish to send mail - locally, would like to use a MUA on a - remote machine, or would like to use another - ISP for remote connections. It is also - useful when there is only one or two email accounts. If - there are a large number of addresses, add them one per - line: - - your.isp.example.com -other.isp.example.net -users-isp.example.org -www.example.org - - Now any mail sent through the system by any host in - this list, provided the user has an account on the system, - will succeed. This allows users to send mail from the - system remotely without opening the system up to relaying - SPAM from the Internet. - - -