From owner-freebsd-questions@FreeBSD.ORG Wed Aug 13 01:21:10 2003 Return-Path: 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 12B0037B48F for ; Wed, 13 Aug 2003 01:21:09 -0700 (PDT) Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBB3343F93 for ; Wed, 13 Aug 2003 01:21:07 -0700 (PDT) (envelope-from scott@fishballoon.org) Received: from llama.fishballoon.org ([81.104.195.124]) by mta07-svc.ntlworld.comESMTP <20030813082106.ZKFR27190.mta07-svc.ntlworld.com@llama.fishballoon.org> for ; Wed, 13 Aug 2003 09:21:06 +0100 Received: from scott by llama.fishballoon.org with local (Exim 4.20) id 19mqrl-0008Cb-5W for freebsd-questions@freebsd.org; Wed, 13 Aug 2003 09:20:21 +0100 Date: Wed, 13 Aug 2003 09:20:21 +0100 From: Scott Mitchell To: freebsd-questions@freebsd.org Message-ID: <20030813082021.GA31320@llama.fishballoon.org> References: <5.2.0.9.1.20030812180445.0196f180@postamt1.charite.de> <20030812184703.GC14078@devil.stderror.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030812184703.GC14078@devil.stderror.at> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.8-RELEASE i386 Sender: Scott Mitchell Subject: Re: How to send a PR without send-pr? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2003 08:21:11 -0000 On Tue, Aug 12, 2003 at 08:47:03PM +0200, Toni Schmidbauer wrote: > > trying to answer q2 because q1 was too complicated :-) > > edit /etc/mail/submit.cf and change > > D{MTAHost}[localhost] > > to > > D{MTAHost}[] > > restart sendmail. this is untested, so let me know if it works > for you. > > because relaying over is only permitted > after a successfull pop login, use fetchmail just before sending > the mail: > > fetchmail -c -p pop3 -u Possibly easier to edit /etc/mail/freebsd.submit.mc. Change the last line: FEATURE(`msp', `[127.0.0.1]')dnl to FEATURE(`msp', `your.mail.server')dnl Then run 'make all install' in /etc/mail. This has exactly the same effect as Toni's solution, but I find the .mc far easier to read than the .cf that is generated from it, plus this approach will survive an installworld - that runs make in /etc/mail, which will re-generate your submit.cf. Cheers, Scott