[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim configuration--maildir-NFS



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A long time ago, in a galaxy far, far way, someone said...

> Great explanation.  I asked the same question on my local LUG mailing list
> and got a dissertation on the benefits/problems of NFS.  Thank you very much.

You're welcome :)

> Does using IMAP (this is the potato package called imap) mean I won't have
> the ability to have multiple folders?  The reason I'm asking is I read the
> following in /usr/share/doc/exim/README.Debian:

Actually, you will have that ability.

> The following is an example of what you can do with .forward files in exim;
> you might find it useful. It matches any of the debian mailing lists and
> saves mails from them in appropriate mailboxes:
>
>         # Exim filter
>         if $h_x-mailing-list matches "^<debian-(.*)@lists\\\\.debian\\\\.org>"
>         then seen save $home/Mail/debian/$1 endif
>
> I'm subscribed to several mailing lists and I'd like to keep them all
> seperate if I could (using this filter).  This appears to be a .forward
> filter which works on maildir format.  Is that a correct assumption?

Actually, this example won't work on a maildir - it will put each mail in
a single file.  The filter is easier to read like this:

# Exim filter
if $h_x-mailing-list matches "^<debian-(.*)@lists\\\\.debian\\\\.org>"
then
   seen
   save $home/Mail/debian/$1
endif

With this filter, all mail messages from debian-user will go into the
folder $home/Mail/debian/user; all messages from debian-security-announce
will go to $home/Mail/debian/security-announce, and so on.

If you wanted to make that a maildir, the filter should look like this:

# Exim filter
if $h_x-mailing-list matches "^<debian-(.*)@lists\\\\.debian\\\\.org>"
then
   seen
   save $home/Maildir/debian/$1/
endif

Or something like that.

> Maybe a better question is this:
> I'd like to be able to keep my mail on the server, filter and organize it
> into manageable directories (i.e. keep my personal email seperate from the
> lists), and access it from other workstations.  What is the "best" way to do
> this?

You're doing fine so far :)

> I'm not asking for "the" way just "a" way I can accomplish it with
> minimal fuss.  I want to keep my email and important documents on the
> server as I do (destructive) testing on my workstation frequently,
> which in turn needs to be documented.

*One* of the ways to do this is to keep all your mail on a centralized
server (it doesn't matter whether it's via IMAP or NFS), as well as your
documentation, and maybe even your home directory.  Which is precisely
what you're doing now :)

> P.S.  I have already learned a great deal from this list and I'd like to
> thank anyone who takes the time to answer these.  Especially you Phil.

Hey, no problem.  That's what we try to be here for :)

- -- 
- ----------------------------------------------------------------------
Phil Brutsche				    pbrutsch@tux.creighton.edu

GPG fingerprint: 9BF9 D84C 37D0 4FA7 1F2D  7E5E FD94 D264 50DE 1CFC
GPG key id: 50DE1CFC
GPG public key: http://tux.creighton.edu/~pbrutsch/gpg-public-key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6PVla/ZTSZFDeHPwRAtHZAJ4iRHtzZC1LHPjOTQSDYjmNodPMDQCgqTKG
W9Jf61uC1T3c9I+jSGv5srY=
=Ibke
-----END PGP SIGNATURE-----



Reply to: