From owner-freebsd-questions Sat Sep 7 8:11:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D24737B400 for ; Sat, 7 Sep 2002 08:11:49 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id F2B8243E3B for ; Sat, 7 Sep 2002 08:11:47 -0700 (PDT) (envelope-from fh31415@gmx.net) Received: (qmail 14556 invoked by uid 0); 7 Sep 2002 15:11:46 -0000 Received: from a092105.adsl.hansenet.de (HELO gmx.net) (213.191.92.105) by mail.gmx.net (mp004-rz3) with SMTP; 7 Sep 2002 15:11:46 -0000 Message-ID: <3D7A16E6.8070203@gmx.net> Date: Sat, 07 Sep 2002 17:10:30 +0200 From: Frank Heitmann User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc3) Gecko/20020607 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD-Questions@FreeBSD.Org Subject: Basic mail and Sendmail problem Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I am new to FreeBSD and have a problem with mail (and sendmail I suppose). At home I have a desktop PC with only a dialup PPP (PPPoE) connection; now I want to send a message with 'mail' from one local user to another (for example to remind myself to do something), but I already get stuck here. My /etc/hosts file looks like this: 127.0.0.1 localhost 192.168.1.1 myhost.mydomain myhost in /etc/rc.conf I have: hostname="myhost.mydomain" ifconfig_ed0="inet 192.168.1.1 netmask 255.255.255.0" When I know try to send a mail to 'userone' with 'mail -v userone' I get the following error (same error in /var/spool/clientmqueue): userone... Connecting to localhost.mydomain. via relay... userone... Deferred: Connection refused by localhost.mydomain. I don't know what to do. I have already tried to find a clue in the handbook, the faq, several man pages and the sendmail faq, but I haven't found out what to do. Also I have started to read the sendmail documentation, but I don't know if it is a problem with sendmail or if it is something differnt. (I thought it might be something like adding "Cwmydomain" to sendmail.cf but that did not work.) Can someone tell me what to do or give me some ideas what might be the problem and what to read? Greets... Frank To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message