From 420ceb49b53a8fa9d8ba8443e42e50cd7bd7cea9 Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Sun, 12 Jul 2026 11:08:50 +0200 Subject: update --- articles/2021/spamass-milter-error.html | 56 +++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100755 articles/2021/spamass-milter-error.html (limited to 'articles/2021/spamass-milter-error.html') diff --git a/articles/2021/spamass-milter-error.html b/articles/2021/spamass-milter-error.html new file mode 100755 index 0000000..8d162e3 --- /dev/null +++ b/articles/2021/spamass-milter-error.html @@ -0,0 +1,56 @@ + + + + + + + Bloggings + + +
+

Bloggings

+ Back + +
+ +
+
+

spamass-milter error

+

2021-04-15

+

Lorsque j'a regardé si tout allait bien avec spamassasin,

+systemctl status spamass-milter +

m'affichait le message d'erreur suivant :

+spamass-milter could not retrieve sendmail macro "_" !". +

Cela n'a aucun effet sur la fonction de spamass_milter, mais je n'aime pas que les choses soient +désordonnées. Il s'avère que spamass-milter a été construit pour sendmail, +donc si vous utilisez Postfix, la macro milter_connect_macro doit être modifiée.

+postconf -d milter_connect_macros +

renvoie

+milter_connect_macros = j {nom_du_démon} {addr_du_démon} v + +

Le "_" etait bien manquant, ansi que la macro i.
+J'ai donc ajouté cette ligne au fichier /etc/postfix/main.cf

+ +milter_connect_macros = "i j {daemon_name} v {if_name} _" + +

et voila, plus d'erreurs? Non. Une message d'erreur pour le macro "i" subsiste, mais c'est une bogue sans conséquence.

+ +

http://www.postfix.org/MILTER_README.html

+
+Some Milter applications log a warning that looks like this:
+
+    sid-filter[36540]: WARNING: sendmail symbol 'i' not available
+
+And they may insert an ugly message header with "unknown-msgid" like this:
+
+    X-SenderID: Sendmail Sender-ID Filter vx.y.z host.example.com 
+
+The problem is that Milter applications expect that the queue ID is known before the MTA accepts the MAIL FROM
+ (sender) command. Postfix does not choose a queue ID, which is used as the queue file name, until after it 
+ accepts the first valid RCPT TO (recipient) command. 
+
+
+
+ + -- cgit v1.3.1