Date: Wed, 13 Aug 2003 09:20:21 +0100 From: Scott Mitchell <scott+freebsd@fishballoon.org> To: freebsd-questions@freebsd.org Subject: Re: How to send a PR without send-pr? Message-ID: <20030813082021.GA31320@llama.fishballoon.org> In-Reply-To: <20030812184703.GC14078@devil.stderror.at> References: <5.2.0.9.1.20030812180445.0196f180@postamt1.charite.de> <20030812184703.GC14078@devil.stderror.at>
next in thread | previous in thread | raw e-mail | index | archive | help
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}[<global mail server>] > > restart sendmail. this is untested, so let me know if it works > for you. > > because relaying over <global mail server> is only permitted > after a successfull pop login, use fetchmail just before sending > the mail: > > fetchmail -c -p pop3 -u <your username> <global mail server> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030813082021.GA31320>