W dniu 5.12.2024 o 13:17, Matus UHLAR - fantomas via Postfix-users pisze:
On 05.12.24 12:32, natan via Postfix-users wrote:
Maybe change
from:
cleanup    unix  n       -       y       -       0       cleanup

to:
cleanup    fifo  n       -       y       -       0       cleanup

But I don't know if it makes sense and if it is a good solution for resolve problem

This changes nothing, at least nothing useful.

cleanup is running in chroot, so the real path for milter-regex hould be something like /var/spool/postfix/var/run/milter/milter-regex.sock

Some milters work with chroot properly, but I use many milters at TCP level so I don't have to play with chroot.
milter-regex works only with unix socket
I don't want to bother with additional proxies or anything like that
I don't understand why it works fine but from time to time there are such warnings in the logs

Is real /var/spool/postfix/var/run/milter/milter-regex.sock - why i cant find in /var/spool/postfix/var/run/



W dniu 5.12.2024 o 11:50, Ralf Hildebrandt via Postfix-users pisze:
* natan via Postfix-users <postfix-users@postfix.org>:
Hi
Today i run setup postfix+milter-regex.sock

Some times in log I get:

tail -f /var/log/mail.log |grep milter
Dec  5 11:23:03 mx-node2 postfix/cleanup[45922]: warning: connect to Milter service unix:/var/run/milter/milter-regex.sock: No such file or directory
Cleanup doesn't see /var/run/milter/milter-regex.sock

Check the "cleanup" line in /etc/postfix/master.cf -- what do you see
in the column "chroot"?

In my case:
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (50)
# ==========================================================================
cleanup    unix  n       -       y       -       0 cleanup

(chroot -> y)

ls -la /var/run/milter/
razem 0
drwxr-xr-x  2 mailregx postfix   60 gru  5 11:19 .
drwxr-xr-x 32 root     root    1180 gru  5 11:27 ..
srw-rw-r--  1 mailregx postfix    0 gru  5 11:19 milter-regex.sock
/var/run/milter/milter-regex.sock seems to exist.


--

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to