The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Emails on HP-UX Phuti UNIX for Dummies Questions & Answers 0 03-26-2008 05:22 AM
duplicate emails mcraul UNIX for Dummies Questions & Answers 1 03-07-2008 02:11 PM
how to capture bounced emails ray1972 UNIX for Dummies Questions & Answers 1 10-30-2007 07:04 PM
Send Emails in Sco stufine UNIX for Dummies Questions & Answers 1 08-24-2006 03:03 PM
Unix emails in Windows dti650 UNIX for Advanced & Expert Users 3 02-11-2005 09:07 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-03-2008
ferret495 ferret495 is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 5
Creating emails

Hi, I posted here 2 months ago, saying I wanted to learn UNIX for my work running a small ISP. I had the problem of practically no technical support for our system. Many courses later, I can just about do everything I need to do.
The server is a FreeBSD i386. I can now create email accounts for customers using the adduser command. This creates a user with the email address customer@myisp.com. So this is great, but we also host some domain names. If I could now figure out how to create a customer@hosteddomain.com email account, I'll be all set.

I'm a bit clueless of how this works. I first thought it was based on aliases, but I can't find anything on the mail server that supports this. (the /etc/aliases or etc/mail/aliases file doesn't have anything like this in it.)

So am I on the right path? Or can adduser create these types of accounts as well??

Thanks in advance!
  #2 (permalink)  
Old 02-03-2008
ferret495 ferret495 is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 5
also, we're using sendmail.
  #3 (permalink)  
Old 02-04-2008
ynilesh's Avatar
ynilesh ynilesh is offline
Registered User
  
 

Join Date: Oct 2007
Location: Bangalore, India.
Posts: 222
In case of sendmail try using virtusertable and relaydomain. Dont forget to add entry of your second domain in DNS.

I would suggest if you can switch to qmail. it would be better as management of more than one domain is easy in qmail. It provides GUI to handle everything including handling your user, there accounts, you domain etc.

Thanks,
Nilesh
  #4 (permalink)  
Old 02-04-2008
ferret495 ferret495 is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 5
Hmm still can't find anything. Everything should be ready to add these accounts and mail forwards. I just need a simple explanation on how one might go about doing this.
ex) create a mailbox for user@secondarydomain.com. Do I create a regular account first? After I do this how to I make sure any mail sent to the above will go to the new account I created?
  #5 (permalink)  
Old 02-05-2008
ferret495 ferret495 is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 5
Problem solved. It was on a relay server. Everything I was looking for in etc/mail/virtusertable !

Thanks for the advice!
Sponsored Links
Closed Thread

Bookmarks

Tags
learn unix

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:19 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0