[Mimedefang] Socket map performance

David F. Skoll dfs at roaringpenguin.com
Tue Nov 24 16:23:16 EST 2009


Andrzej Adam Filip wrote:

> Have you used it for standard maps? (e.g. access or virtusertable)

Yes.

> YES => Have you tried to reduce (horrible) number of lookups issued by
> "any map" sendmail.cf design?

No.  But a socketmap lookup passed through MIMEDefang down into the Perl code
is something like 10x to 1000x slower than a Berkeley DB lookup.

(Side note: I'd love to see Sendmail support Dan Bernstein's "CDB" databases;
our tests indicate they are much faster than Berkeley DB.  Maybe that's a
project for the future...)

Regards,

David.



More information about the MIMEDefang mailing list