TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:2675] Need help w/Sendmail



At 01:22 AM 12/10/98 +0800, you wrote:
>I'm attempting to setup sendmail for the first time and I found that I
>need a bit of help.  :)
>
>A bit of background:
>
>I'm currently using Red Hat 5.0 but will probably be upgrading to 5.2
>this weekend.
>
>My Linux boxes name is spot.kerowyns-haven.com.  I have setup ListServ
>on it to host a couple mailing lists. 
>
>For my example, one of the mailing lists should be delivered from
>havenonline.com.  I would also like to setup the server so that
>non-listserv mail to havenonline.com can be picked up by pointing an
>e-mail program to mail.havenonline.com.
>
>I have setup my DNS file for havenonline.com to have the following
>entries:
>
>;mail configuration
>havenonline.com.        IN      MX      10      spot.kerowyns-haven.com.
>;
>;Aliases
>;
>mail.havenonline.com.           IN      CNAME   spot.kerowyns-haven.com.
>
>In my sendmail.cw file I have added:
>
>havenonline.com

This is correct. 

>
>Should that be mail.havenonline.com or havenonline.com?  I would like
>e-mail addresses to look like username@havenonline.com not
>username@mail.havenonline.com.
>
>Also, I would like to have a couple e-mail addresses such as
>'support@havenonline.com' and 'sales@havenonline.com' be redirected to
>my kerowyn@kerowyns-haven.com address (or maybe something else). 
>Where do I set this up?

This is configured in the virtusertable you would setup a text file that
would look something like this


@havenonline.com       kerowyn@kerowyns-haven.com


now everything that has @havenonline.com will be redirected to that email
however if you put in a direct email and have that directed somewhere else
that will work also like....

webmaster@hacenonline.com      webmaster@kerowyns-haven.com

after you do all that you need to make a hash table this is what I run

makemap hash /etc/virtusertable.db < /etc/virtusertable

Now in sendmail.cf you need to have it look for the virtusertable.db You
also might have to redo the sendmail.cf if it is not already configured for
virtual email.




>One last thing.  It is possible that I'll have another domain where I
>would like support@domain.com and sales@domain.com available also. 
>Can I do this if I already used the aliases for a different domain? 
>Where do I set this up?  I have read something about a virtusertable
>but I'm not sure what it is or how to create it.
>
>Is there anything else I need to do to setup this virtual mail system?
>
>Thanks for your help!
>
>Jen McNitt
>Haven Online Services
>
>==
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>Jennifer McNitt
>E-mail: jenmcnitt@yahoo.com
>SCA: Gweniver Kenwyn of Roseveth
>Sysop: Kerowyn's Haven BBS (http://www.kerowyns-haven.com)
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>_________________________________________________________
>DO YOU YAHOO!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
>For additional commands, e-mail: tclug-list-help@listserv.real-time.com
>Try our website: http://tclug.real-time.com
>
>