[Mailman-Users] (no subject)

2021-02-05 Thread Lars Bjørndal
Hi, list!

What does this error message, from /var/log/mailman/error means:

Feb 04 13:33:04 2021 (1289) Uncaught runner exception: 'list' object has no 
attribute 'splitlines'
Feb 04 13:33:04 2021 (1289) Traceback (most recent call last):
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 119, in _oneloop
self._onefile(msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 190, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in 
_dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
  File "/usr/lib/mailman/Mailman/Handlers/Hold.py", line 159, in process
not mlist.HasExplicitDest(msg) and \
  File "/usr/lib/mailman/Mailman/MailList.py", line 1566, in HasExplicitDest
aliases = self.acceptable_aliases.splitlines()
AttributeError: 'list' object has no attribute 'splitlines'

Feb 04 13:33:04 2021 (1289) SHUNTING: 
1612441983.547279+307df38e5cee54b2402dff84906a4f3ab88755d3

Lars
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Invalid acceptable_aliases - was: (no subject)

2021-02-05 Thread Mark Sapiro
On 2/5/21 12:25 AM, Lars Bjørndal wrote:
> Hi, list!
> 
> What does this error message, from /var/log/mailman/error means:
> 
> Feb 04 13:33:04 2021 (1289) Uncaught runner exception: 'list' object has no 
> attribute 'splitlines'
> Feb 04 13:33:04 2021 (1289) Traceback (most recent call last):
>   File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 119, in _oneloop
> self._onefile(msg, msgdata)
>   File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 190, in _onefile
> keepqueued = self._dispose(mlist, msg, msgdata)
>   File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in 
> _dispose
> more = self._dopipeline(mlist, msg, msgdata, pipeline)
>   File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in 
> _dopipeline
> sys.modules[modname].process(mlist, msg, msgdata)
>   File "/usr/lib/mailman/Mailman/Handlers/Hold.py", line 159, in process
> not mlist.HasExplicitDest(msg) and \
>   File "/usr/lib/mailman/Mailman/MailList.py", line 1566, in HasExplicitDest
> aliases = self.acceptable_aliases.splitlines()
> AttributeError: 'list' object has no attribute 'splitlines'
> 
> Feb 04 13:33:04 2021 (1289) SHUNTING: 
> 1612441983.547279+307df38e5cee54b2402dff84906a4f3ab88755d3

It means that the list's acceptable_aliases value is a list and not a
string. How did you set it? It should be something like
'alias_1\nalias_2\nalias3' rather than ['alias_1', 'alias_2', 'alias_3']

The message that encountered this error was shunted to Mailman's
qfiles/shunt/ directory, and after the list's acceptable_aliases is
fixed, can be unshunted via Mailman's bin/unshunt, but before running
unshunt you should ensure there are no unwanted messages in
qfiles/shunt/ via, e.g., Mailman's bin/show_qfiles qfiles/shunt/*.pck

If there are unwanted messages, just remove them or move them aside
before running unshunt.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Error message in log

2021-02-05 Thread Lars Bjørndal
Hi, list!

I got information from a subscriber to one of the lists I'm hosting,
that hhis emails doesn't reach the list. I notice that I have an error
message in the /var/log/mailman/error.

What does this error message means:

Feb 04 13:33:04 2021 (1289) Uncaught runner exception: 'list' object has no 
attribute 'splitlines'
Feb 04 13:33:04 2021 (1289) Traceback (most recent call last):
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 119, in _oneloop
self._onefile(msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 190, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in 
_dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
  File "/usr/lib/mailman/Mailman/Handlers/Hold.py", line 159, in process
not mlist.HasExplicitDest(msg) and \
  File "/usr/lib/mailman/Mailman/MailList.py", line 1566, in HasExplicitDest
aliases = self.acceptable_aliases.splitlines()
AttributeError: 'list' object has no attribute 'splitlines'

Feb 04 13:33:04 2021 (1289) SHUNTING: 
1612441983.547279+307df38e5cee54b2402dff84906a4f3ab88755d3

What can I do to fix it?

Thanks,
Lars
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Error message in log

2021-02-05 Thread Mark Sapiro
On 2/5/21 11:58 AM, Lars Bjørndal wrote:
> Hi, list!
> 
> I got information from a subscriber to one of the lists I'm hosting,
> that hhis emails doesn't reach the list. I notice that I have an error
> message in the /var/log/mailman/error.
> 
> What does this error message means:
> 
> Feb 04 13:33:04 2021 (1289) Uncaught runner exception: 'list' object has no 
> attribute 'splitlines'
> Feb 04 13:33:04 2021 (1289) Traceback (most recent call last):
>   File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 119, in _oneloop
> self._onefile(msg, msgdata)
>   File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 190, in _onefile
> keepqueued = self._dispose(mlist, msg, msgdata)
>   File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in 
> _dispose
> more = self._dopipeline(mlist, msg, msgdata, pipeline)
>   File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in 
> _dopipeline
> sys.modules[modname].process(mlist, msg, msgdata)
>   File "/usr/lib/mailman/Mailman/Handlers/Hold.py", line 159, in process
> not mlist.HasExplicitDest(msg) and \
>   File "/usr/lib/mailman/Mailman/MailList.py", line 1566, in HasExplicitDest
> aliases = self.acceptable_aliases.splitlines()
> AttributeError: 'list' object has no attribute 'splitlines'
> 
> Feb 04 13:33:04 2021 (1289) SHUNTING: 
> 1612441983.547279+307df38e5cee54b2402dff84906a4f3ab88755d3
> 
> What can I do to fix it?

See my reply to your earlier post at



-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Invalid acceptable_aliases - was: (no subject)

2021-02-05 Thread Lars Bjørndal
Thanks a lot!

[Mark Sapiro]

[...]

> It means that the list's acceptable_aliases value is a list and not a
> string. How did you set it? It should be something like
> 'alias_1\nalias_2\nalias3' rather than ['alias_1', 'alias_2', 'alias_3']

Thank you. However, in the message here:

http://mailman.9.n7.nabble.com/acceptable-aliases-multiple-addresses-td51197.html

I got the impression that it should be a list.

Now it works, thank you!

Thank you for all other info about how to rescue as well!

Lars
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Invalid acceptable_aliases - was: (no subject)

2021-02-05 Thread Mark Sapiro
On 2/5/21 1:29 PM, Lars Bjørndal wrote:
> 
> Thank you. However, in the message here:
> 
> http://mailman.9.n7.nabble.com/acceptable-aliases-multiple-addresses-td51197.html
> 
> I got the impression that it should be a list.


What I wrote at

was

> Via the web UI, just put the addresses only, one per line, no quotes, no
> commas in Privacy options... -> Recipient filters -> acceptable_aliases.
> 
> Via config_list, your example would be
> 
> acceptable_aliases = ['us...@example.com', 'us...@list.example.com']

That was correct as far as the web UI is concerned, but for config_list
it should have been

acceptable_aliases = """us...@example.com
us...@list.example.com"""

I was confused about the type of acceptable_aliases and didn't look it
up at the time.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/