Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th August 2006, 12:01
caffine_fizz caffine_fizz is offline
Junior Member
 
Join Date: Apr 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default re:perfect setup ubuntu 6.06 - email setup when not using ispconfig

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

Last edited by caffine_fizz; 18th August 2006 at 12:22.
Reply With Quote
Sponsored Links
  #2  
Old 18th August 2006, 18:27
caffine_fizz caffine_fizz is offline
Junior Member
 
Join Date: Apr 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default help me - please!

really anyone will do?
Reply With Quote
  #3  
Old 19th August 2006, 00:10
threeten threeten is offline
Junior Member
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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)

Quote:
Originally Posted by caffine_fizz
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
Reply With Quote
  #4  
Old 19th August 2006, 01:26
caffine_fizz caffine_fizz is offline
Junior Member
 
Join Date: Apr 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default thx

thanks man i'll give it a go
Reply With Quote
  #5  
Old 19th August 2006, 13:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,716 Times in 2,558 Posts
Default

Quote:
Originally Posted by caffine_fizz
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
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 19th August 2006, 20:05
caffine_fizz caffine_fizz is offline
Junior Member
 
Join Date: Apr 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default it's working - cool

thanks falko, that sorted it out for me

buy that man a New!!
caffine_fizz
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How stable/secure is the server after the Perfect Setup (Ubuntu 6.06) install? carloscastaneda HOWTO-Related Questions 6 3rd February 2007 18:34
Help with The Perfect Setup - Ubuntu 6.06 LTS Server LinuxNewb HOWTO-Related Questions 6 30th July 2006 13:43
Ubuntu update from 5.10 to 6.06 - its allok for ispconfig? adrenalinic General 2 10th June 2006 20:28
Ispconfig on new ubuntu 6.06 dapper OK!! sulfuric Installation/Configuration 6 5th June 2006 14:50
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16


All times are GMT +2. The time now is 17:21.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.