Creating emails


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Creating emails
# 1  
Old 02-03-2008
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  
Old 02-03-2008
also, we're using sendmail.
# 3  
Old 02-04-2008
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  
Old 02-04-2008
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  
Old 02-05-2008
Problem solved. It was on a relay server. Everything I was looking for in etc/mail/virtusertable !

Thanks for the advice!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

How to prevent emails as spam?

If an email is sent from our application server(running on AIX) to an id that is outside of the organization like gmail etc, and if gmail should not treat the mail as spam, what has to be done from unix level? (7 Replies)
Discussion started by: ggayathri
7 Replies

2. Debian

Logcheck sending emails everywhere

Hi, I just recently installed logcheck running it at defaults. I don't have a /home/logcheck, even though the logcheck.conf MAILTO variable says "logcheck". Now I have a .forward in my regular home /home/awayand which gets an hourly report from logcheck but I have no clue how to turn that off. I... (0 Replies)
Discussion started by: awayand
0 Replies

3. Solaris

Emails issue

Dear all, I am facing an issue in my data Center environment related to mails being generated by users on my machines. Let me walk you through the issue one by one. Each system (100+ servers in my DC) has a user sysmon on it that sends mails to a specific Email ID. The user runs scripts... (8 Replies)
Discussion started by: Junaid Subhani
8 Replies

4. Homework & Coursework Questions

Creating a .profile, displaying system variables, and creating an alias

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Here is what I am supposed to do, word for word from my assignment page: 1. Create/modify and print a... (2 Replies)
Discussion started by: Jagst3r21
2 Replies

5. UNIX for Dummies Questions & Answers

send emails

hi guys I need to send emails to some accounts 1. I need sendmail up and running right? 2. I need my local sendmail to use an existing SMTP server to send emails (10.x.x.x)? in that case what I need to configure to send emails? since using mail myaccount@companyame.com is not sending emails... (3 Replies)
Discussion started by: karlochacon
3 Replies

6. Shell Programming and Scripting

help needed with creating challenging bash script with creating directories

Hi, Can someone help me with creating a bash shell script. I need to create a script that gets a positive number n as an argument. The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
Discussion started by: I-1
7 Replies

7. Solaris

Adding a footer to all emails

I am running Solaris 10 and have been asked to create a footer for all emails that go from the server. I have been looking around but no dice. I am not sure how complicated or easy it is to do it. Our system generates emails every night and then sends them out to different people on the list. We... (0 Replies)
Discussion started by: Sucio
0 Replies

8. UNIX for Dummies Questions & Answers

Emails on HP-UX

Hi Guys I am running Oracle database on HP-UX, every now and then I get emails that are sent to me by root. When check with the sysadmin know one have a clue as to where does the emails come from. I need to stop this emails...how do I check which script is sending me the emails. Thanks ... (0 Replies)
Discussion started by: Phuti
0 Replies

9. UNIX for Dummies Questions & Answers

duplicate emails

Hi all new here. Question. My mail server is sending out duplicate emails but its not system wide. We have several virtual host that use our email server and some are having the duplicate emails issue and some are not. For example in the office some people are getting duplicate emails but i am... (1 Reply)
Discussion started by: mcraul
1 Replies

10. UNIX for Dummies Questions & Answers

UNIx junk emails

HI, I schedule some programs and mail the reports as attachments But one of the attachment always is directed to junk email folder.Is there any way to avoid it in UNIX. My mail server is outlook. Thanks, Sireesha (6 Replies)
Discussion started by: sireesha15
6 Replies
Login or Register to Ask a Question