Curtis Vaughan via Postfix-users:
> I realize there have been a lot of posts about this issue, but in my 
> attempts so far, nothing has resolved this issue for me.
> 
> The postfix server in question is running on Ubuntu LTS 24.04 and has 
> been in operation for over a decade. But today while looking in the logs 
> about a different issue I was constantly seeing:
> 
> warning: connect to milter service inet:127.0.0.1:8891: connection refused

That usuallyu means that the daemon isn't running, or some 'security'
is preventing connections to it.

> The culprit seems to be opendkim. All the config files have info 
> relating to this server, so it must have been set up to run previously.
> 
> When I checked the service it wouldn't start and was masked. After 
> unmasking it, I was able to start it.
> 
>  > service opendkim start
> 
> Regardless, checking to see what is listening on port 8891 produced no 
> results.
> 
> postfix is part of the opendkim group, btw.
> 
> Kind of at my wits end here. Any ideas?

Find out why opendkim does not start. Maybe strace can reveal
something. But I don't know if systemd allows you to do that. 

In that case one may have to use old-school tooling

mv opendkim opendkim-real
cat >opendkim
#!/bin/sh
mkdir -p /tmp/opendkim
strace -f -o /tmp/opendkim/$$ /path/to/opendkim-real "$@"
^D
chmod 755 opendkim

Start opendkin with systctl, then look for errors in files under
/tmp/opendkim.

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

Reply via email to