From owner-freebsd-questions Wed Nov 6 17:11: 0 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 3C3CA37B401 for ; Wed, 6 Nov 2002 17:10:59 -0800 (PST) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B10D43E88 for ; Wed, 6 Nov 2002 17:10:58 -0800 (PST) (envelope-from swear@attbi.com) Received: from localhost.localdomain ([12.242.158.67]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021107011057.JQBU20487.sccrmhc02.attbi.com@localhost.localdomain>; Thu, 7 Nov 2002 01:10:57 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (8.12.6/8.12.5) with ESMTP id gA71BMUW014497; Wed, 6 Nov 2002 17:11:27 -0800 (PST) (envelope-from swear@attbi.com) Received: (from jojo@localhost) by localhost.localdomain (8.12.6/8.12.5/Submit) id gA71BG0n014494; Wed, 6 Nov 2002 17:11:16 -0800 (PST) (envelope-from swear@attbi.com) X-Authentication-Warning: localhost.localdomain: jojo set sender to swear@attbi.com using -f To: Ray Kohler Cc: freebsd-questions@freebsd.org Subject: Re: sendmail without (real) hostname? References: <3DC9A3B4.1030303@cox.net> From: swear@attbi.com (Gary W. Swearingen) Date: 06 Nov 2002 17:11:16 -0800 In-Reply-To: <3DC9A3B4.1030303@cox.net> Message-ID: Lines: 23 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Ray Kohler writes: > Is there any way to get outgoing mail working on a system with a dynamic > IP and no DNS entries? Mail is sent as it is but of course no one will > relay it. > > All I really want is the ability to use send-pr so I can send patches > without having them mangled by line-wrapping. If I understand the question, change the default /etc/mail/freebsd.mc: < dnl define(`SMART_HOST', `your.isp.mail.server') --- > define(`SMART_HOST', `yourISPsMailHost.yourISP.net') And rebuild the two sendmail .cf files in that dir following the README and maybe the sendmail manpage. You'll probably have to use "sendmail" vars from /etc/default/rc.conf and (re)start some sendmail daemons. It's nasty and I didn't take notes. And I doubt if send-pr will work without your deciphering the script to see if it can be fooled with environmental vars or you could modify it. I've always just edited a copy of a template PR and then mailed it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message