Date: Tue, 13 Apr 2004 10:10:17 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Zhang Weiwu <zhangweiwu@realss.com> Cc: freebsd-questions@freebsd.org Subject: Re: new administrator: please help me choose news server Message-ID: <20040413091017.GD74322@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <407B4A3F.5000503@realss.com> References: <407B4A3F.5000503@realss.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--YToU2i3Vx8H2dn7O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 13, 2004 at 10:02:39AM +0800, Zhang Weiwu wrote: > Hello. I never did this before, but now I'll setup a mail server in the= =20 > coming weeks. Here is the requirement: >=20 > 1) the mail server should run both smtp and imap, sending and accepting= =20 > emails > 2) mail server should be able to ask for confirm before it deliever=20 > executables. Or it should be able to reject all emails with Windows=20 > executable file attached > 3) should be albe to extend to handle multi-domains in the future >=20 > I don't really understand what part of email server is handled by what=20 > program. I thought I need a sendmail plus a imap server (cyrus comes out= =20 > in my mind, but I don't know if it should be my choice), is that all? >=20 > I'm the kind of lazy guy not to RTFM, but I need direction guide,=20 > suggestion from you so that I know what the f**k manual to read:) Hmmm... I judge that you need four components: i) An MTA -- this is the daemon that handles transmission of e-mail between sites. It's the bit that speaks SMTP. There are 4 major implementations available of various degrees of popularity, with various pros and cons: sendmail exim qmail postfix There are others, including various 'all-in-one' mail solutions based on one or other of those packages. You should also consider whether you need to provide 'SMTP AUTH' -- so your users have to authenticate themselves before they can inject a new message into the system via your server. (All of those MTAs can provide that, but usually require some extra software libraries to be linked in with them). ii) An IMAP server. Again, there are several choices available, but which one you choose depends in part on: iii) A delivery agent. This actually defines the format in which e-mail mailboxes are stored. The choice of formatis is basically: mbox -- the traditional format provided under Unix: almost all delivery agents (and IMAP daemons) will deal with this format, but of note are mail.local(1) and procmail(1) Maildir -- As used by the courier system. Also handled by procmail(1) Cyrus -- essentially requires you to use the rest of the Cyrus system for your mail server. Thus if you choose mbox format you can use dovecot, UW imapd or dkimap4. For Maildir, you can use dovecot, UW imapd, bincimap or courier-imap. (Personally, I prefer to use dovecot for the security features). iv) An anti-virus/anti-spam solution, which will let you filter out MS executables. Having the server *ask* for confirmation on sending questionable content is probably not the right thing to do. If user interaction is required, it should be provided by the users' mail program running on their desktop. The server should implement your policy as a simple accept/reject of the message (although you could choose to accept, but mark the message as probably infected or spam). Look at: Spam Assassin (the port is called p5-Mail-SpamAssassin) clamav anti-virus Amavisd -- lets you integrate all sorts of AV and anti-spam soluti= ons into various Unix mail systems. Another consideration you will want to bear in mind: do you want to give all of your e-mail users full blown accounts on your mail server, or do you want to provide and 'e-mail only' service? If the latter, you will need to look at the more 'professional' solutions, which are designed to work generally on a larger scale and which tend to be a bit more complicated to set up. The Cyrus stuff is the extreme expression of that. I hope that gives you sufficient ammunition for you to be able to better target your searches for more information. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --YToU2i3Vx8H2dn7O Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAe655dtESqEQa7a0RAh4OAKCcadcL0vzkTFgBUv/qLeFFagyN2QCgjDSM gSwzKsU8lzEblRLlD2rTQKI= =SLJ8 -----END PGP SIGNATURE----- --YToU2i3Vx8H2dn7O--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040413091017.GD74322>