LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-20-2016, 07:19 AM   #1
harish-mn
Member
 
Registered: Sep 2016
Posts: 37

Rep: Reputation: Disabled
Red face opendkim


Hello

I am tired to configure the opendkim in my domains but am not able to doing this

Here i mentioned the error log.please help me how to solve this issues

[root@xxx ~]# service opendkim restart
Restarting opendkim (via systemctl): Job for opendkim.service failed because the control process exited with error code. See "systemctl status opendkim.service" and "journalctl -xe" for details.
[FAILED]
[root@xxxx ~]# systemctl status opendkim.service
● opendkim.service - DomainKeys Identified Mail (DKIM) Milter
Loaded: loaded (/usr/lib/systemd/system/opendkim.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2016-09-20 12:09:47 UTC; 11s ago
Docs: manpendkim(8)
manpendkim.conf(5)
manpendkim-genkey(8)
manpendkim-genzone(8)
manpendkim-testadsp(8)
manpendkim-testkey
http://www.opendkim.org/docs.html
Process: 11220 ExecStart=/usr/sbin/opendkim $OPTIONS (code=exited, status=78)

Sep 20 12:09:47 xxxxxxx.com systemd[1]: Starting DomainKeys Identified Mail (DKIM) Milter...
Sep 20 12:09:47 xxxxxxx.com opendkim[11220]: opendkim: /etc/opendkim.conf: refile:/etc/opendkim/signingTable: dkimf_db_open(): No such file or directory
Sep 20 12:09:47 xxxxxxx.com systemd[1]: opendkim.service: control process exited, code=exited status=78
Sep 20 12:09:47 xxxxxxx.com systemd[1]: Failed to start DomainKeys Identified Mail (DKIM) Milter.
Sep 20 12:09:47 xxxxxxx.com systemd[1]: Unit opendkim.service entered failed state.
Sep 20 12:09:47 xxxxxxx.com systemd[1]: opendkim.service failed.

and also opendkim port not showing when i check by using the netstat

netstat -nlp | grep 8891

its nothing show anything

I followed this article for configure opendkim
http://www.linuxtechi.com/configure-...x-on-centos-7/
 
Old 09-20-2016, 08:56 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by harish-mn View Post
Hello

I am tired to configure the opendkim in my domains but am not able to doing this

Here i mentioned the error log.please help me how to solve this issues

[root@xxx ~]# service opendkim restart
Restarting opendkim (via systemctl): Job for opendkim.service failed because the control process exited with error code. See "systemctl status opendkim.service" and "journalctl -xe" for details.
[FAILED]
[root@xxxx ~]# systemctl status opendkim.service
● opendkim.service - DomainKeys Identified Mail (DKIM) Milter
Loaded: loaded (/usr/lib/systemd/system/opendkim.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2016-09-20 12:09:47 UTC; 11s ago
Docs: manpendkim(8)
manpendkim.conf(5)
manpendkim-genkey(8)
manpendkim-genzone(8)
manpendkim-testadsp(8)
manpendkim-testkey
http://www.opendkim.org/docs.html
Process: 11220 ExecStart=/usr/sbin/opendkim $OPTIONS (code=exited, status=78)

Sep 20 12:09:47 xxxxxxx.com systemd[1]: Starting DomainKeys Identified Mail (DKIM) Milter...
Sep 20 12:09:47 xxxxxxx.com opendkim[11220]: opendkim: /etc/opendkim.conf: refile:/etc/opendkim/signingTable: dkimf_db_open(): No such file or directory
Sep 20 12:09:47 xxxxxxx.com systemd[1]: opendkim.service: control process exited, code=exited status=78
Sep 20 12:09:47 xxxxxxx.com systemd[1]: Failed to start DomainKeys Identified Mail (DKIM) Milter.
Sep 20 12:09:47 xxxxxxx.com systemd[1]: Unit opendkim.service entered failed state.
Sep 20 12:09:47 xxxxxxx.com systemd[1]: opendkim.service failed.

and also opendkim port not showing when i check by using the netstat

netstat -nlp | grep 8891

its nothing show anything

I followed this article for configure opendkim
http://www.linuxtechi.com/configure-...x-on-centos-7/
Did you look at the log file, as the error told you? It's not starting for a reason, and the logs tell you that reason.

There is AMPLE documentation on how to configure dkim with multiple domains for postfix....

https://www.howtoforge.com/set-up-dk...8.x-centos-5.3
 
Old 09-20-2016, 09:07 AM   #3
harish-mn
Member
 
Registered: Sep 2016
Posts: 37

Original Poster
Rep: Reputation: Disabled
Thanks for ur quick reply TB0ne

There is no error in log

[root@xxx ~]# tail -f /var/log/maillog
Sep 20 12:59:26 I postfix/smtp[11947]: 637F62006179BA: to=<harish-sm@outlook.com>, relay=mx2.hotmail.com[65.55.33.119]:25, delay=2.4, delays=0.03/0.01/0.6/1.7, dsn=2.0.0, status=sent (250 <20160920125924.637F62006179BA@host.xxxxxxx.com> Queued mail for delivery)
Sep 20 12:59:26 I postfix/cleanup[11945]: BA6CE2006179C2: message-id=<20160920125926.BA6CE2006179C2@host.xxxxxxx.com>
Sep 20 12:59:26 I postfix/bounce[11948]: 637F62006179BA: sender delivery status notification: BA6CE2006179C2
Sep 20 12:59:26 I postfix/qmgr[11754]: BA6CE2006179C2: from=<>, size=2188, nrcpt=1 (queue active)
Sep 20 12:59:26 I postfix/qmgr[11754]: 637F62006179BA: removed
Sep 20 12:59:26 I postfix/local[11949]: BA6CE2006179C2: to=<root@xxxxxxx.com>, relay=local, delay=0.01, delays=0/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
Sep 20 12:59:26 I postfix/qmgr[11754]: BA6CE2006179C2: removed
Sep 20 13:14:30 I postmulti[12163]: fatal: Invalid '-e' edit action 'destory'. Specify 'create', 'destroy', 'import', 'deport', 'enable', 'disable', 'assign', 'init' or 'destory'
Sep 20 13:17:04 I postfix-xx.xx.xx.12/postfix-script[12590]: refreshing the Postfix mail system
Sep 20 13:17:04 I postfix-xx.xx.xx.12/master[11835]: reload -- version 2.10.1, configuration /etc/postfix-xx.xx.xx.12
 
Old 09-20-2016, 09:56 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by harish-mn View Post
Thanks for ur quick reply TB0ne
AGAIN...you need to read the LQ Rules. DO NOT use text speak.
Quote:
There is no error in log

[root@xxx ~]# tail -f /var/log/maillog
Sep 20 12:59:26 I postfix/smtp[11947]: 637F62006179BA: to=<harish-sm@outlook.com>, relay=mx2.hotmail.com[65.55.33.119]:25, delay=2.4, delays=0.03/0.01/0.6/1.7, dsn=2.0.0, status=sent (250 <20160920125924.637F62006179BA@host.xxxxxxx.com> Queued mail for delivery)
Sep 20 12:59:26 I postfix/cleanup[11945]: BA6CE2006179C2: message-id=<20160920125926.BA6CE2006179C2@host.xxxxxxx.com>
Sep 20 12:59:26 I postfix/bounce[11948]: 637F62006179BA: sender delivery status notification: BA6CE2006179C2
Sep 20 12:59:26 I postfix/qmgr[11754]: BA6CE2006179C2: from=<>, size=2188, nrcpt=1 (queue active)
Sep 20 12:59:26 I postfix/qmgr[11754]: 637F62006179BA: removed
Sep 20 12:59:26 I postfix/local[11949]: BA6CE2006179C2: to=<root@xxxxxxx.com>, relay=local, delay=0.01, delays=0/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
Sep 20 12:59:26 I postfix/qmgr[11754]: BA6CE2006179C2: removed
Sep 20 13:14:30 I postmulti[12163]: fatal: Invalid '-e' edit action 'destory'. Specify 'create', 'destroy', 'import', 'deport', 'enable', 'disable', 'assign', 'init' or 'destory'
Sep 20 13:17:04 I postfix-xx.xx.xx.12/postfix-script[12590]: refreshing the Postfix mail system
Sep 20 13:17:04 I postfix-xx.xx.xx.12/master[11835]: reload -- version 2.10.1, configuration /etc/postfix-xx.xx.xx.12
...because you DID NOT look in the right place, did you??? Go back and re-read what you posted in your first message. Did it say to look in /var/log/maillog? Or did it plainly say "See "systemctl status opendkim.service" and "journalctl -xe" for details."

Did you actually TRY running "journalctl -xe", as it said, and as it was suggested to you????
 
Old 09-20-2016, 12:53 PM   #5
harish-mn
Member
 
Registered: Sep 2016
Posts: 37

Original Poster
Rep: Reputation: Disabled
Sorry TB0ne
I shared the wrong information(/tail -f /var/log/maillog)

In systemctl status opendkim.service.i found the errors but i dont know how can i solve this issues.please guid me

[root@xxxx ~]# systemctl status opendkim.service
● opendkim.service - DomainKeys Identified Mail (DKIM) Milter
Loaded: loaded (/usr/lib/systemd/system/opendkim.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2016-09-20 12:09:47 UTC; 11s ago
Docs: manpendkim(8)
manpendkim.conf(5)
manpendkim-genkey(8)
manpendkim-genzone(8)
manpendkim-testadsp(8)
manpendkim-testkey
http://www.opendkim.org/docs.html
Process: 11220 ExecStart=/usr/sbin/opendkim $OPTIONS (code=exited, status=78)

Sep 20 12:09:47 xxxxxxx.com systemd[1]: Starting DomainKeys Identified Mail (DKIM) Milter...
Sep 20 12:09:47 xxxxxxx.com opendkim[11220]: opendkim: /etc/opendkim.conf: refile:/etc/opendkim/signingTable: dkimf_db_open(): No such file or directory
Sep 20 12:09:47 xxxxxxx.com systemd[1]: opendkim.service: control process exited, code=exited status=78
Sep 20 12:09:47 xxxxxxx.com systemd[1]: Failed to start DomainKeys Identified Mail (DKIM) Milter.
Sep 20 12:09:47 xxxxxxx.com systemd[1]: Unit opendkim.service entered failed state.
Sep 20 12:09:47 xxxxxxx.com systemd[1]: opendkim.service failed.
 
Old 09-20-2016, 01:00 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by harish-mn View Post
Sorry TB0ne
I shared the wrong information(/tail -f /var/log/maillog)

In systemctl status opendkim.service.i found the errors but i dont know how can i solve this issues.please guid me

[root@xxxx ~]# systemctl status opendkim.service
● opendkim.service - DomainKeys Identified Mail (DKIM) Milter
Loaded: loaded (/usr/lib/systemd/system/opendkim.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2016-09-20 12:09:47 UTC; 11s ago
Docs: manpendkim(8)
manpendkim.conf(5)
manpendkim-genkey(8)
manpendkim-genzone(8)
manpendkim-testadsp(8)
manpendkim-testkey
http://www.opendkim.org/docs.html
Process: 11220 ExecStart=/usr/sbin/opendkim $OPTIONS (code=exited, status=78)

Sep 20 12:09:47 xxxxxxx.com systemd[1]: Starting DomainKeys Identified Mail (DKIM) Milter...
Sep 20 12:09:47 xxxxxxx.com opendkim[11220]: opendkim: /etc/opendkim.conf: refile:/etc/opendkim/signingTable: dkimf_db_open(): No such file or directory
Sep 20 12:09:47 xxxxxxx.com systemd[1]: opendkim.service: control process exited, code=exited status=78
Sep 20 12:09:47 xxxxxxx.com systemd[1]: Failed to start DomainKeys Identified Mail (DKIM) Milter.
Sep 20 12:09:47 xxxxxxx.com systemd[1]: Unit opendkim.service entered failed state.
Sep 20 12:09:47 xxxxxxx.com systemd[1]: opendkim.service failed.
AGAIN, you are not paying attention.
  • The error message you first posted gave you a journalctl command to run...DID YOU RUN IT???? THAT is the log information that you need
  • THIS error message gives you a VERY clear message, about not being able to find the file or directory. DID YOU CHECK TO SEE IF THEY WERE THERE???
  • You were handed a link with instructions about how to configur DKIM with postfix for multiple domains...DID YOU READ/FOLLOW/UNDERSTAND IT????
You have been 'guided' several times now...if you're not going to read the messages, follow suggestions, or pay attention to VERY obvious things, what's the point in posting?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OPENDKIM problems in centos nibraz Linux - Server 1 03-11-2016 08:53 AM
OPENDKIM installation error stimpack Linux - Newbie 1 08-28-2014 10:36 AM
LXer: Using OpenDKIM to Sign Postfix Mails on Debian LXer Syndicated Linux News 0 05-15-2013 04:20 AM
[SOLVED] on restarting opendkim service, keys are generating sharadchhetri Linux - Server 1 02-18-2013 05:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration