Root Won’t Remove Socket File
When a Milter shuts down, it automatically removes any
Unix domain socket that was used as the
communication port. The communication port is set
with the smfi_setconn
() Milter library routine.
If the argument to that routine begins with
"unix:
" or
"local:
" the
path listed following that prefix defines the Unix
domain socket to use.
Beginning with V8.13, if the Milter is being run by, or as, root, the Milter library will refuse to remove a Unix domain socket.
Get sendmail, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.