Date: Sun, 22 Jun 2003 09:31:41 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Gary Schenk <gwschenk@socal.rr.com> Cc: freebsd-questions@freebsd.org Subject: Re: sendmail config for desktop Message-ID: <20030622083141.GB12760@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <200306211738.05302.gwschenk@socal.rr.com> References: <200306211738.05302.gwschenk@socal.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--OwLcNYc0lM97+oe1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 21, 2003 at 05:38:05PM -0700, Gary Schenk wrote: > I am running 4.7-RELEASE. When I installed freeBSD I made the localhost= =20 > name fuzz. >=20 > I am now attempting to get mutt running on this computer. >=20 > I cannot send email to the outside world. My email is rejected because=20 > the doamin part of the address includes the localhost name "fuzz". So=20 > instead of "gwschenk@socal.rr.com", which is what the ISP expects, mail= =20 > is sent out as being from "gwschenk@fuzz.socal.rr.com". You can put: set from=3Dgwschenk@socal.rr.com into your ~/.muttrc which should help, but yes, the general solution is to use sendmail's Masquerade feature. =20 > In one attempt to get things working, I edited freebsd.mc in a couple of= =20 > places. I defined 'SMART_HOST' as my isp, and included a line=20 > MASQUERADE_AS('socal.rr.com'). I did make cf, and make install. After=20 > running sendmail -q it gives me an error message in sendmail.cf "line=20 > 66: unknown configuration line "\n" > MASQUERADE_AS('socal.rr.com') dnl > dnl Dialup users should uncomment and define this appropriately > define(`SMART_HOST', `smtp-server.socal.rr.com') dnl Hmmm.. Try this in your `hostname`.mc. Don't leave a space before the 'dnl' after those entries, and make sure you get the quoting right. With m4(1) you need to use quotes like `this', not like 'this': MASQUERADE_AS(`socal.rr.com')dnl define(`SMART_HOST', `smtp-server.socal.rr.com')dnl In case your screen font doesn't make the distinction clear, the first quote mark ` is character 96, and the second quote mark ' is character 39 -- see ascii(7) for the whole table. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --OwLcNYc0lM97+oe1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+9WltdtESqEQa7a0RAtBoAKCVn7K2aRjij3jKTOuCTBct4u5FQACgjUig RFhXb5XcH/Pq45WI2ATAa40= =l5yM -----END PGP SIGNATURE----- --OwLcNYc0lM97+oe1--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030622083141.GB12760>