Hello,

SM pisze:

In your dkim-filter.conf file, set the domains to be signed as follows:

Domain szalbot.homedns.org,domszalbot.dyndns.org

This is what I had.


You could define the domains with the milterdkim_domain setting.

Emails sent through the MSA port or using SMTP AUTH will be signed if the email address matches the signing domains as defined by the keylist.

The following setting logs why the message gets signed or verified.
  LogWhy Yes


I am not sure why no logging is enabled even though I set it on.


$ cat /usr/local/etc/mail/dkim-filter.conf |grep -v "#"
AutoRestart             Yes
AutoRestartCount        5
Domain                  szalbot.homedns.org,domszalbot.dyndns.org
KeyList         /var/db/domainkeys/keylist
Mode                    s
PidFile         /var/run/milterdkim/signer.pid
RemoveOldSignatures     Yes
SignatureAlgorithm      rsa-sha1
Socket                  inet:[EMAIL PROTECTED]
Syslog          Yes
LogWhy          Yes
SyslogFacility  mail
 SyslogSuccess          yes
X-Header                Yes

Apr 29 12:31:42 szalbot postfix/pickup[12503]: 27F0A28463: uid=80 from=<[EMAIL PROTECTED]> Apr 29 12:31:42 szalbot postfix/cleanup[12991]: 27F0A28463: message-id=<[EMAIL PROTECTED]> Apr 29 12:31:42 szalbot postfix/qmgr[5609]: 27F0A28463: from=<[EMAIL PROTECTED]>, size=649, nrcpt=1 (queue active) Apr 29 12:31:42 szalbot dovecot: IMAP([EMAIL PROTECTED]): Disconnected: Logged out Apr 29 12:31:42 szalbot postfix/smtpd[12997]: connect from localhost[127.0.0.1] Apr 29 12:31:42 szalbot postfix/smtpd[12997]: CD7A828466: client=localhost[127.0.0.1] Apr 29 12:31:42 szalbot postfix/cleanup[12991]: CD7A828466: message-id=<[EMAIL PROTECTED]> Apr 29 12:31:42 szalbot postfix/qmgr[5609]: CD7A828466: from=<[EMAIL PROTECTED]>, size=1086, nrcpt=1 (queue active) Apr 29 12:31:42 szalbot postfix/smtpd[12997]: disconnect from localhost[127.0.0.1] Apr 29 12:31:43 szalbot postfix/smtp[12994]: 27F0A28463: to=<[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.9, delays=0.11/0.05/0.01/0.73, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=04206-08, from MTA: 250 2.0.0 Ok: queued as CD7A828466)
Apr 29 12:31:43 szalbot postfix/qmgr[5609]: 27F0A28463: removed
Apr 29 12:31:43 szalbot dovecot: imap-login: Login: user=<[EMAIL PROTECTED]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS Apr 29 12:31:43 szalbot dovecot: IMAP([EMAIL PROTECTED]): Disconnected: Logged out Apr 29 12:31:43 szalbot postfix/smtp[12998]: certificate verification failed for tau6.ceti.pl[62.121.128.16]:25: untrusted issuer /C=PL/ST=Malopolska/L=Krakow/O=CETI/OU=CETI/CN=CETI/[EMAIL PROTECTED] Apr 29 12:31:44 szalbot dovecot: imap-login: Login: user=<[EMAIL PROTECTED]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS Apr 29 12:31:44 szalbot dovecot: IMAP([EMAIL PROTECTED]): Disconnected: Logged out Apr 29 12:31:45 szalbot postfix/smtp[12998]: CD7A828466: to=<[EMAIL PROTECTED]>, relay=tau6.ceti.pl[62.121.128.16]:25, delay=2.9, delays=0.12/0.11/0.39/2.3, dsn=2.0.0, status=sent (250 Ok: queued as 9EFA438015)
Apr 29 12:31:45 szalbot postfix/qmgr[5609]: CD7A828466: removed

Many thanks for further suggestions.

BTW - in the meantime I upgraded to dkim-milter-2.5.3, so the above tests were done with this version.


--
Zbigniew Szalbot
www.lc-words.com

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
dkim-milter-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss

Reply via email to