Hello,

I am using amavisd-new-2.5.4,1 with maia mailguard and I would like to
include support for signing outgoing mail with DKIM. So to that end I did
the following (using
http://www.ijs.si/software/amavisd/amavisd-new-docs.html#dkim as a source
of reference):

1/ I created the keys for DKIM 

2/ I created the filter_10024_catchall filter /^/ FILTER
smtp-amavis:[127.0.0.1]:10024  

3/ I changed master.cf to include 127.0.0.1:10025 inet n - n - - smtpd 
-o content_filter= 
-o local_recipient_maps= 
-o relay_recipient_maps= 
-o smtpd_restriction_classes= 
-o smtpd_delay_reject=no 
-o smtpd_client_restrictions=permit_mynetworks,reject 
-o smtpd_helo_restrictions= 
-o smtpd_sender_restrictions= 
-o smtpd_recipient_restrictions=permit_mynetworks,reject 
-o mynetworks_style=host 
-o mynetworks=127.0.0.0/8 
-o strict_rfc821_envelopes=yes 
-o smtpd_error_sleep_time=0 
-o smtpd_soft_error_limit=1001 
-o smtpd_hard_error_limit=1000 
-o smtpd_client_connection_count_limit=0 
-o smtpd_client_connection_rate_limit=0 
-o
receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings

-o milter_default_action=accept 
-o milter_macro_daemon_name=ORIGINATING 
-o smtpd_milters=inet:127.0.0.1:4445 

4/ I changed main.cf to say content_filter=smtp-amavis:[127.0.0.1]:10026
and finally restarted postfix. 

When I try to send an email now, it says: 
Apr 4 07:45:18 szalbot postfix/smtpd[1336]: warning: connect to Milter
service inet:127.0.0.1:4445: Connection refused 

Any idea why? ps ax |grep dkim (could not copy all of the output so it's
trimmed) 

1674 ?? Is 0:00.02 /usr/local/libexec/dkim-filter -b v -C dns=a,int=a -l -p
inet:[EMAIL PROTECTED] -u dkimfilter -P /var/run/milterdkim/verifier.pid -d 

1682 ?? Is 0:00.02 /usr/local/libexec/dkim-filter -b s -c relaxed/simple -m
ORIGINATING -o - -C int=a -l -p inet:[EMAIL PROTECTED] -u dkimfilter -P /var

I would appreciate all your comments and advice.

Thanks!

Zbigniew Szalbot


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
AMaViS-user mailing list
[email protected]
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