Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Jan 2011 15:01:49 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Rolf Nielsen <listreader@lazlarlyricon.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: [Probably a bit OT] A question about mail systems
Message-ID:  <4D287C5D.1000209@infracaninophile.co.uk>
In-Reply-To: <4D2857EE.1090808@lazlarlyricon.com>
References:  <4D2857EE.1090808@lazlarlyricon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig1DAADB19CA75552E1F9054A3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 08/01/2011 12:26, Rolf Nielsen wrote:
> So here's what I want to do.
>=20
> 1. Have fetchmail get the messages.

Should not be a problem.

> 2. Have an MTA (is that the right name, I always confuse them) deliver
> them locally to a maildir.

While you can use an MTA it's not actually necessary in this case.  What
you absolutely do need is a Local Delivery Agent (a.k.a Mail Deliver
Agent: MDA) of which there are several available.  You should be able to
hook them up directly to fetchmail.

Some LDAs that understand Maildir --

   procmail  -- stand-alone mail filtering and delivery application.
   deliver   -- part of dovecot IMAP server

> 3. Have either a POP3 or an IMAP server from which I can retrieve the
> messages to whichever client I choose.

   dovecot works very well serving Maildir via IMAP.  As mentioned
   elsethread, dovecot v2 isn't really stable yet.  Also lacks some of
   the add-ons like managesieve.  For a quiet life, stick to dovecot v1
   for the moment.

> 1 isn't a problem unless I need to make some radical changes.
>=20
> How do I set up 2 in the easiest possible way? Can anyone point me to a=

> tutorial or HOWTO that I've missed? Or perhaps give me some tips on how=

> to do it?

IIRC there's a '-m' flag to fetchmail which is what you want.

The other bit of this is setting up dovecot without needing to install
LDAP or MySQL or whatever.  That's not very difficult actually, and
covered in the Dovecot Wiki.  Either use PAM authentication from Dovecot
(in which case usernames, passwords etc. will be identical to what you
use to log into your server), or use a local passwd format file.

While you don't need an MTA for *reading* e-mail like this, you will
definitely need one for sending e-mail.  The good news is that it can be
on some completely different system eg. provided by your ISP, or via
gmail etc.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW


--------------enig1DAADB19CA75552E1F9054A3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0ofGUACgkQ8Mjk52CukIw1QwCffIH7kLIR02SRDg4ktxUo6w/n
LikAn3gBSrValbXeSyLOtWKnPOzlLoQR
=dGsV
-----END PGP SIGNATURE-----

--------------enig1DAADB19CA75552E1F9054A3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D287C5D.1000209>