Variables in the template postauth.txt are not substituted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Invalid
|
Medium
|
Unassigned |
Bug Description
The template file postauth.txt contains:
> As list administrator, your authorization is requested for thefollowing
> mailing list posting:
> List: %(listname)
> %(subject)s Reason: %(reason)s
>
> At your convenience, visit:
> %(admindb_url)s
> to approve or deny the request.
When an email is sent to the administrator, the variables are of course
supposed to be substituted with their respective values. THis didn't
happen, however. I cannot think of another explanation than a bug. My
Mailman version is 2.1.8. In this case, I'm using Finnish versions of the
templates (modified by me), but that shouldn't affect this, I think.
[http://
Originator: NO
Perhaps the 'bug' is in your modified template. It seems to me that your
modification of the template is the most likely cause of this.
Have you changed the substitution strings %(listname)s, %(hostname)s, etc.
in any way? If you change anything in these strings, they will cease to
work.
Please check for
lists/< listname> /fi/postauth. txt <list.host_ name>/fi/ postauth. txt site/fi/ postauth. txt fi/postauth. txt
templates/
templates/
templates/
The first of these that exists is the Finnish template that will be used. maketext( 'postauth. txt', d, raw=1, mlist=mlist), Handlers/ Hold.py has been changed.
Review that template, and if you can't find a problem there, I don't know
where it can be unless somehow the call to
Utils.
in Mailman/