tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: chas <sweeting () neuronet ! com ! my>
To: tru64-unix-managers
Subject: confirmation of cwlocalhost and zone file config.
Date: Wed, 14 May 1997 17:13:06 +0000	[thread overview]
Message-ID: <96078612210381.tru64-unix-managers.marc@archive.invalid> (raw)

>Answer: the Cw line sendmail.cf has to list all domains that the machine
>is/may be in. In my case, 
>
>Cwlocalhost cuccfa.ccc.columbia.edu cuccfa.columbia.edu

This could explain why I have been having receiving console
error messages up the ying yang : I was previously advised
to change the sendmail.cw file (as opposed to simply adding
lines to Cwlocalhost) so that I actually have :

[snipped from sendmail.cf]

	##################
	#   local info   #
	##################

	Cwlocalhost
	# file containing names of hosts for which we receive email
	Fw-o /etc/sendmail.cw

	# my official domain name
	# ... define this only if sendmail cannot automatically determine your domain
	#Dj$w.Foo.COM

[/snip]

and the following in sendmail.cw :

	aaa.com
	bbb.com
	ccc.com
	mail.aaa.com
	mail.bbb.com
	mail.ccc.com

This seems to work (although I am unsure if both aaa.com and mail.aaa.com 
are needed) but I would like to get rid of the console error messages.
And lately , there have been a lot of people timing out
while trying to check mail. 

So, can I assume that it is not enough to add the 
domains to sendmail.cw but that the Cwlocalhost must be 
added too ?


I am actually trying to run a mailhub which
handles the mail for several virtual domains whose
webservers are running on a separate machine :

machine 1 : 			machine 2 :
----------			-----------
mail.aaa.com			aaa.com
mail.bbb.com			bbb.com
mail.ccc.com			ccc.com

If possible, could someone pls confirm whether the
following is the correct DNS set up for the above :

[zone file for aaa.com]
;
aaa.com.	IN	SOA	neuronet.com.my. postmaster.neuronet.com.my. (
     		23	; Serial
			300	; Refresh - 5 minutes
			60	; Retry - 1 minute
			1209600	; Expire - 2 weeks
			43200 )	; Minimum - 12 hours
;
			IN	NS		neuronet.com.my.
			IN	NS		relay1.jaring.my.
			IN	MX		10 mail
			IN	A		202.184.153.4
www1		IN	A		202.184.153.4
www			IN	CNAME	aaa.com.
mail		IN	MX		10 mail
mail		IN	A		202.184.153.15
; %HOSTS_END%


(DNS is run on a third machine and i do realise that
it may be preferable to run it on the same machine
as the mailhub)

If I have made a boo boo in any of the above, pls do let me know.

Thank you very much in advance,

chas



>> 2) Sendmail now thinks that our domain is ccc.columbia.edu, and appends
>> this to any outgoing mail. How can I set it to append columbia.edu to
>> outgoing mail instead of ccc.columbia.edu? 
>
>Answer: add DMcolumbia.edu in sendmail.cf

                 reply	other threads:[~1997-05-14 17:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox