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.
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.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -- Benjamin Franklin, 1759
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org