[Rspamd-Users] dkim_signing question
L. Jankok
ljankok at gmail.com
Wed Apr 10 06:16:21 UTC 2019
I moved allow_username_mismatch before the path. selector and sign_network
maps and kept %u with. dovecot, all good :)
Op di 9 apr. 2019 om 10:59 schreef Vsevolod Stakhov <vsevolod at rspamd.com>:
> On 09/04/2019 08:03, L. Jankok wrote:
> > Op ma 8 apr. 2019 om 13:15 schreef L. Jankok <ljankok at gmail.com>:
> >
> >> How can I make rspamd ignore that username doesn't have a domain and
> >> instead use the domaina.net?
> >>
> >>
> >> I already have "allow_username_mismatch = true;" but this doesn't catch
> >> the situation where the domain is "null"
> >>
> >>
> >> 2019-04-08 07:25:37 #6806(rspamd_proxy) <f96f8b>; dkim_signing;
> >> lua_dkim_tools.lua:144: user is authenticated
> >>
> >> 2019-04-08 07:25:37 #6806(rspamd_proxy) <f96f8b>; dkim_signing;
> >> lua_dkim_tools.lua:244: use domain(header) for signature: domaina.net
> >>
> >> 2019-04-08 07:25:37 #6806(rspamd_proxy) <f96f8b>; dkim_signing;
> >> lua_dkim_tools.lua:263: final DKIM domain: domaina.net
> >>
> >> 2019-04-08 07:25:37 #6806(rspamd_proxy) <f96f8b>; dkim_signing;
> >> lua_dkim_tools.lua:278: couldnt find domain in username
> >>
> >>
> >> Regards,
> >>
> >>
> >> LJ
> >>
> >>
> > Solution is to include this in dovecot:
> >
> > auth_username_format = %u
> >
>
> Actually, allow_username_mismatch should be enough to disable this
> warning:
> https://github.com/rspamd/rspamd/blob/master/lualib/lua_dkim_tools.lua#L276
>
> I don't understand how line 278 could ever be reached if this option is
> `true`.
> --
> Users mailing list
> Users at lists.rspamd.com
> https://lists.rspamd.com/mailman/listinfo/users
>
More information about the Users
mailing list