> From: Jim Shewmaker [mailto:[EMAIL PROTECTED]
> Hey, I don't suppose there is a way to have some sort of cache for the
> md_check_against_smtp_server function?  I see this as 
> espescially valuable in cases like mine where the users don't change very
often.  
> Any comments on a feature request if this isn't already a tunable setting?
> 
> Jim Shewmaker

Another option, if you have a way of getting *every* SMTP address on your
SMTP server, is to programmatically build a sendmail "access" file every
half-an-hour or so.

There are various threads on this list dealing with using LDAP against
Microsoft Exchange servers to accomplish this - this is important since
Exchange doesn't work with md_check_against_smtp_server (always returns OK.)

Any new email address on your SMTP server will not be able to receive email
from the outside until the next scheduled "access" update - but this is not
generally a problem.

Basically it looks like this:

access:
[EMAIL PROTECTED] OK (or RELAY)
[EMAIL PROTECTED] OK (or RELAY)
...
@example.org REJECT (no unknown recipients @example.org please!)

Make sure to rehash access.db out of access once it's been built.

[EMAIL PROTECTED]                      805.964.4554 x902
Hispanic Business Inc./HireDiversity.com         Software Engineer
perl -e"map{y/a-z/l-za-k/;print}shift" "Jjhi pcdiwtg Ptga wprztg,"
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to