View Full Version : re:perfect setup ubuntu 6.06 - email setup when not using ispconfig
caffine_fizz
18th August 2006, 13:01
hey,
Thanxs for another excellent guide, it really helps beginners like myself.
just a couple of things though:
I descided not to use ispconfig (find doing configuration manually helps me learn linux better) , how do i set up email accounts? are they just system accounts, if yes how do i make them?
Also, in the guide you specify server1.example.com in the postfix configuration, in my situation should it just be example.com (what i'm trying to get at will addresses be in the format joeblow@server1.example.com or joeblow@example.com when using the format in question)?
What ports need to be forwarded? (80, 993, 995, 443)
caffine_fizz
caffine_fizz
18th August 2006, 19:27
really anyone will do?:confused:
threeten
19th August 2006, 01:10
I can't find the original thread now, but here is what I did (thanks, Falko):
First you have to tell Postfix to deliver emails to a user's Maildir:
postconf -e 'home_mailbox = Maildir/'
postconf -e 'mailbox_command =' /etc/init.d/postfix restart
Then run
postconf -e 'virtual_maps = hash:/etc/postfix/virtusertable'
postconf -e 'mydestination = /etc/postfix/local-host-names'
/etc/postfix/local-host-names should contain all domains that you want to accept emails for, e.g.:
localhost
your.server.name
localhost.your.server.name
example.com
yourdomain.com
/etc/postfix/virtusertable looks like this:
info@yourdomain.com sample_user
thomas@example.com sample_user
webmaster@yourdomain.com sample_user
Emails for info@yourdomain.com, thomas@example.com and webmaster@yourdomain.com will now arrive in the mailbox of sample_user.
Everytime you change /etc/postfix/virtusertable you have to run the following command:
postmap /etc/postfix/virtusertable
Now restart Postfix:
/etc/init.d/postfix restart
You should specify server1.example.com as the instructions state, then configure your mail client to send out mail with the shorter address if this is what you want (joeblow@example.com)
hey,
Thanxs for another excellent guide, it really helps beginners like myself.
just a couple of things though:
I descided not to use ispconfig (find doing configuration manually helps me learn linux better) , how do i set up email accounts? are they just system accounts, if yes how do i make them?
Also, in the guide you specify server1.example.com in the postfix configuration, in my situation should it just be example.com (what i'm trying to get at will addresses be in the format joeblow@server1.example.com or joeblow@example.com when using the format in question)?
What ports need to be forwarded? (80, 993, 995, 443)
caffine_fizz
caffine_fizz
19th August 2006, 02:26
thanks man i'll give it a go
falko
19th August 2006, 14:49
how do i set up email accounts? are they just system accounts, if yes how do i make them?
Have a look here: http://www.howtoforge.com/forums/showthread.php?t=2
caffine_fizz
19th August 2006, 21:05
thanks falko, that sorted it out for me:D
buy that man a New!!
caffine_fizz
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.