mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-07 20:27:02 +01:00
fe01e850a8
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
18 lines
538 B
Diff
18 lines
538 B
Diff
diff --git a/opendmarc/opendmarc.c b/opendmarc/opendmarc.c
|
|
index 0b3457a..1c0e27a 100644
|
|
--- a/opendmarc/opendmarc.c
|
|
+++ b/opendmarc/opendmarc.c
|
|
@@ -1863,7 +1863,13 @@ mlfi_envfrom(SMFICTX *ctx, char **envfrom)
|
|
|
|
if (conf->conf_ignoreauthclients &&
|
|
dmarcf_getsymval(ctx, "{auth_authen}") != NULL)
|
|
+ {
|
|
+ if (curconf->conf_dolog)
|
|
+ {
|
|
+ syslog(LOG_INFO, "ignoring authenticated client, mailfrom=%s", envfrom[0]);
|
|
+ }
|
|
return SMFIS_ACCEPT;
|
|
+ }
|
|
|
|
dfc = (DMARCF_MSGCTX) malloc(sizeof(struct dmarcf_msgctx));
|
|
if (dfc == NULL)
|