Topic: [SOLVED] DKIM permissions error and not signing in authenticated users
Hi, I've installed iRedMail in several VPS and after installation and rebbot amavis is dwon with this error:
# service amavisd restart
Shutting down Mail Virus Scanner (amavisd): [FAILED]
Starting Mail Virus Scanner (amavisd): Error in config file "/etc/amavisd.conf": Can't open PEM file /var/lib/dkim/########.pem: Permission denied at /usr/sbin/amavisd line 551.
after givin permission to the file amavis starts correctly. Is this a bug in installation?
The other problem is signing mails, if I send a mail using a mail client with an authenticated account the message is not DKIM signed, but if Isend the message from localhost without authenticating the message is signed, how can I change the behaviour for signing all messages??
These are the message headers the first with an authenticated user using a mail client the second sent from localhost usin telnet to the 25 port:
Delivered-to: *****
Recibido: by ***** with SMTP id t15cs26868wet; Fri, 3 Jul 2009 08:54:24 -0700 (PDT)
Recibido: by ***** with SMTP id k8mr1394605bkq.117.1246636464213; Fri, 03 Jul 2009 08:54:24 -0700 (PDT)
Return-path: <info@*****>
Recibido: from ***** ([*****]) by ***** with ESMTP id 2si400038bwz.21.2009.07.03.08.54.21; Fri, 03 Jul 2009 08:54:21 -0700 (PDT)
Received-spf: neutral (*****: **** is neither permitted nor denied by best guess record for domain of info@*****) client-ip=*****;
Authentication-results: *****; spf=neutral (*****: ***** is neither permitted nor denied by best guess record for domain of info@*****) smtp.mail=info@*****
Recibido: from localhost (***** [*****]) by ***** (iRedMail) with ESMTP id 360B81AE8E56 for <*****>; Fri, 3 Jul 2009 15:54:21 +0000 (UTC)
X-virus-scanned: amavisd-new at *****
Recibido: from ***** ([127.0.0.1]) by localhost (**** [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20v66WS6s6jW for <****>; Fri, 3 Jul 2009 17:54:21 +0200 (CEST)
Recibido: from [192.168.0.120] (***** [*****]) by ***** (iRedMail) with ESMTPSA id 2E0F01AE8E50 for <*****>; Fri, 3 Jul 2009 17:47:59 +0200 (CEST)
Delivered-to: *****
Recibido: by ***** with SMTP id t15cs26460wet; Fri, 3 Jul 2009 08:42:28 -0700 (PDT)
Recibido: by ***** with SMTP id e15mr223982ebo.90.1246635748455; Fri, 03 Jul 2009 08:42:28 -0700 (PDT)
Return-path: <info@*****>
Recibido: from ***** ([*****]) by ***** with ESMTP id 6si6822199ewy.6.2009.07.03.08.42.26; Fri, 03 Jul 2009 08:42:26 -0700 (PDT)
Received-spf: neutral (*****: ***** is neither permitted nor denied by best guess record for domain of info@*****) client-ip=*****;
Authentication-results: *****; spf=neutral (*****: ***** is neither permitted nor denied by best guess record for domain of info@*****) smtp.mail=info@*****; dkim=neutral (no key) header.i=@*****
Recibido: from localhost (***** [127.0.0.1]) by ***** (iRedMail) with ESMTP id 7C838BC8004 for <*****>; Fri, 3 Jul 2009 15:42:26 +0000 (UTC)
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d= *****; h=to:from:date:message-id:subject: x-virus-scanned; s=dkim; t=1246635746; x=1247499746; bh=frcCV1k9 oG9oKj3dpUqdJg1PxRT2RSN/XKdLCPjaYaY=; b=tljmcyx8OWi9HoTyMRYa+y0Z 9pGBArLoO/oi3GvUW3iOCXLONs07xbldVj1Z4rxC/bIVfEETEAEYVCER8mp4jThM Mn0q4Rnnim9PdMx5FvgEYCeU2Jf53pXg+/tPVYvEhqG6qB0bDTOh1k0G5xSR7Fed PPjG+E8KbcRqjfTLGNs=
X-virus-scanned: amavisd-new at ****
X-amavis-alert: BAD HEADER SECTION, MIME error: error: unexpected end of header
Recibido: from ***** ([127.0.0.1]) by localhost (***** [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UDzqD70eFF-Q for <*****>; Fri, 3 Jul 2009 17:42:26 +0200 (CEST)
Recibido: from ***** (***** [127.0.0.1]) by ***** (iRedMail) with ESMTP id A4FC0BC8002 for <*****>; Fri, 3 Jul 2009 15:42:06 +0000 (UTC)
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.