changeset 182:2b06183b9b25

embedded dcc filtering
author carl
date Sat, 06 Oct 2007 17:10:13 -0700
parents cb5c0d7ec451
children e8a822f9cca0
files src/dnsbl.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dnsbl.cpp	Sat Oct 06 12:30:48 2007 -0700
+++ b/src/dnsbl.cpp	Sat Oct 06 17:10:13 2007 -0700
@@ -1013,7 +1013,7 @@
 	char  *fromvalue = con.find_from(priv.mailaddr, true);
 	// tell spam assassin and dccifd about this recipient
 	if (priv.assassin) priv.assassin->mlfi_envrcpt(ctx, loto);
-	if (priv.dccifd)   priv.dccifd->mlfi_envrcpt(loto, con.get_grey());
+	if (priv.dccifd)   priv.dccifd->mlfi_envrcpt(ctx, loto, con.get_grey() && !priv.authenticated);
 	// loto sending a reply back to priv.mailaddr
 	CONTEXT    &con2 = *(dc.find_context(priv.mailaddr)->find_context(loto));
 	char *replyvalue = con2.find_from(loto);