Re: Hashed Mail Spools

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Nigel Metheringham
Dátum:  
Címzett: danielc
CC: Philip Hazel, exim-users
Tárgy: Re: Hashed Mail Spools
danielc@??? said:
} Yes, that sounds like what we're looking for. i.e. we have user abc
} with mail stored in:

} /var/spool/a/ab/abc

I do something similar to that:-
local_maildir:
driver = appendfile;
directory = /var/spool/mail/msgs/${substr_-1_1:${local_part}}/${substr_-2
_1:${local_part}}/${local_part},
maildir_format,
create_directory,
delivery_date_add,
envelope_to_add,
no_from_hack,
prefix = "X-From_: ${if def:return_path{$return_path}{MAILER-DAEMON}}
${tod_bsdinbox}\n",
suffix = ""

I don't think it will create the upper hierarchy directories, but the per
user stuff it creates OK. The reason I don't know is that I pre-created
the whole lot before I started tests!

    Nigel.


-- 
[ Nigel.Metheringham@???   -  Systems Software Engineer ]
[ Tel : +44 113 251 6012                   Fax : +44 113 224 0003 ]
[            Friends don't let friends use sendmail!              ]




--
* This is sent by the exim-users mailing list.  To unsubscribe send a
    mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/