Unix/Linux OS/mail split

Advertisement


Question
dear sir,
how can i split users mail in mail server? suppose i have user saroj@info.com.np, there is 100 mails in his mailbox sized 100 mb. now how can i split them so that i can send 10 mails only so that user can download mail from server easily. i have sendmail server in linux 6.2 machine. will be grateful
saroj

Answer
Saroj,

    Unfortunately, I do not have good news for you. Downloading mail from the server is a bit more complicated than simply altering any configuration of sendmail. When downloading mail from a mailserver, you're generally using POP3 or IMAP, not SMTP. As sendmail deals only with SMTP and variants, instead of POP3 and IMAP, you would probably need to alter the configurations for a program like dovecot IMAP server or the POP3 daemon configurations on your server.

    Also, unfortunately, most of these daemons are not sophisticated enough to understand that multiple directories all contain the same folder's worth of emails.

    On the plus side of the coin, if you have the disk space, you may wish to try and implement IMAP mail stores on the server. Using IMAP, all email is stored directly on the server and downloaded "on demand" only when needed, similar to Microsoft Exchange.

    I would think that the last option you would have is to install a web based email client, such as SquirrelMail http://www.squirrelmail.org/ or the like in order to manage your user's ease of download.

Unix/Linux OS

All Answers


Answers by Expert:


Ask Experts

Volunteer


Matt Blecha

Expertise

I can answer questions pertaining to most Linux daemons, Apache, Sendmail, SpamAssassin, vsftpd, Asterisk and others. I do not deal with Qmail, Postfix, or other MTAs, and have a median range of experience with Procmail. I am very in depth with Samba and Linux/Windows integration and Asterisk based PBX systems. I also have considerable experience in both PHP and MySQL (installation, administration, and programming of both) I am also considerably familiar with kernel systems, and networking stacks. In late 2006 and early 2007, I began dabbling in virtualization with Xen. I am now using KVM to successfully migrate my company's infrastructure and improve our carbon footprint.

Experience

I've been working primarily with Linux since 1994. I have worked with various different flavors, starting with Slackware in High School, and moving to RedHat during my senior year. Deciding that my experience probably outweighs most of the RedHat support people, I decided to go with the Fedora branch when RedHat decided to close RHEL and release Fedora Core.

Education/Credentials
Though I have no official education in Linux, I have spent approximately 16 years administrating Linux and continuing to widen my knowledge.

©2012 About.com, a part of The New York Times Company. All rights reserved.