A. Schulze:
Am 18.09.2016 um 14:39 schrieb Wietse Venema:
As in the patch below.
Hello Wietse,
there are multiple places where such loglines are written:
$ find . -name '*.c' | xargs grep helo=
./src/cleanup/cleanup_message.c:
vstring_sprintf_append(state->temp1, " helo=<%s>", attr);
./src/cleanup/cleanup_milter.c: vstring_sprintf_append(state->temp1, "
helo=<%s>", attr);
./src/cleanup/cleanup_milter.c: vstring_sprintf_append(state->temp1, "
helo=<%s>", attr);
./src/postscreen/postscreen_smtpd.c: "from=<%s>, to=<%s>,
proto=%s, helo=<%s>",
./src/smtpd/smtpd.c: vstring_sprintf_append(buf, " helo=<%s>",
state->helo_name);
./src/smtpd/smtpd_check.c: vstring_sprintf_append(buf, "
helo=<%s>", state->helo_name);
You suggested to patch src/smtpd/smtpd.c but I've to patch
src/smtpd/smtpd_check.c
Could you say something about the conditions where each code path is active?
Andreas