LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-11-2009, 06:57 AM   #1
dissident85
LQ Newbie
 
Registered: Oct 2008
Posts: 29

Rep: Reputation: 16
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?
 
Old 02-12-2009, 03:14 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
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.
 
Old 02-12-2009, 06:41 AM   #3
pcunix
Member
 
Registered: Dec 2004
Location: MA
Distribution: Various
Posts: 149

Rep: Reputation: 23
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
 
  


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
Mail server questions cool47 Linux - Newbie 4 08-23-2008 11:26 PM
a few questions about setting up a mail server sporkit Linux - Networking 12 04-08-2004 05:47 AM
Mail server....quick questions tisource Linux - Software 12 12-15-2003 08:29 PM
Mail server questions linuxnube Linux - Software 0 10-21-2003 11:20 AM
questions about a mail server DKY Linux - Newbie 35 08-01-2003 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:07 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
Open Source Consulting | Domain Registration