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 > > > > Why is amavis not considering the mail as locally originated? > > what is your configuration in /etc/amavis/conf.d/50-user ? are you using > postfix? if yes, is smtp_send_xforward enabled? > > IMHO inbound means local mailadress sends to local mailaddress, so it > seems that both are "$local_domains_acl" (or if you use ldap: they are > found there).
I am indeed using postfix and the xforward is enable in master.cf This is my 50-user $pax='pax'; $sa_tag_level_deflt = undef; $mydomain = 'domain.com'; # Add X-Virus-Scanned header field to mail? $X_HEADER_TAG = 'X-Virus-Scanned'; # (default: undef) # Leave empty to add no header # (default: undef) $X_HEADER_LINE = "by amavisd-new at mail.vp44.net"; $remove_existing_x_scanned_headers = 0; # leave existing X-Virus-Scanned alone $remove_existing_spam_headers = 0; # remove existing spam headers if #$sa_local_tests_only = 0; #...@mynetworks = qw( 0.0.0.0/0 ); #$policy_bank{'MYNETS'} = { # clients in @mynetworks #originating => 1, #smtpd_discard_ehlo_keywords => ['8BITMIME'], #}; @local_domains_maps = ( [ ".$mydomain", '.domain2.com'] ); -RV ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ 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/