procmail
[Top] [All Lists]

system mailbox "hashing" with sendmail and procmail

1995-12-04 11:30:33

Dear procmail gurus...

I'm participating in an Internet Access Provider project able to support a 
monstruous number of customers (from thousands to hundreds of thousands, or 
even millions, and no, this is not MSNet or Compuserve :-)).

Thus, up to hundreds of thousands of delivery addresses managed by the MTA. 
The problem of duplicate mail addresses being solved by the team registrating 
the accounts, we're trying to find a way to put mail in the mailboxes :-)

Currently the basic idea is:
        - having a mail address consisting of 
"Surname.Middle-Initials-or-otherwise-di
stinguishing-part(_dot_)Name(_at_)provider(_dot_)net"
        - take this address, use md5 to generate a shorter fingerprint 
(simultaneously giving a greater entropy to the hashing)
        - use this fingerprint to generate a system mailbox path for this 
address 
(like first-part-of-md5/second-part-of-md5 or md5 modulo number of predicted 
directories)
        - write the mail in this mailbox

Does anyone know if there is a way to implement this using sendmail and 
procmail as the local MDA?

--
Benjamin Ryzman         mailto:zarkdav(_at_)eddy(_dot_)freenix(_dot_)fr
Solutions Vocales       http://deepthought.sv.vtcom.fr

<Prev in Thread] Current Thread [Next in Thread>