Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] [RFC] Recipient settings through LDAP?

2006-11-23 by Oliver Fromme

AIDA Shinra wrote:
 > manu@... wrote:
 > > Where will you store the information in /etc/passwd?
 > 
 > Sorry, I meant a monolithic file which is similar to /etc/passwd
 > (or /etc/aliases).
 > 
 > * It can be parsed by only fgets() and strtok().
 > * It can be edited by a machine without breaking comment lines.
 > * No macro nor ifdef nor wildcard.

Such a plain file is terribly inefficient and has bad
performance for any significant number of users.

I would recommend to use a real database (e.g. PostgreSQL).
It has several advantages:
 - Good performance (with proper indices).
 - No problem syncing between MXs, they simply access
   the same database (or a replicated one: most databases
   already support replication themselves).
 - There already exist solutions for users to edit their
   own data in SQL tables.

Best regards
   Oliver


-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

$ dd if=/dev/urandom of=test.pl count=1
$ file test.pl
test.pl: perl script text executable

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.