LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 03-23-2003, 04:12 PM   #1
g_goblin
Member
 
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.

Thanks,

green one
 
Old 03-23-2003, 09:09 PM   #2
mcleodnine
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 webmail.nowhere.net 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 squirrelmail.org 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 main.cf 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 09:11 PM.
 
  


Reply


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 03:43 PM
squirrel mail cannot connect to server berrance Linux - Software 2 11-23-2004 05:57 AM
Postfix mail server not accepting incoming mail from the external interface rexmundi Linux - Networking 7 12-22-2003 04:41 PM
Postfix mail server setup questions Phaethar Linux - Software 1 10-15-2003 11:56 AM
sendmail or postfix with squirrel mail illtbagu Linux - Software 8 06-19-2003 02:16 AM


All times are GMT -5. The time now is 06:12 AM.

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