Claudio Jeker wrote: > > How about making the filters configurable either through an environment > > variable, or a file?
One very easy method to do this would be to use two environment variables. First for the first half of filter. There will be uid=username in the middle, and second will be for the second half of the filter. This should suit most people. A more elaborate would be to use expandable placeholders in one variable. Something like $FILTER=(&((mail=%address)(objectclass=qmailUser) !(mailalternateaddress=%altaddress)))
