Re: suggested size of /var/mail

2008-01-29 Thread Alphons Fonz van Werven

D G Teed wrote:


Oh, so there is no MX involved?  It just arrives from an external MX?
Or not?  Or are they using Cyrus?  Or not?  20 users?  15,000 users?
Should it be on a storage system capable of future expansion?

See what I mean?


What I do see is that there are relevant and irrelevant questions. I've
seen both being asked in this thread.

See what I mean?

Alphons (the questions above ARE relevant, btw)

--
VISTA - Viruses Intruders Spyware Trojans Adware

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: suggested size of /var/mail

2008-01-29 Thread Wojciech Puchar

while considered bad/dangerous/whatever i ALWAYS make only 2 partitions:

swap and root

and NEVER have problems how to size a partitions.


This is not a good idea for a server. Anything that would cause run-away 
logging would effectively cripple your server. On a workstation I like to


simply create user/group for logs and use quotas.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: suggested size of /var/mail

2008-01-29 Thread doug


On Mon, 28 Jan 2008, Wojciech Puchar wrote:



Are there any smart ways to decide how to size /var/mail.
I plan to put it on a seperate partition ... or shouldn't I?


while considered bad/dangerous/whatever i ALWAYS make only 2 partitions:

swap and root

and NEVER have problems how to size a partitions.


This is not a good idea for a server. Anything that would cause run-away logging 
would effectively cripple your server. On a workstation I like to have a home 
partition as I usually start from sratch when going to a major release or 
skipping a release.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: suggested size of /var/mail

2008-01-28 Thread Wojciech Puchar


Are there any smart ways to decide how to size /var/mail.
I plan to put it on a seperate partition ... or shouldn't I?


while considered bad/dangerous/whatever i ALWAYS make only 2 partitions:

swap and root

and NEVER have problems how to size a partitions.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: suggested size of /var/mail

2008-01-28 Thread Byung-Hee HWANG
On Mon, 2008-01-28 at 13:56 +0800, FreeBSD Daemon wrote:
 Dear list,
 
 I am currently setting up a server which should include email service.
 
 Are there any smart ways to decide how to size /var/mail.
 I plan to put it on a seperate partition ... or shouldn't I?
 
 TIA for any related tips!

i do not have consideration for making /var/mail partition.
i just forward all mail to another place istead of /var/mail ;;

[EMAIL PROTECTED]:~ du -sh /var/mail
2.0K/var/mail

Sincerely,

--
We have the peace and let me pay my respects to Don Corleone, whom we all 
have known over the years as a man of his word.
-- Emilio Barzini, Chapter 20, page 289

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: suggested size of /var/mail

2008-01-28 Thread Predrag Punosevac

Wojciech Puchar wrote:


Are there any smart ways to decide how to size /var/mail.
I plan to put it on a seperate partition ... or shouldn't I?


Your question is too serious to be answered in an email but I give a try.
First of all I would suggest that you read the pages 25-28 of the book 
Secure Architectures with OpenBSD by Brandon Palmer and Jose Nazario as  
the partition issue is discussed in detail. There is also an excellent 
how to http://www.kernel-panic.it/openbsd/mail/
by OpenBSD users group on the topic of secure mail server (they also 
have a slue of other nice articles http://www.openbsdsupport.org/).

I personally would stick with sendmail MTA but that is your call.

No back to the question of partition.

Personally no matter what I like to have separate

/
/swap
/tmp
/var
/usr
/home

I would size them as follows if I had 20 Gb RAM. First of all I would 
leave 2-3 Gb empty in the case that I run out of memory space on any 
particular partition. You can use disklabel or system install to add 
additional disk space where needed. The rest as follows


/swap is usually 2xRAM
I would go with / with 1Gb.
1Gb /tmp
/usr maybe 2Gb depend if you are going to use only sandmail or to use 
different MTA as all the programs are installed there.
You probably need to install IMAP server, MySQL, and Squirrel .  I would 
run spam assassin and Clamav on two other separate physical boxes. 
Probably PIII that you can get for $10 are good enough for that. So you 
need to make sure that there is enough space for all the programs in  /usr


For  /home very little .

/var as much as you have left because you do not want to run out of log 
files. At least 12-13Gb on the disk size of 20Gb but the disk space is 
so cheap so I would probably go with at least 160Gb total disk space 
even for the home server. That also depends how many users you are going 
to serve. I hope somebody smarter than me help you with that part.



I would crypt at least swap. After the configuration you can edit 
/etc/fstab and actually make / only readable. You can also see what else 
can be mounted only as readable thing but now we are moving further to 
the questions of security and that is whole another book.


Kind regards,

Predrag







while considered bad/dangerous/whatever i ALWAYS make only 2 partitions:

swap and root

and NEVER have problems how to size a partitions.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: suggested size of /var/mail

2008-01-28 Thread Alphons Fonz van Werven

D G Teed wrote:


What sort of server is it - MX, apache, database server,


Actually, it IS in the OP...

OP has (or wants to have) a mail server and asks for suggestions regarding
the mail spool size. Simple as that. Apache has nothing to do with it.
Whether or not to have a seperate /usr/local has nothing to do with it.
The size of /usr has... ah well, we get the picture, don't we?

As for the answer, this depends on whether or not mail quota are enforced,
how many users there are and how large you expect the average and biggest
mailboxes to be (or allow to be).

Alphons

--
VISTA - Viruses Intruders Spyware Trojans Adware

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: suggested size of /var/mail

2008-01-28 Thread D G Teed
No one qualified the context of the question.  Not the OP, nor the answers.
Amateurs are you all?

Details, details, details!

Is this for home, or for a hobby site, or the real world?  What is the
volume of use?  What sort of server is it - MX, apache,
database server, America's Army run in Linux compatibility mode, etc.?

No one can answer partitioning without knowing what you are doing, and where.

If it is a personal server, with very few or only one user on it, then
you might not even need a separate partition for /var.

If it is a production server of some sort, strongly related to that
gray cloud Internet thing, then having a different
partition for /var which can fill up with space or inodes
and you can still login to the system is the best way to go.

I've seen /var fill up a few times on various servers and this is
a good measure for a vat that can take the excess and then stop.
Anyone who says they never seen a problem with this has not
run something like a web server for more than 3 years in the
real world (by this, I mean a domain name that people around the
world know of).

As for how big, no one can guess.  You have to think about it.
If you've never done this install before, perhaps you'll need to
do it twice to get the partitioning right.

It certainly isn't like Solaris, where the copies of every patch you've
ever applied are archived for eternity, consuming up to 6GB or more.

--Donald
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: suggested size of /var/mail

2008-01-28 Thread Jerry McAllister
On Mon, Jan 28, 2008 at 01:56:39PM +0800, FreeBSD Daemon wrote:

 Dear list,
 
 I am currently setting up a server which should include email service.
 
 Are there any smart ways to decide how to size /var/mail.
 I plan to put it on a seperate partition ... or shouldn't I?

It depends totally on how many users you will have and how much mail they
are receiving and keeping in their inboxes.I have never created a 
separate file system for /var/mail on any server.   But, I have moved
it in to my large file system where home directories are made - which
has usually been '/home' and make a symlink to it so it can grow fairly
freely and can also easily have user quotas put on it - actually on
total usage per user and still just have quotas turned on in one
filesystem.

jerry


 
 TIA for any related tips!
 
 Zheyu
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: suggested size of /var/mail

2008-01-28 Thread D G Teed
Oh, so there is no MX involved?  It just arrives from an external MX?
Or not?  Or are they using Cyrus?  Or not?  20 users?  15,000 users?
Should it be on a storage system capable of future expansion?

See what I mean?

On Jan 28, 2008 8:25 AM, Alphons Fonz van Werven
[EMAIL PROTECTED] wrote:
 D G Teed wrote:

  What sort of server is it - MX, apache, database server,

 Actually, it IS in the OP...

 OP has (or wants to have) a mail server and asks for suggestions regarding
 the mail spool size. Simple as that. Apache has nothing to do with it.
 Whether or not to have a seperate /usr/local has nothing to do with it.
 The size of /usr has... ah well, we get the picture, don't we?

 As for the answer, this depends on whether or not mail quota are enforced,
 how many users there are and how large you expect the average and biggest
 mailboxes to be (or allow to be).

 Alphons

 --
 VISTA - Viruses Intruders Spyware Trojans Adware


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


suggested size of /var/mail

2008-01-27 Thread FreeBSD Daemon

Dear list,

I am currently setting up a server which should include email service.

Are there any smart ways to decide how to size /var/mail.
I plan to put it on a seperate partition ... or shouldn't I?

TIA for any related tips!

Zheyu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: suggested size of /var/mail

2008-01-27 Thread Olivier Nicole
Hi,

 Are there any smart ways to decide how to size /var/mail.
 I plan to put it on a seperate partition ... or shouldn't I?

How much mail storage do you plan to offer per user, how many users do
you plan to have?

Multiplp, add 50% margin and you have it.

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]