On Wed, 25 Mar 2009 15:14:17 +0100, Raven wrote:

> On Wed, 2009-03-25 at 11:03 +0000, Thomas Mueller wrote:
>> On Wed, 25 Mar 2009 11:16:33 +0100, Raven wrote:
>> 
>> > On Wed, 2009-03-25 at 06:56 +0000, Thomas Mueller wrote:
>> >> On Tue, 24 Mar 2009 23:58:52 +0100, Raven wrote:
>> >> 
>> >> > Hi all.
>> >> > I am trying to make amavis sign outgoing emails with DKIM. I
>> >> > followed step by step the explanation on Amavis' page but could
>> >> > not get it to work.
>> >> > 
>> >> > I was able to generate the cert (I am using the same for various
>> >> > domains) correctly and make amavis see it. I also get a "pass"
>> >> > result when I test the domains.
>> >> > Unfortunately no outgoing mails is signed. It doesn't matter where
>> >> > it comes from (webmail, localnet or SMTP-AUTH), the signature just
>> >> > does not get appended. I do not have any policy banks (I even
>> >> > tried making one for 0.0.0.0/0 with originating=1 but that didn't
>> >> > change). Amavis is 1:2.6.1.dfsg-2 running on debian testing. Any
>> >> > ideas?
>> >> 
>> >> try to start amavisd in debug mode:
>> >> 
>> >> /etc/init.d/amavis stop
>> >> /etc/init.d/amavis debug 2>&1 | tee /tmp/amavis-debug.log
>> >> 
>> >> - Thomas
>> >> 
>> >> 
>> > Here's what happens when I send:
>> > 
>> > Mar 25 11:13:10.210 dsrv.domain.com /usr/sbin/amavisd-new[14901]:
>> > (14901-01) header: Received: from mail.domain.com ([127.0.0.1])\n\tby
>> > localhost (dsrv.domain.com [127.0.0.1]) (amavisd-new, port 10024)\n
>> > \twith ESMTP id 6+wL09Gvb4q9 for <x...@yahoo.com>;\n\tWed, 25 Mar 2009
>> > 11:13:09 +0100 (CET)\n
>> > Mar 25 11:13:10.211 dsrv.domain.com /usr/sbin/amavisd-new[14901]:
>> > (14901-01) headers CLUSTERING: done all 1 recips in one go Mar 25
>> > 11:13:10.213 dsrv.domain.com /usr/sbin/amavisd-new[14901]: (14901-01)
>> > dkim: not signing inbound maill

I looked up the code for "dkim: not signing inbound mail". this happens 
if originating is not set to 1. it only checks originating and not the 
receiver (maybe this message is wrong and should be "dkim: originating 
flag not set"?)

the full log (amavis and postfix) would maybe help (egrep "(amavis|
postfix)" /var/log/mail.log) to see what is really going on. 

and/or also full debug log of "/etc/init.d/amavis debug" and not just the 
few lines. 

copy to http://pastebin.com/

- Thomas


------------------------------------------------------------------------------
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to