Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » Tips, Tricks & Tutorials

Post new topic   This topic is locked: you cannot edit posts or make replies.
Dovecot, Postfix & Squirrelmail
View previous topic :: View next topic  
Author Message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1743
Location: Greece

PostPosted: Mon Jan 28, 2008 1:15 pm    Post subject: Dovecot, Postfix & Squirrelmail Reply with quote

This how to is for a basic mail server with unix users, the most common option of a standard mail server...

Two basic settings in dovecot.conf are
Code:
### /etc/dovecot.conf ###
mail_location = maildir:~/Maildir
auth default {
  mechanisms = plain
  userdb passwd {
  }
  passdb shadow {
  }


as for postfix adding in main.cf
Code:
### /etc/postfix/main.cf ###
home_mailbox = Maildir/

So mails delivered to ~/Maildir will be enough, despite if you use virtual domains or virtual users.
Mail users are UNIX users and instead of mailbox (/var/spool/mail/%u) they have Maildirs ( ~/Maildir).

To be able to read mails for root account you must create an alias for root to a user in /etc/mail/aliases
Code:
### /etc/mail/aliases ###
root: someuser

After that run /usr/sbin/newaliases

Now you can access any mail account from squirrelmail.
So simple...

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    SMS Forum Index » Tips, Tricks & Tutorials All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional