Hi Frank (and list),
At 02:10 21.03.2007 +0100, Frank Tegtmeyer wrote:
>Erwin Hoffmann <feh@fehcom.de> writes:
>
>> There are scripts available to transform local and virtual user to the
>> recipients format, which is fastforward compatible.
>
>I tried some of the scripts and wasn't satisified at all. The provided
>Python script was a good starting point to hack something better.
>
>The result is here:
>http://fte.tegtmeyer.net/djbware/create_recipients.py
>
>Changes from the original script:
>- minimize memory usage
>- handles all virtual setups (vmail should work too, please check)
>- tries to imitate qmail delivery as close as possible
>- reduces large alias lists if there is a "base" alias (Erwins
> patch allows all extensions to a base address)
>
>Address sources:
>- relay domains (generated as wildcards)
>- local and virtual domains
>- users/assign
>- local users
>- alias user
>- .qmail files for users, alias and virtual domains
>- vpopmail password files
>
>The output still may contain duplicates which have to be sorted out by
>"sort -u". This was the tradeoff for low memory impact.
Good to hear, that the RECIPIENTS extension does a proper work.
Anyway, version 0.5 of RECIPIENTS will include two important improvements:
a) optinonally, *per-domain* cdbs for verification,
b) additionaly, support for external programs (PAM) to be used for
verification (i.e. LDAP/MySQL lookup, or even checkpassword).
In particular the latter is extremly useful to have a unique and single
user database.
RECIPIENTS 0.5 will be published stand-alone and as part of SPAMCONTROL 2.5.
@Frank: ASAP I have a working and somehow documented version I could send
you an alpha version; if you are interested.
thanks & regards.
--eh.
Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/
Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24
|