| To: | qmail@list.cr.yp.to |
|---|---|
| Subject: | create recipients database for Erwin Hoffmans RECIPIENTS extension |
| From: | Frank Tegtmeyer <fte-sub-qmail@fte.to> |
| Date: | Wed, 21 Mar 2007 02:10:31 +0100 |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | gmail-qmail@securepoint.com |
| Delivered-to: | sp.com.list@gmail.com |
| Delivered-to: | mailing list qmail@list.cr.yp.to |
| In-reply-to: | <3.0.6.32.20040916133404.00998e00@orion.fehnet.de> (Erwin Hoffmann's message of "Thu, 16 Sep 2004 13:34:04 +0100") |
| Mail-followup-to: | qmail@list.cr.yp.to |
| Mailing-list: | contact qmail-help@list.cr.yp.to; run by ezmlm |
| References: | <3.0.6.32.20040916133404.00998e00@orion.fehnet.de> |
| User-agent: | Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
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. Regards, Frank |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: qmail-local taking a lot of CPU often, Jeremy Kitchen |
|---|---|
| Next by Date: | Running qmail-smtpd on multiple ports, up |
| Previous by Thread: | Introduction, Charles Williams |
| Next by Thread: | Re: create recipients database for Erwin Hoffmans RECIPIENTS extension, Erwin Hoffmann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |