[Rspamd-Users] v3.0 rspamd DMARC report code doesnt't load config

Kyle A. kyle at cci1986.com
Wed Sep 29 16:09:36 UTC 2021


Might be fixed(?).

This morning I was *still getting seg faults* from the V3.0 dmarc 
module.  I got this earlier:
[mailserver:/etc/rspamd/local.d root]# rspamadm dmarc_report -v
previous last report date is 1632842756
Process date 20210929
No reports for 20210929
Process date 20210928
No reports for 20210928
send data for 0 domains (from 1 to 0)
Segmentation fault (core dumped)  <<<--------- oops

I dumped my very generic config to paste here using "rspamadm configdump 
dmarc".  In various windows I was monitoring my redis keys using
redis-cli --stat
redis-cli monitor

I use the "key_prefix" parameter in my dmarc.conf, so I used that to my 
advantage:
redis-cli --scan --pattern 'dmarc_*'
dmarc_rpt;shelf-awareness.com;mailto:neil at shelf-awareness.com;20210929
dmarc_idx;20210929

What?  I was surprised there was a dmarc record!!!!  the first record 
since installing V3.0!!!!!

So I ran the report again and it worked for the first time without a seg 
fault since I upgraded to V3.0.

Is it fixed?  I don't know.  *I didn't change anything.*  I was just 
gathering information for this e-mail reply when it (magically) started 
working.  I'll try to remember to report back if it keeps working or if 
it fails again and I'm still having problems.

Thanks for the help so far.

Thanks,
Kyle

On 9/22/2021 2:32 PM, Kim Sindalsen via Users wrote:
> Sounds strange, works for me with a very basic local.d/dmarc.conf
> 
> actions = {
>          quarantine = "add_header";
>          reject = "reject";
> }
> reporting {
>    enabled = true
>    org_name = "vlh.dk";
>    domain = "vlh.dk";
>    email = "dmarc at vlh.dk";
>    smtp = "mail.vlh.dk";
>    smtp_port = 25;
>    helo = "mail.vlh.dk";
>    # Number of retries on temporary errors (2 if unset)
>    # retries = 2;
> }
> 
> mail ~ # rspamadm dmarc_report
> No reports for 20210921
> Reporting collection has finished 1 dates processed, 1 reports: 1 completed, 0 failed
> 
> Very low volume private mailserver 😊
> 
> 
> Kind regards,
> Kim Sindalsen
> 
>> -----Original Message-----
>> From: Users <users-bounces at lists.rspamd.com> On Behalf Of Kyle A.
>> Sent: 22. september 2021 19:52
>> To: users at lists.rspamd.com
>> Subject: Re: [Rspamd-Users] v3.0 rspamd DMARC report code doesnt't load
>> config
>>
>> No seg fault anymore, but this module seems broken:
>>
>> [mailserver:~ root]# rspamadm dmarc_report No reports for 20210922 No
>> reports for 20210921 [mailserver:~ root]#
>>
>> At least 1k more messages have been handled since my last post.  DMARC
>> reporting worked for us in all the 2.x versions.
>>
>> Thanks,
>> Kyle
> 


More information about the Users mailing list