Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Some questions and comments..

Quote Reply
Some questions and comments..
Hi,

Great script! I have some questions regarding the script:

What is the maximum number of users that the script can handle? I heard that it is using hash directory to divide users to different directories. What is the maximum number of file or directory in one directory can linux file system handles?

Can the script limits the maximum space that user can use? (ie. max 5MB?) Do the script support compression on files? For example, the user's mail are compressed to a file (tar and gzipped). It will uncompress and look for mails when it need to add, read or delete the mail? (Other word, the compressed file will act like a user's mailbox). It has some speed trade off, but it generally a very good feature as ASCII file's compression ratio is very high. So that a system can handle many user without worry about run out of space.

Also, about the mail bouncing feature. Is it possible to implement like this?
First a external person send a mail to a non-exist user in our system.
The system found out the user is not exist when parsing the pop.
The system will then register the email address, time & date to a database.
Then it will fire off a email to that email saying the email is not exist.
Anther side may have auto-reply feature, then it will possible create a mail loop.
But when second auto-reply come to the system, the system checks in the database if the email has been bounce back within a time (ie. 24 hours). If it exists, then igrone it.

Is it possible to implement like this?

Thanks for your time!

Ployon


Quote Reply
Re: Some questions and comments.. In reply to
In Reply To:
What is the maximum number of file or directory in one directory can linux file system handles?
I think it depends on your filing system, but we hit problems with 38,000 subdirectories, our version of linux simply wouldn't create any more (note: this was an old version of linux using the 2.0 kernel, so its probably a lot better now).

With the hashed structure you can easily get half a million directories.

In Reply To:
Can the script limits the maximum space that user can use? (ie. max 5MB?)
Yes, this is an option that can be set per user, or globally.

In Reply To:
Do the script support compression on files?
No, mail is stored on disk as is.

As for the mail bouncing, yes thats one possibility, we are looking at parsing the headers even more to ensure no loops.

Cheers,

Alex

--
Gossamer Threads Inc.