[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Mail only sub-domain
- Subject: Re: [cobalt-users] Mail only sub-domain
- From: Gerald Waugh <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon Mar 3 07:59:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Mon, 3 Mar 2003, Neil Stringer wrote:
>
> I need sub domains to be able to receive email on mydomain.com and
> mydept.mydomain.com (and mydept2.mydomain.com etc). I do not need the
> sub domain for any other purpose, now web, no ftp, no telnet, no
> nothing, just mail.
>
> I have created an A record to resolve mail.mydomain.com
> I created an MX record to refer mydomain.com to mail.mydomain.com
> and an MX record to refer mydept.mydomain.com to mail.mydomain.com,
>
I have used the following for email only users.
Maybe a twist on it will work for you
=============================================
Creating a user for mail ONLY
=============================================
adduser -M -s /bin/badsh newuser
passwd newuser
password newpassword
password newpassword
edit /etc/mail/virtusertable, look for, add a new line after
# Put custom additions below (Do not change/remove this line).
newuser@xxxxxxxxxx newuser
then run
makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable
Insure that the domain name is in /etc/mail/local-host-names
If you edit local-host-names, restart sendmail.
=============================================
Gerald
--
http://frontstreetnetworks.com | http://store.raqware.com
ICQ 229276628 | Phone: +1 203 785-0699
Front Street Networks LLC, 229 Front Street, Ste. #C,
New Haven, CT. 06513-3203 United States of America