From owner-freebsd-questions@FreeBSD.ORG Wed Jan 14 19:02:44 2009 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 0E932106564A for ; Wed, 14 Jan 2009 19:02:44 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id E6EE58FC17 for ; Wed, 14 Jan 2009 19:02:43 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay13.apple.com (relay13.apple.com [17.128.113.29]) by mail-out3.apple.com (Postfix) with ESMTP id A6B664C69A31; Wed, 14 Jan 2009 11:02:43 -0800 (PST) Received: from relay13.apple.com (unknown [127.0.0.1]) by relay13.apple.com (Symantec Brightmail Gateway) with ESMTP id 8E7A32808C; Wed, 14 Jan 2009 11:02:43 -0800 (PST) X-AuditID: 1180711d-ad02ebb000000ff0-ee-496e36d38913 Received: from cswiger1.apple.com (cswiger1.apple.com [17.227.140.124]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay13.apple.com (Apple SCV relay) with ESMTP id 6170128086; Wed, 14 Jan 2009 11:02:43 -0800 (PST) Message-Id: <2C672D07-3AC3-4BC9-8E91-782B967BF99F@mac.com> From: Chuck Swiger To: Pieter Donche In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Wed, 14 Jan 2009 11:02:43 -0800 References: <200901131429.07667.fbsd.questions@rachie.is-a-geek.net> X-Mailer: Apple Mail (2.930.3) X-Brightmail-Tracker: AAAAAA== Cc: "mail.list freebsd-questions" Subject: Re: receiving mail 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: Wed, 14 Jan 2009 19:02:44 -0000 On Jan 13, 2009, at 11:51 PM, Pieter Donche wrote: > on host1: > $ host -t MX macos.cmi.ua.ac.be > returns no answer It is recommended to configure MX records for the domains in DNS, but mail will fall back to using A records if no MX records exist. > But, when I try from host1 > $ telnet host2.domain.topdom 25 > > Trying 143.129.75.1... > telnet: Unable to connect to remote host: Connection refused > > Op host2.domain.topdom I see sendmail is running: > host2: $ ps -jaxw | grep sendm > smmsp 816 1 816 816 0 Is ?? 0:00.02 sendmail: > Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail) > root 812 1 812 812 0 Ss ?? 0:00.01 sendmail: > accepting connections (sendmail) > > What's wrong? Why does this not work out of the box ?? Given the security history of sendmail, it's not prudent to enable sendmail by default. Those two processes are the client mqueue runner and probably a daemon listening only on localhost rather than on all interfaces. There is a minimum level of effort required to set up mail properly; at the least, read /etc/mail/README and set: sendmail_enable="YES" ...in /etc/rc.conf. I expect to deal with sendmail for as long as I administer Unix boxes, but alternatives like Postfix in particular would be my preference from a number of standpoints. Regards, -- -Chuck