On 3/16/2013 2:51 PM, patrick.proniew...@free.fr wrote: > Hello, > > I have a small problem with my postfix/dkim setup: > > - dkim properly sign every emails I send via my webmail frontend, crontab, or > the mail command from the server. > - dkim won't sign emails I send from my workstation to my server via an ssh > tunnel.
Have you tried submitting mail from 127.0.0.1 via SMTP without the tunnel? I'm guessing that doesn't work either, meaning the question can be rephrased "works from non-smtpd, doesn't work with smtpd". > main.cf reads: > > smtpd_milters = unix:/var/milter-greylist/milter-greylist.sock > inet:127.0.0.1:8891 > non_smtpd_milters = inet:127.0.0.1:8891 You should check your "postconf -n" output to see if it contains these same settings. The list welcome message asks for "postconf -n" output, not main.cf snippings. Assuming your dkim milter is on inet:127.0.0.1:8891, it appears to be included in both smtpd and non-smtpd mail. Since it's not working with smtpd mail, that strongly suggests a configuration problem with your dkim milter. Check your dkim configuration to make sure mail from localhost will be signed. Check the docs for your dkim software. -- Noel Jones