Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-23-2003, 03:12 PM   #1
Registered: Oct 2002
Location: Chitown
Distribution: RH 7.2/3
Posts: 48

Rep: Reputation: 15
Postfix and Squirrel Mail Server Setup

Hey all. I have a few questions about Postfix and Squirrel Mail.

I currently have a web/mail server setup with Squirrel Mail as it's interface. I only allow Ports 80 and 25 open to the public.

I was wondering if anyone out there is using this same setup (even with sendmail) and how they setup their drives/partitions.

I want to make sure I have setup enough drive space to handle atleast the next year or two of mail activity.

The server itself will have a total of 18GB's of storage minus the system install. Most of my users are only allowed a total of 100 mb of mail storage so I should have enough room to handle up to 100 users. Any help would be appreciated.


green one
Old 03-23-2003, 08:09 PM   #2
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45

As for partitions, what follows deals only with the management of partitions. If you have several physical drives you can further optimize your setup by separating high demand partitions on different devices. (eg: /var/spool/mail, /var/log, /usr, /var/www)

Yep- I pretty much have the same setup on one of our mail servers. Some imortant partitions to think about are;

Your webmail directory - this is where squirrelmail lives. If for example your webmail url is your DocumentRoot directive for that URL would need to point to whetever directory you will be 'running' squirrelmail from. Use whatever document root you want. In general it's a pretty good idea to keep all your www stuff on one partition or logical volume as it can make management a little easier.

Your data directory - this is where squirrelmail keeps user prefs and temporarily uploads user attachments. This directory does not need to be huge so making a separate partition for it isn't necessary. Please see the security notes at for importatnt infomation about securing the data directory.

Your postfix inbox - User mail is delivered to /var/spool/mail/<username>, which is the Inbox for IMAP. It's a good idea to use a separate partition/volume for management of backups, migrations, etc. Check your postfix mailbox_size_limit = to limit the size on the _Inbox_. Users can only keep mail up to the size_limit in their Inbox folder. Once it is filed away it moves from the Inbox to a local file in the /home/username directory. So in effect the /var/spool/mail needs to be #of_users x mailbox_size_limit + mail for admin, root at a minimum.

The /home directory is where user's mail lives once it is moved from their Inbox to another Imap folder. Size here would be based on number of users and user quotas. A separate partition for /home is a good idea.

Our mail servers use separate RAID volumes for /home and /var/spool/mail.

For this many users you should probably place the mail server behind a decent firewall and look into an intrusion detection system (tripwire, snort, etc.) 'Unspawn' has built extensive coverage of this topic in the Security forum here at LQ and I highly recommend you read it.

Last edited by mcleodnine; 03-23-2003 at 08:11 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem receiving pop3 mail from postfix mail server GEN_Electric Linux - Software 2 02-14-2005 02:43 PM
squirrel mail cannot connect to server berrance Linux - Software 2 11-23-2004 04:57 AM
Postfix mail server not accepting incoming mail from the external interface rexmundi Linux - Networking 7 12-22-2003 03:41 PM
Postfix mail server setup questions Phaethar Linux - Software 1 10-15-2003 10:56 AM
sendmail or postfix with squirrel mail illtbagu Linux - Software 8 06-19-2003 01:16 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration