Doug--
Did you run a "make" in the /etc/mail directory before restarting Sendmail?  I forgot to mention that those plaintext databases need to be hashed with a "make" and Sendmail restarted for them to take affect.  I bet when the box reboots, it rehashes everything.
 
No, in the strictest sense the virtusertable is not needed, but if you have multiple users that may want the same email address you may run into problems.  Not using the virtusertable assumes all names to the left of the @ are unique and mark at domain1 and mark at domain2 is not 'easily' possible.  Virtusertable allows you to create a mapping of mark at domain1 to 1 system account such as mark.domain1 and mark at domain2 to mark.domain2; thus making them distinct.  With a handful of domains, it probably isn't a big deal, but often small servers have a tendency of growing!
 
Does that help?
MK
 
Mark J. Kroska
Director of Web Services
KDV Technology and Consulting Services, Inc.
Direct 320-258-6412
Main 320-252-7060
Fax 320-252-9627
mkroska at kdv.com
 
 
"NOTICE: This E-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution or copying of this communication is strictly prohibited,  Please reply to the sender that you have received the message in error, then delete it. Thank you."

________________________________

From: tclug-list-bounces at mn-linux.org on behalf of Doug Coats
Sent: Wed 10/27/2004 10:17 AM
To: 'TCLUG Mailing List'
Subject: RE: [TCLUG] Sendmail with multiple domains


Mark,
 
Thanks for the input.  I tried following the virtual-hosting.html that you suggested before contacting the list to no avail.  The tried multiple configurations and many stopping and starting Sendmail with the same results.  To make a long story short I finally restarted my server out of frustration and now it works.  
 
I am happy that it now works but wonder what things were actually necessary for it to work.  I guess I will remove all the changes and document the results of adding each one back into the mix (probably I will just let it work until it breaks and think about it then) 
 
Anyway, I was wondering do I really need a virtusertable?  I my situation the users are only active under one domain and none are relayed off the machine to another mail account.  Does it still apply to what I am doing?
 
Thanks again for your help,
 
Doug

	-----Original Message-----
	From: Mark J. Kroska [mailto:tclug-list-bounces at mn-linux.org]On Behalf Of Mark J. Kroska
	Sent: Tuesday, October 26, 2004 10:15 AM
	To: dcoats at heritagemail.org; TCLUG Mailing List
	Subject: RE: [TCLUG] Sendmail with multiple domains
	
	
	Doug--
	 
	Entries need to be made in these files for multiple-domains with Sendmail:
	(on a RedHat machine, YMMV)
	/etc/mail/local-host-names  
	[just the domain name here, one per line]
	 
	/etc/mail/access  
	[if you need to "relay" or "deny" mail to and from the server, domain name 'tab' RELAY or DENY)
	 
	/etc/mail/virtusertable
	[this contains a mapping of email addresses to local or remote accounts, 
	i.e.:]
	email at host1.com <mailto:email at host1.com>    'tab'    localaccount
	email at host2.com <mailto:email at host2.com>    'tab'    forwaded at yahoo.com <mailto:forwaded at yahoo.com>      
	 
	 
	More information available here:
	http://www.sendmail.org/virtual-hosting.html <http://www.sendmail.org/virtual-hosting.html> 
	 
	Regards,
	Mark
	 
	
	Mark J. Kroska
	Director of Web Services
	KDV Technology and Consulting Services, Inc.
	Direct 320-258-6412
	Main 320-252-7060
	Fax 320-252-9627
	mkroska at kdv.com <mailto:mkroska at kdv.com> 
	 
	 
	"NOTICE: This E-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution or copying of this communication is strictly prohibited,  Please reply to the sender that you have received the message in error, then delete it. Thank you."

________________________________

	From: tclug-list-bounces at mn-linux.org on behalf of Doug Coats
	Sent: Tue 10/26/2004 10:01 AM
	To: tclug-list at mn-linux.org
	Subject: [TCLUG] Sendmail with multiple domains
	
	

	Can someone please a few moments of your time and help resolve a problem for
	me.
	
	I am trying to get Sendmail to work with multiple domains.  I have had
	Sendmail working properly for a number of months with one domain but now I
	have been asked by a friend to add email and web hosting for their domain.
	
	I have tried a number of things with the same result - Sendmail denies
	relaying for the second domain.  All mail is returned to sender.
	
	So if someone has this working on your machine and can explain it to me step
	by step so that I can figure out where I went wrong or which step I missed
	that would be great.
	
	Thanks,
	
	Doug
	
	
	_______________________________________________
	TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
	Help beta test TCLUG's potential new home: http://plone.mn-linux.org
	Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
	tclug-list at mn-linux.org
	https://mailman.real-time.com/mailman/listinfo/tclug-list
	

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 11195 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20041027/b6813780/attachment.bin
-------------- next part --------------
_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list