The UNIX and Linux Forums  

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 01:22 AM
duplicate emails mcraul UNIX for Dummies Questions & Answers 1 03-07-2008 10:11 AM
how to capture bounced emails ray1972 UNIX for Dummies Questions & Answers 1 10-30-2007 03:04 PM
Send Emails in Sco stufine UNIX for Dummies Questions & Answers 1 08-24-2006 12:03 PM
Unix emails in Windows dti650 UNIX for Advanced & Expert Users 3 02-11-2005 05:07 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-02-2008
Registered User
 

Join Date: Dec 2007
Posts: 5
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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!
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 02-02-2008
Registered User
 

Join Date: Dec 2007
Posts: 5
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
also, we're using sendmail.
Reply With Quote
  #3 (permalink)  
Old 02-03-2008
Registered User
 

Join Date: Oct 2007
Posts: 23
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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
Reply With Quote
  #4 (permalink)  
Old 02-03-2008
Registered User
 

Join Date: Dec 2007
Posts: 5
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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?
Reply With Quote
  #5 (permalink)  
Old 02-04-2008
Registered User
 

Join Date: Dec 2007
Posts: 5
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Problem solved. It was on a relay server. Everything I was looking for in etc/mail/virtusertable !

Thanks for the advice!
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:43 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101