Mail server questions?
Hi, I have just setup my first Linux mail server using Debian, Postfix, Dovecot, SASL & Roundcube. Everything is working find but i just had a few questions about Linux mail servers. First question is where are the emails kept? and where are the attachments kept?
I wanted to control what my users can access so to stop my users accessing the server via ssh i changed their shell to /bin/false. is that the best way to go about that? or is there another preferred method? and finally is there any way to keep track of usage quotas? well set some? |
Where mail is kept depends on whether you are using mbox or maildir for mbox mail will be stored in /var/mail/username, for maildir its stored in /home/username/Maildir
You can set and track quota's using the filesystem quota's look at the quota package for details. |
Attachments are in the email itself. If you go look at any mail message with an attachment, you'll find the mime encoded attachment(s) within.
Using /bin/false stops them from logging in. However, that can cause problems for programs like "vacation" that want to use sendmail, because it wants a real shell (Google for "using vacation with /bin/false"). See the sendmail FAQ for quotas: http://www.sendmail.org/~ca/email/lfaq.html#QUOTA |
All times are GMT -5. The time now is 04:51 AM. |