RE: outgoing mail not sent since installing opendkim (I'm running centos 6.3 with Plesk)

From: Tracy Wise <tracywise_at_hotmail.com>
Date: Thu, 17 Jan 2013 11:21:16 +0000

Please pardon me, I did not realize that my last two replies did not go to the mailing list. Simply using the Reply button in Hotmail only replies to the sender, not the list. I'll be more careful from now on. I very much appreciate the help. Here is a resend of my last message, now sending to the list.
-----------------------------
> Date: Thu, 17 Jan 2013 00:58:21 -0800
> To: tracywise_at_hotmail.com
> From: sm_at_resistor.net
> Subject: RE: outgoing mail not sent since installing opendkim (I'm running centos 6.3 with Plesk)
>
> Hi Tracy,
> At 00:44 17-01-2013, Tracy Wise wrote:
> >I removed those lines as you requested (and did "postfix reload")
> >and now my emails are going out just as before (but of course
> >without any dkim signing).
> >
> >Does that help you reach any conclusion?
>
> Adding the OpenDKIM milter caused the problem. The next step is to
> configure OpenDKIM and start it. There should be entries in the
> maillog when OpenDKIM is started. If you do not have that, there's a
> logging problem. It's better, in my opnion, to solve that before
> proceeding further.
>
> If OpenDKIM started correctly, enable the milter in your Postfix
> configuration and send an email. There should been entries in the
> maillog to show what is happening. I suggest verifying whether you
> have the following entries in yoru DKIm configuration file:
>
> Syslog Yes
> LogWhy Yes
>
> Regards,
> -sm
>

Well thanks again SM.
When I restart the service opendkim I get a FAILED notice regarding it being stopped, but then an OK notice regarding it being started. I don't know if the failed notice matters, since it successfully starts. (I noticed that before also, but failed to mention it in my original email.) Here is the exact output when I do "service opendkim restart":
Stopping OpenDKIM Milter: [FAILED]Starting OpenDKIM Milter: [ OK ]
As for logging, yes Syslog and LogWhy are indeed set to yes in opendkim.conf.
I had a heck of a time finding the correct location of the maillog but just now found it. Apparently Plesk moves a lot of things. The correct location is:
/usr/local/psa/var/log/maillog
And it's 7GB and growing every second. Now closer to 8GB as I'm typing this. Like it's about to explode.
It's logging these two messages many times per second:
Jan 17 05:46:07 webcamchurch opendkim[24690]: smfi_opensocket() failedJan 17 05:46:07 webcamchurch opendkim[24692]: OpenDKIM Filter: Unable to bind to port inet:8891_at_localhost: Address already in use
Okay now I just did "service opendkim stop" to try to stop the logging (coz now it's almost 9 GB and growing) but as I mentioned earlier, the service won't stop so the logging continues.
I think I urgently need to stop it.
Okay now I tried re-adding the lines to the postfix config file to re-enable the milter, and I did "postfix reload". But the log file is still growing with the same messages. Should I do "rm -r maillog"? I think I'm going to have a disk space problem today if this continues at this rate.
Well at least we're narrowing down the issue, thanks to you and Murray. Thanks so much!
Tracy
Received on Thu Jan 17 2013 - 11:21:29 PST

This archive was generated by hypermail 2.3.0 : Thu Jan 17 2013 - 11:27:02 PST