[Mailman-Users] DMARC documentation lacking

Fil fil at rezo.net
Thu Apr 23 12:00:28 CEST 2015


>   > > 1) how to add a default value in mm_cfg.py
>  > > from the release notes I guess it's something like
>  > > DEFAULT_DMARC_MODERATION_ACTION = 1 # Munge
>  > >
>  >
>  > just to be clear: this line doesn't seem to bring anything to
>  > exiting lists, which behave normal unless I go and set up
>  > /mailman/admin/${LISTNAME}/?VARHELP=general/from_is_list
>
> That's normal behavior for Mailman configuration.  The "DEFAULT_"
> variables are used at list creation time only, I beleve.
>
> I suppose the rationale is that you really don't want all your
> existing lists to suddenly *change* behavior because you change the
> default.  Perhaps we could have a DEFAULT (for creation time) and a
> FALLBACK (for lists without a specific setting).
>

OK, makes sense :)

I really did want to change all my 700+ lists, so I wrote the configuration
directive to a file, then applied it to all lists:

echo "dmarc_moderation_action = 1" > dmarc1.cfg
for i in $(bin/list_lists -b); do
   echo $i;
   bin/config_list -i dmarc1.cfg "$i";
done

Hope this can help someone else :)

-- Fil


More information about the Mailman-Users mailing list