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 31st January 2008, 10:43
niklas78 niklas78 is offline
Junior Member
 
Join Date: Jan 2008
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
Question Postfix/virtual users - general need of understanding setup

Hello all,

I have been running linux the last 7 years, but what is new to me is my new setup of a local mailserver. I used the great howto regarding postfix/virtual users (stored in mysql) with a vmail user (/home/vmail/...) (I run Ubuntu 7.10)

I feel I do not understand where what is stored and why... (= meaning I would like to better understand the setup) The setup works, meaning I can log in and so. So here are some more specific questions:

1. How are the local users related to the virtual, meaning postmaster = root , then root = MyUserNameOnLinux. Is the mails then stored in my home folder or under /home/vmail/MyUserNameOnLinux? Also I have setup my mail adress as a virtual user = niklas@mydomain.com. Is this 2 seperate places for mail to be stored?

2. I have my server at home on a DSL connection. Use ZoneEdit for making sure that my hostnames point to my current IP. Up till now I have used fetchmail to download my mails from my ISP. Where will/should fetchmail store the mails? (under MyUserOnLinux or on my virtual user?). Also Would it be easy / better to skip this step and tell ZoneEdit to push the mail directly to my server? (is it possible/recommended on a dsl connection?)

3. Secure backup and restoration of my mail accounts. When I understand the answer on question 1 this may not be an issue. But how can I create a backup of all mails stored on my server, and how easy will it be to restore the backup.

Think this is all for now... hope I will reach a better understanding soon
Reply With Quote
Sponsored Links
  #2  
Old 31st January 2008, 12:36
niklas78 niklas78 is offline
Junior Member
 
Join Date: Jan 2008
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
Default Answer to my self:

I found this text "With the Postfix virtual(8) mailbox delivery agent, every recipient address can have its own virtual mailbox. Unlike virtual alias domains, virtual mailbox domains do not need the clumsy translation from each recipient addresses into a different address, and owners of a virtual mailbox address do not need to have a UNIX system account."

I understand this as the postfix server will "capture" all mail and delivere them to the virtual (non unix) users folder under /home/vmail (in my case).

New questions: Shuld i forward my "normal" unix users mail to my virtual mailbox? to secure that all mail to "me" goes to one place.
Reply With Quote
  #3  
Old 1st February 2008, 15:01
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 niklas78
Shuld i forward my "normal" unix users mail to my virtual mailbox? to secure that all mail to "me" goes to one place.
That's up to you.
__________________
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
  #4  
Old 1st February 2008, 15:11
niklas78 niklas78 is offline
Junior Member
 
Join Date: Jan 2008
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
Default

got you I finally understood as you say that I can choose. I updated the alias file so that the root "mail" is fowarded to my virtual user. Works great.

This also worked great in fetchmail... (meaning, the mail is delivered to my virtual user).

Still - Any advice input on the backup / restore part is still welcome... Menaing how can I setup a good easy backup that is easy to also restore...
Reply With Quote
  #5  
Old 2nd February 2008, 18:59
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

You can find some backup solutions here: http://www.howtoforge.com/howtos/backup
You'd have to back up just the /home/vmail directory. It contains all the mailboxes.
__________________
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
The Following User Says Thank You to falko For This Useful Post:
niklas78 (3rd February 2008)
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
General questions regarding ISPConfig setup FXT Installation/Configuration 9 16th March 2008 12:32
Understanding concept: users for ftp and/or email? jmeyerdo General 5 23rd November 2007 16:45
General Server Setup Questions: southernman Installation/Configuration 2 12th August 2007 13:23
Junk mail and spamassassin... sthompson Installation/Configuration 4 27th December 2006 16:11
How to setup FTP users hendry General 3 1st February 2006 13:59


All times are GMT +2. The time now is 07:12.


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