--- spamass-milter.cpp.orig Thu Jun 26 17:10:44 2003 +++ spamass-milter.cpp Mon Aug 2 04:06:10 2004 @@ -621,6 +621,13 @@ SpamAssassin* assassin; struct context *sctx = (struct context *)smfi_getpriv(ctx); char *queueid; + char *auth_authen; + + // give authenticated users a chance + if ((auth_authen = smfi_getsymval(ctx, "{auth_authen}")) != NULL) { + debug(D_FUNC, "mlfi_envfrom: user authenticated, will not send spam"); + return SMFIS_ACCEPT; + } debug(D_FUNC, "mlfi_envfrom: enter"); try {