<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Just one question which milter protocol version does msmilter need?<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.postfix.org/postconf.5.html#milter_protocol">http://www.postfix.org/postconf.5.html#milter_protocol</a><br>
<a class="moz-txt-link-freetext" href="http://www.postfix.org/MILTER_README.html">http://www.postfix.org/MILTER_README.html</a><br>
<br>
Or will the default version suffice?<br>
<font color="#f8f1f1">/etc/postfix/<a
href="http://www.postfix.org/postconf.5.html">main.cf</a>:</font><font
color="#f8f1f1"><br>
# Postfix ≥ 2.6</font><font color="#f8f1f1"><br>
<font color="#f3f7fb"><a
href="http://www.postfix.org/postconf.5.html#milter_protocol">milter_protocol</a></font>
= 6</font><font color="#f8f1f1"><br>
# 2.3 ≤ Postfix ≤ 2.5</font><font color="#f8f1f1"><br>
<a href="http://www.postfix.org/postconf.5.html#milter_protocol">milter_protocol</a>
= 2</font><br>
<br>
<br>
<div class="moz-cite-prefix">On 10/23/21 22:16, Maarten via
MailScanner wrote:<br>
</div>
<blockquote type="cite"
cite="mid:622e5588-aea8-32c4-2cda-22028dc43852@feedmebits.nl">Thanks
for your reply Shawn. It seems to be working now, I think I missed
something. I restored my old configuration
<br>
to verify it and then I ran into some other issues which didn't
have anything to do with mailscanner or postfix which I
<br>
fixed. After my old configuration was restored and working again,
I tested it and my spf and dkim were working there.
<br>
So I went through the milter configuration again and It seems to
be working now, both my dkim and spf. Even though
<br>
I have a backup mailserver I was sweating a little because I
didn't know where it went wrong since I followed the
<br>
mailscanner guide. I think I may have overlooked something while
doing it and reacted by changing something elsewhich
<br>
caused some other issues. I'll leave it running for a day or so
and see what happens. From all my testing I have done so
<br>
far it's all good.
<br>
<br>
See the last test mail I sent from a gmail account:
<br>
<br>
Return-Path: <a class="moz-txt-link-rfc2396E" href="mailto:example@gmail.com"><example@gmail.com></a>
<br>
X-Original-To: <a class="moz-txt-link-abbreviated" href="mailto:gmail@example.com">gmail@example.com</a>
<br>
Delivered-To: <a class="moz-txt-link-abbreviated" href="mailto:mailinglists@example.com">mailinglists@example.com</a>
<br>
Received: from magik (localhost [127.0.0.1])
<br>
by magik.example.com (Postfix) with ESMTP id DD3AFE0ABB
<br>
for <a class="moz-txt-link-rfc2396E" href="mailto:gmail@example.com"><gmail@example.com></a>; Sat, 23 Oct 2021 22:11:27 +0200
(CEST)
<br>
DKIM-Filter: OpenDKIM Filter v2.11.0 magik.example.com DD3AFE0ABB
<br>
Authentication-Results: magik.example.com;
<br>
dkim=pass (2048-bit key; unprotected) header.d=gmail.com
<a class="moz-txt-link-abbreviated" href="mailto:header.i=@gmail.com">header.i=@gmail.com</a> header.a=rsa-sha256 header.s=20210112
header.b=e7od2eYB
<br>
X-Spam-Status: No
<br>
X-FMB-MailScanner-From: <a class="moz-txt-link-abbreviated" href="mailto:example@gmail.com">example@gmail.com</a>
<br>
X-FMB-MailScanner: Found to be clean
<br>
X-FMB-MailScanner-ID: D8845E0AB8.AA5CD
<br>
X-FMB-MailScanner-Information: Please contact
<a class="moz-txt-link-abbreviated" href="mailto:hostmaster@example.com">hostmaster@example.com</a> for more information
<br>
Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com
[209.85.208.54])
<br>
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256
bits))
<br>
(no client certificate requested)
<br>
by magik (MailScanner Milter) with SMTP id D8845E0AB8
<br>
for <a class="moz-txt-link-rfc2396E" href="mailto:gmail@example.com"><gmail@example.com></a>; Sat, 23 Oct 2021 22:11:22 +0200
(CEST)
<br>
Received-SPF: Pass (mailfrom) identity=mailfrom;
client-ip=209.85.208.54; helo=mail-ed1-f54.google.com;
<a class="moz-txt-link-abbreviated" href="mailto:envelope-from=example@gmail.com">envelope-from=example@gmail.com</a>; receiver=<UNKNOWN>
<br>
DKIM-Filter: OpenDKIM Filter v2.11.0 magik.example.com D8845E0AB8
<br>
Received: by mail-ed1-f54.google.com with SMTP id w15so306888edc.9
<br>
for <a class="moz-txt-link-rfc2396E" href="mailto:gmail@example.com"><gmail@example.com></a>; Sat, 23 Oct 2021 13:11:22
-0700 (PDT)
<br>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
<br>
d=gmail.com; s=20210112;
<br>
h=mime-version:from:date:message-id:subject:to;
<br>
bh=5siPEmJlMA6PG5q+Ww7Th7cXsTfPnNnJzHDNbY+kXbA=;
<br>
b=e7od2eYBMzIj7F4ZGmRX3EYuVqE6zxRXaWjQEkZ9oOGViT+paDRn8YlyOh1n3i8UIA
<br>
43w4VEG8COdC44M9S2XhgowQb3RCAt8Jp7YmR9JuzExlC/1B7UDTO5smEWzyZWWkbcWE
<br>
g4FXqC7kwRe/OR8AELB9ok76spHKOnhTELcYNPLeFLQiMqXXhWgp08nKPflWY6IgxQlJ
<br>
p6x+OpUsTuet+6kRnG5YBLYMIcxmUBl3uj2ygqF6ygOjnvCdVqfwTzvag0lCi3Ny3See
<br>
RGfc9X+kVeOPiWWUTdXfirGOa+BOM8jtHDN1y6zs1LPM6pBJd6XWn/geM6CmiY4GM+6s
<br>
E8Bg==
<br>
<br>
<br>
Thanks for your reply! Have a great day!
<br>
<br>
On 10/23/21 19:49, Shawn Iverson via MailScanner wrote:
<br>
<blockquote type="cite">Typically, this is implemented in postfix
with something like postfix-policyd. Do you still have this or
something similar?
<br>
<br>
On 10/23/21 1:18 PM, Maarten via MailScanner wrote:
<br>
<blockquote type="cite">It's been a a few years since msmilter
was first implemented in mailscanner. I had been using the
<br>
traditional since I started using mailscanner. I had some time
on my hands and I thought I would
<br>
try the msmilter configuration also because I haven't seen any
recent issues in the list come along
<br>
so I thought that is a good sign. It was easy to setup because
the documentation is well done and
<br>
my mail is received as expected. So first of all I would like
to say thank you to those who implemented
<br>
the milter option. However I am running in one small thing
which isn't working correctly and that
<br>
has been since I went from traditional to milter
configuration.
<br>
<br>
Before the switch to the milter configuration postfix would
add a line like this to the headers:
<br>
<br>
Received-SPF: Pass (mailfrom) identity=mailfrom;
client-ip=204.92.22.85; helo=mail03.engage.redhat.com;
<a class="moz-txt-link-abbreviated" href="mailto:envelope-from=noreply@engage.redhat.com">envelope-from=noreply@engage.redhat.com</a>;
receiver=<UNKNOWN>
<br>
<br>
Since I made the switch to milter that is not happening
anymore, any idea why that is happening?
<br>
<br>
Maarten
<br>
<br>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
<br>
<br>
</blockquote>
<br>
</body>
</html>