Re: Hashed Mail Spools

Top Page
Delete this message
Reply to this message
Author: Daniel Chalef
Date:  
To: Nigel Metheringham
CC: Philip Hazel, exim-users
Subject: 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


Of course the above _should_ have read: /var/spool/mail/a/ab/abc ( just in
case you thought I was an idiot (: )

> 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 = ""


Wow! have you seen Philip Hazel's far less complicated local delivery
transport?

> 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!


I see no reason that exim would create the directories for you. If it
can't stat where it should append the file, I figure its going to
squeak....

Well, I'll play and see what happens.

Cheers
Daniel 
--
Daniel Chalef                        UUNET Internet Africa Network Operations


Disraeli was pretty close: actually, there are Lies, Damn lies, Statistics,
Benchmarks, and Delivery dates.




--
* 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/