Article View: comp.mail.sendmail
Article #3666Re: resolv.conf?
From: Richard Jones
Date: Thu, 10 Dec 1998 00:00
Date: Thu, 10 Dec 1998 00:00
46 lines
2513 bytes
2513 bytes
Michael Wilcox <mwilcox@economatics.co.uk> wrote: : When I send multiple copies of a email to people, my local addresses : (user@ECONOMATICS) are rewriten to (user@ECONOMATICS.demon.co.uk). : I need the address to be (user@economatics.co.uk) - how can I do this if : the resolve.conf contains : domain demon.co.uk : Will changing the resolve.conf file cause any other problems if I connect : using pppd (economat.demon.co.uk)? It's a good idea to have the domain be economatics.demon.co.uk, but not essential. The domain name written into emails is controlled by a subtle combination of your MUA (the program you use to compose mail) and your MTA (the program you use to queue and deliver mail). If you're using sendmail as MTA, you could try to change the following line (in /etc/sendmail.cf): # my official domain name # ... define this only if sendmail cannot automatically determine your domain #Dj$w.economatics.demon.co.uk Djeconomatics.co.uk For exim: primary_hostname = economatics.co.uk local_domains = economatics.demon.co.uk:economatics.co.uk If you're using command-line mail, pine, elm, etc. for your MUA, then the MTA should rewrite local addresses correctly for you if reconfigured as above. If you're using Netscape as your MUA, then you should be able to set your From and Reply-To addresses to whatever you want from the Edit -> Preferences -> Mail Identity dialog. Rich. -- - Richard Jones. Linux contractor London and SE areas. - - Very boring homepage at: http://www.annexia.demon.co.uk/ - - You are currently the 1,991,243,100th visitor to this signature. - - Original message content Copyright (C) 1998 Richard Jones. -
Technical Details
Message-ID:
<2tko47.n06.ln@gw.annexia.org>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01be2434$7d801d40$0b0a10ac@michael>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10de99,d7b78b15019ffa88
X-Google-Attributes: gid10de99,public
X-Google-Thread: 108f6a,d7b78b15019ffa88
X-Google-Attributes: gid108f6a,public
From: Richard Jones <rich@annexia.demon.co.uk>
Subject: Re: resolv.conf?
Date: 1998/12/10
Message-ID: <2tko47.n06.ln@gw.annexia.org>
X-Deja-AN: 420812300
X-NNTP-Posting-Host: annexia.demon.co.uk:212.228.121.204
Sender: Richard Jones <rich@arctor.annexia.org>
References: <01be2434$7d801d40$0b0a10ac@michael>
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 913300482 nnrp-07:12707 NO-IDENT annexia.demon.co.uk:212.228.121.204
User-Agent: tin/pre-1.4-981114 ("The Watchman") (UNIX) (Linux/2.1.130 (i686))
Newsgroups: comp.mail.sendmail,demon.ip.support.unix