Tech Support > Operating Systems > Linux / Variants > Mail Server Setup
Mail Server Setup
Posted by jones on November 12th, 2003


Dear all,

I'm new to Linux and wana ask few questions about the mail server
setup. I know that a sendmail server is required for the smtp service,
but how can I setup the user mail accounts and passwords? And how
should I configure the sendmail to serve for all those accounts? How
about the ipop3?

Any detailed answers or hints are welcomed.

Thank you.

Regards,

Jones

Posted by Davide Bianchi on November 12th, 2003


jones <jonesl@graduate.hku.hk> wrote:
Every user of the system is a mailbox. Read the mail-administator-howto
on www.tldp.org.

Davide

Posted by David Douthitt on November 12th, 2003


On 11 Nov 2003 19:27:52 -0800, jonesl@graduate.hku.hk (jones) wrote:

You're confusing SMTP and sendmail (a SMTP server) with POP3, IMAP,
and user mailboxes. Don't think about SMTP and sendmail for the
moment.

Think about these questions:

* Do you want to use a "blackbox" solution - one that operates
independently of the host with separate authentication and a separate
user list - or do you want to use the built-in UNIX users? Put
another way, do you want all mailbox owners to be able to log in?

* Do you want to support POP3, POP3S (POP3 over SSL), IMAP, IMAPS
(IMAP over SSL) or all or what? The two important factors will be: do
you want SSL support - and do you want IMAP support.

* One side issue: do you want access to mail via a web browser?
Squirrelmail is probably the best, and requires a IMAP server.

* What do the clients support for protocols? If you operate IMAP
only, can your client support it? Of course if you use a web browser,
it's all moot :-)

Once you have that all set up, then you can get sendmail (or postfix,
in my case) to support it. I've not set up sendmail to work with
Cyrus IMAP (my imap/pop3 server of choice) but postfix works just
fine.

Cyrus IMAP gives you:

* blackbox solution
* IMAP and POP3 - and both over SSL
* has capability to handle large databases of mail and students
* supports server side filtering of mail


David Douthitt (david@douthitt.net)
UNIX System Administrator
HP-UX, Unixware, Linux
Linux+, LPIC-1

Posted by David Douthitt on November 12th, 2003


On 12 Nov 2003 06:11:33 GMT, Davide Bianchi
<davideyeahsure@onlyforfun.net> wrote:

Not on my box.

http://asg.web.cmu.edu/cyrus/imapd/

http://en.tldp.org/HOWTO/Cyrus-IMAP.html

David Douthitt (david@douthitt.net)
UNIX System Administrator
HP-UX, Unixware, Linux
Linux+, LPIC-1

Posted by Manfred Mislik on November 29th, 2003


I'd like to add (But it's sometime not easy to set up):

http://qmail.org
http://courier.sourceforge.net
http://inter7.com

regards
manfred



--
Manfred

Posted by General Schvantzkoph on November 29th, 2003


On Tue, 11 Nov 2003 19:27:52 -0800, jones wrote:

Webmin has modules for both Sendmail and Postfix. You can get webmin from
http://www.webmin.com if it's not already installed on your system
(Mandrake installs it by default).

Webmin should simplfy your life a lot, it's a very well written Web base
admin tool that runs on virtually any Linux or Unix system.