Re: [exim] 30,000+ email accounts

Top Page
Delete this message
Reply to this message
Author: Richard Pickett
Date:  
To: Exim Users
Subject: Re: [exim] 30,000+ email accounts
On Mon, 2007-07-30 at 13:25 -0700, Jaye Mathisen wrote:

> It would seem that hashing your home directories, like /home/a/u/ausername,
> woudl eliminate most of that.
>
> Saves you the money of having to buy multiple machines.



I agree 100%.

I'm *not* an expert w/ exim (hey, I might not even qualify as a
novice...).

I've located this line that delivers to the local folder:


> directory = "${extract{5}{:}{${lookup{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}lsearch{/etc/passwd}{$value}}}}/mail/${domain}/${local_part}"



(a) how do I modify it to pull the first and second character off of the user name to "hash"?

(b) what happens to an account that has only a single letter for their user name?


Thanks for everyone's great help!