I have a server running Ubuntu 16. I'm trying to get postfix configured to use OpenArc.
I've installed the OpenArc package, but it's not automatically starting on reboot.
If I run
openarc -c /etc/openarc/openarc.conf -n
it doesn't return an error. /etc/openarc/openarc.conf is as follows:
AuthservID mi domain
Domain mi domain
KeyFile /etc/opendkim/keys/201901.private
Selector 201901
Mode sv
Socket inet:8895@localhost
SoftwareHeader yes
Syslog Yes
UserID opendkim
AutoRestart yes
PidFile /var/run/opendkim/openarc.pid
If I run
openarc -c /etc/openarc/openarc.conf
It tells me the milter is busy.
When I run lsof -i | grep openarc
it reports:
openarc 10849 opendkim 7u IPv4 160111 0t0 TCP localhost: 8895-> localhost: 44132 (ESTABLISHED)
I've also configured postfix to access the milter by adding to /etc/postfix/main.cf:
smtpd_milters = inet: localhost: 8891, inet: localhost: 8892, inet: localhost: 8895
non_smtpd_milters = inet: localhost: 8891, inet : localhost: 8892, inet: localhost: 8895
But when postfix tries to use it, it reports
postfix / smtpd [1396]: warning: connect to Milter service inet: localhost: 8895: Connection refused
Please let me know what else you may need to know to help me with my problem. Thank you very much.
gracias por intentar ayudarme pese a que no se entiende el idioma .. mi idioma nativo es el español .. mira cuando reinicio la maquina ... el openarc no se ejecuta .. pero si ... pongo el codigo .. openarc -c /etc/openarc/openarc.conf -n se ejecuta ... te paso el contenido de mi openarc.conf...
AuthservID mi domain
Domain mi domain
KeyFile /etc/opendkim/keys/201901.private
Selector 201901
Mode sv
Socket inet:8895@localhost
SoftwareHeader yes
Syslog Yes
UserID opendkim
AutoRestart yes
PidFile /var/run/opendkim/openarc.pid
al hacer lsoft-i
me da el resultado:
openarc 10849 opendkim 7u IPv4 160111 0t0 TCP localhost:8895->localhost:44132 (ESTABLISHED)
pero una vez que cargo el openarc.conf ... me da el resultado de que esta conectado el milter .. se me entiende?
otra cosa que hice fue poner el milter en el main.cf ... de esta manera ... smtpd_milters = inet:localhost:8891, inet:localhost:8892, inet:localhost:8895 non_smtpd_milters = inet:localhost:8891, inet:localhost:8892, inet:localhost:8895
pero al iniciar si no pongo el openarc -c .. no me abre y me salta error ..postfix/smtpd[2174]: warning: connect to Milter service inet:localhost:8895: Connection refused
I raised the openarc once I put the comomando to load the milter .. it would be really load the openarc.conf .. file as follows
openarc -c /etc/openarc/openarc.conf -n
Y:
openarc -c /etc/openarc/openarc.conf
when I put this the milter loads me and the openarc walks me ... but it throws me error that the milter is busy .. but I have nothing but the openarc in that milter ...
postfix / smtpd [1396]: warning: connect to Milter service inet: localhost: 8895: Connection refused
It's the first time I write a problem with postfix I do not know if they need to see other files to help me ... thank you very much ...