centos 6.6 - user dkim-milter does not exist

Posted March 7, 2015 3.2k views
CentOSEmailSystem Tools

Hi there,
I have a problem using dkim on my new fresh centos 6.6 installation. I use virtualmin/webmin and when i am going to “Email Messages” -> “DomainKeyIdentifiedMail” i try for the first time to save a dkim record, by changing the name to 2015 and checking “Signing of outgoing mail enabled?” to YES.
As I click the save button, I see the message I have below:

The user dkim-milter does not exist as I double-checked on my system by running “cat /etc/passwd”.
I reinstalled dkim-milter and I receive the same error. I have another server with same configuration and its worked there from the start. I am not able to reinstall the system.

dkim version is the "dkim-milter-2.8.3-8.el6.x86_64

I also tried to use this tutorial to install it again:

but when I am at the end of step 3 and try to start dkim-milter I get again in the console:
/etc/init.d/dkim-milter start
Starting DomainKeys Identified Mail Milter (dkim-filter): runuser: user dkim-milter does not exist

I also find out that I was unable to create a user “test123” via ssh terminal, as I get:
/usr/sbin/adduser test123
adduser: cannot lock /etc/passwd; try again later.

my permissions:
-rw-r–r– 1 root root 2871 Mar 6 06:39 /etc/passwd

Why this is happening?

How can I fix this problem? I cant seem to find a similar problem on the net.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Same problem on CentOS 6.6 (64bit):

start failed : Starting DomainKeys Identified Mail Milter (dkim-filter): runuser: user dkim-milter does not exist

Any ideea?

It found solution for the problem with “runuser: user dkim-milter does not exist”, who is interested, read here: virtualmin-dkim-runuser-user-dkim-milter-does-not-exist

Use the “Translate” option from the top-left corner of the page.