i tried changing that but still no progress On June 9, 2018 12:32:54 AM UTC, Reio Remma <r...@mrstuudio.ee> wrote: >On 09.06.2018 2:39, flipchan wrote: >> >> Hello , >> im having troubles configuring dkim to sign msgs with >> opensmtpd, i can send emails with dkim it just loops it >> and breaks >> >> log: >> Jun 8 20:36:21 mail smtpd[63656]: 1488dfc121f5364b smtp >> event=connected address=myip host=myhost >> Jun 8 20:36:22 mail smtpd[63656]: 1488dfc121f5364b smtp >event=starttls >> address=myip host=myhost ciphers="version=TLSv1.2, >> cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256" >> Jun 8 20:36:22 mail smtpd[63656]: 1488dfc121f5364b smtp >> event=authentication user=testuser address=myip host=myhost result=ok >> Jun 8 20:36:23 mail smtpd[63656]: 1488dfc121f5364b smtp event=message > >> address=myip host=myhost msgid=38888f9e from=<testu...@mydomain.com> >> to=<flipc...@mydomain2.com> size=556 n >> dest=1 proto=ESMTP >> Jun 8 20:36:23 mail smtpd[63656]: 1488dfc4e9e0ccb5 mta >> event=connecting address=smtp://127.0.0.1:10027 host=localhost >> Jun 8 20:36:23 mail smtpd[63656]: 1488dfc4e9e0ccb5 mta >event=connected >> Jun 8 20:36:23 mail smtpd[63656]: 1488dfc54676e1ec smtp >> event=connected address=127.0.0.1 host=localhost >> Jun 8 20:36:23 mail dkimproxy.out[76617]: DKIM signing - signed; >> message-id=<b20c9539-17cd-46ff-90ba-cf0f9de2f...@mydomain.com>, >> signer=<testu...@mydomain.com>, from=<testu...@mydomain.com> >> Jun 8 20:36:23 mail smtpd[63656]: 1488dfc121f5364b smtp event=closed >> address=myip host=myhost reason=quit >> Jun 8 20:36:23 mail smtpd[63656]: 1488dfc54676e1ec smtp event=message > >> address=127.0.0.1 host=localhost msgid=3737cdb6 >> from=<testu...@mydomain.com> to=<flipc...@mydomain2.com> size=2536 >> ndest=1 proto=ESMTP >> Jun 8 20:36:23 mail smtpd[63656]: 1488dfc4e9e0ccb5 mta event=delivery > >> evpid=38888f9efd1e5cb1 from=<testu...@mydomain.com> >> to=<flipc...@mydomain2.com> rcpt=<-> source="127.0.0.1" >> relay="127.0.0.1 (localhost)" >> delay=1s result="Ok" stat="250 2.0.0: 3737cdb6 Message accepted for >> delivery" >> Jun 8 20:36:24 mail dkimproxy.out[76617]: DKIM signing - signed; >> message-id=<b20c9539-17cd-46ff-90ba-cf0f9de2f...@mydomain.com>, >> signer=<testu...@mydomain.com>, from=<testu...@mydomain.com> >> Jun 8 20:36:24 mail smtpd[63656]: 1488dfc54676e1ec smtp event=message > >> address=127.0.0.1 host=localhost msgid=47f3b370 >> from=<testu...@mydomain.com> to=<flipc...@mydomain2.com> size=4516 >> ndest=1 proto=ESMTP >> Jun 8 20:36:24 mail smtpd[63656]: 1488dfc4e9e0ccb5 mta event=delivery > >> evpid=3737cdb6c6f4cceb from=<testu...@mydomain.com> >> to=<flipc...@mydomain2.com> rcpt=<-> source="127.0.0.1" >> relay="127.0.0.1 (localhost)" >> delay=1s result="Ok" stat="250 2.0.0: 47f3b370 Message accepted for >> delivery" >> >> >> >> this must be a smtpd.conf error, here is my configuration: >> # $OpenBSD: smtpd.conf,v 1.9 2016/05/03 18:43:45 jung Exp $ >> >> # This is the smtpd server system-wide configuration file. >> # See smtpd.conf(5) for more information. >> >> pki mail.mydomain.com certificate "/etc/ssl/mail.mydomain.com.crt" >> pki mail.mydomain.com key "/etc/ssl/private/mail.mydomain.com.key" >> >> queue compression >> queue encryption key a2410ef405aa1d6e7592091f21092abe >> >> >> table aliases file:/etc/mail/aliases >> >> >> #listen on lo0 >> ##listen on vio0 port 25 tls pki mail.mydomain.com >> #listen on 0.0.0.0 port 25 tls pki mail.mydomain.com >> >> listen on lo0 >> >> listen on lo0 port 10028 tag DKIM_OUT >> >> #listen on lo0 port 10028 tag DKIM hostname mydomain.com >> listen on vio0 port 25 hostname mydomain.com tls pki >mail.mydomain.com >> listen on vio0 port 587 hostname mydomain.com tls-require pki >> mail.mydomain.com auth mask-source >> >> max-message-size 50M >> >> # >> >> #DKIM >> #listen on lo0 port 10028 tag DKIM >> #accept tagged DKIM for any relay >> #accept from local for any relay via smtp://127.0.0.1:10027 >> >> #accept tagged DKIM for any relay source externalip hostname >mydomain.com >> # Uncomment the following to accept external mail for domain >"example.org" >> # >> >> accept from any for domain "mydomain.com" alias <aliases> deliver to >mbox >> accept for local alias <aliases> deliver to mbox >> accept tagged DKIM for any relay >> accept from local for any relay via smtp://127.0.0.1:10027 >> >> >> #accept tagged DKIM_OUT from any for any relay >> #accept for any relay via smtp://127.0.0.1:10027 >> >> #listen on lo0 port 10028 tag DKIM >> #accept tagged DKIM for any relay >> #accept from local for any relay via smtp://127.0.0.1:10027 >> >> >> Can anyone see something i dont? what am i doing wrong? > >You're tagging as DKIM_OUT, but matching as DKIM. > >Possibly. > >Good luck, >Reio > >-- >You received this mail because you are subscribed to misc@opensmtpd.org >To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
-- Take Care Sincerely flipchan layerprox dev