diff options
| author | Philip Wittamore <philip@wittamore.com> | 2026-07-12 11:08:50 +0200 |
|---|---|---|
| committer | Philip Wittamore <philip@wittamore.com> | 2026-07-12 11:08:50 +0200 |
| commit | 420ceb49b53a8fa9d8ba8443e42e50cd7bd7cea9 (patch) | |
| tree | 3009f0564d75e3f7d1ca38507e7ebb92deaded07 /articles/2021/spamass-milter-error.html | |
update
Diffstat (limited to 'articles/2021/spamass-milter-error.html')
| -rwxr-xr-x | articles/2021/spamass-milter-error.html | 56 |
1 files changed, 56 insertions, 0 deletions
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 @@ +<!doctype html> +<html lang="EN"> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="stylesheet" href="/style.css"> + <title>Bloggings</title> + </head> + <body> + <header> + <h1>Bloggings</h1> + <a href="/index.php">Back</a> + + </header> + +<main> +<article> +<h2>spamass-milter error</h2> +<h3>2021-04-15</h3> +<p>Lorsque j'a regardé si tout allait bien avec spamassasin,</p> +<code>systemctl status spamass-milter</code> +<p>m'affichait le message d'erreur suivant :</p> +<code>spamass-milter could not retrieve sendmail macro "_" !". </code> +<p>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 <b>milter_connect_macro</b> doit être modifiée.</p> +<code>postconf -d milter_connect_macros</code> +<p>renvoie</p> +<code>milter_connect_macros = j {nom_du_démon} {addr_du_démon} v</code> + +<p>Le "_" etait bien manquant, ansi que la macro i.<br> +J'ai donc ajouté cette ligne au fichier /etc/postfix/main.cf</p> + +<code>milter_connect_macros = "i j {daemon_name} v {if_name} _" </code> + +<p>et voila, plus d'erreurs? Non. Une message d'erreur pour le macro "i" subsiste, mais c'est une bogue sans conséquence.</p> + +<p><a href="http://www.postfix.org/MILTER_README.html">http://www.postfix.org/MILTER_README.html</a></p> +<i><pre> +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 <unknown-msgid> + +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. +</pre></i> +</article> +</main> +<footer> +<p> </p><p>§</p></footer> +</body></html> |
