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 _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"