38.11. Reading Users' Email

As the introduction explains, Qmail can be configured to store email in Mailbox files or Maildir directories in user home directories, or even under /var/mail like Sendmail does. Webmin allows you to read users' email, but before it can do that you must properly configure the module so that it knows where to look. See Section 38.12 “Configuring the Qmail Configuration Module” for details on which fields need to be changed. By default, the ~/Maildir directories will be used because it is the most common Qmail configuration.

To read mail in users' mailboxes, follow these steps:

1.
On the module's main page, click on the User Mailboxes icon. A page listing all of the users on your system and the sizes of their mailboxes will be displayed, unless you have more than 200 users. In that case, a small form for entering a username will appear instead.

2.
Click on the name of a user to bring up a list of messages in his mailbox. By default, the most recent messages are shown first, even though they are actually at the end of the actual mail file.

If the mailbox contains more than 20 emails, only the first 20 will be displayed. To page though the rest, use the left and right arrow buttons above the list.

3.
To view an actual message, click on the sender's name in the From: column. A page showing the important headers, body text, and attachments will appear. Click on an attachment icon to view it, assuming that your browser or some external program supports the data type. To remove just this email from the user's mailbox, click the Delete button at the bottom of the page.

4.
To delete multiple messages, first select them using the checkboxes and Select all and Invert selection links on the mail list page, then click the Delete button.

5.
To search the user's mailbox for messages matching some criteria, use the Find messages where form below the list. The following types of search can be selected from the menu:

From: matches, Subject: matches, To: matches, or Cc: matches Finds messages in which the From, Subject, To, or Cc field contains the text entered into the adjacent text box. The comparison is case-insensitive, but regular expression characters cannot be used.

Date: matches Finds messages in which the sending date header contains the entered text. This header will not be converted to local format, so whatever you enter must match the date format used by the sender.

Body matches Finds messages whose body contains the entered text. The body includes all attachments in their unencoded form, not just the text that is shown when you read an email.

Size is greater than Finds messages whose total size are greater than the number of bytes entered into the adjacent field.

For each of the above search types, an inverse type is also available, such as From: doesn't match or Size is less than. After choosing your search type and entering text to match, hit the Search button. A page listing all matching messages will be displayed, from which you can view the contents of emails or select some or all to delete—just like in the normal mail list.

The mail reading interface even allows you to compose, forward, and reply to messages in a user's mailbox. It was not designed, however, to be a general purpose web mail client. Instead, you should use a program like Usermin that has a nicer interface and supports Qmail mail directories just as well.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.142.12.170