Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!dish.news.pipex.net!pipex!sunsite.doc.ic.ac.uk!nntp0.brunel.ac.uk!not-for-mail From: Nik.Clayton@brunel.ac.uk (Nik Clayton) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: [Q] sendmail Date: 9 Jul 1995 14:12:08 +0100 Organization: Brunel University, Uxbridge, UK Lines: 33 Message-ID: <3tokj8$pfp@mishmash.brunel.ac.uk> References: <3t9evb$l06@decaxp.harvard.edu> <3tnagd$8i@spock.dis.cccd.edu> NNTP-Posting-Host: mishmash.brunel.ac.uk X-Submissions-To: ahbou-sub@acpub.duke.edu for alt.humor.best-of-usenet X-URL: http://http2.brunel.ac.uk:8080/~xxccnjc/ [Machine with two domain names, mail bouncing if sent to one of them] I had exactly the same problem. My other internet provision is with Demon Internet, and our 'real' machine is 'surfs-up.demon.co.uk'. However, we've also got mailforwarding to the domain 'blueberry.co.uk'. To configure sendmail for this, I edited /etc/sendmail.cf and changed the line Cwlocalhost to the two lines Cwsurfs-up Cwblueberry.co.uk Since I wanted all e-mail to appear as though it's from blueberry.co.uk, I then changed the masquerade line from DM to DMblueberry.co.uk and it works like a charm. N -- =-[Opinion, n: See the above text for an example]=-=[Kibo #: e]-[RYRYRY]=-= =-[The Silly Sod Society: To perfect and to swerve]=-[beable]-=[TP U BG]=-= In case of atomic attack, the federal ruling against prayer in schools will be temporarily canceled.