I'm running a Mailman 3.1.0 installation on a CentOS 7 machine. Using
RPMs from
https://repos.fedorapeople.org/repos/abompard/hyperkitty/el-7/x86_64/
I do have problems with some lists occasionally going into some kind of
shunt mode, where alla mails sent to them gets shunted. In the Mailman
log I get entries for each shunted email:
Mar 17 11:54:11 2017 (6217) Uncaught runner exception: Multiple rows
were found for one_or_none()
Mar 17 11:54:11 2017 (6217) Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/mailman/core/runner.py", line
171, in _one_iteration
self._process_one_file(msg, msgdata)
File "/usr/lib/python3.4/site-packages/mailman/core/runner.py", line
264, in _process_one_file
keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/lib/python3.4/site-packages/mailman/runners/pipeline.py",
line 37, in _dispose
process(mlist, msg, msgdata, pipeline)
File "/usr/lib/python3.4/site-packages/mailman/core/pipelines.py",
line 53, in process
handler.process(mlist, msg, msgdata)
File "/usr/lib/python3.4/site-packages/mailman/handlers/rfc_2369.py",
line 121, in process
process(mlist, msg, msgdata)
File "/usr/lib/python3.4/site-packages/mailman/handlers/rfc_2369.py",
line 70, in process
archiver_set = IListArchiverSet(mlist)
File "/usr/lib/python3.4/site-packages/zope/component/hookable.py",
line 33, in __call__
return self.__implementation(*args, **kw)
File "/usr/lib/python3.4/site-packages/zope/component/_api.py", line
156, in adapter_hook
return sitemanager.queryAdapter(object, interface, name, default)
File "/usr/lib64/python3.4/site-packages/zope/interface/registry.py",
line 348, in queryAdapter
return self.adapters.queryAdapter(object, interface, name, default)
File
"/usr/lib/python3.4/site-packages/mailman/database/transaction.py", line
85, in wrapper
return function(args[0], config.db.store, *args[1:], **kws)
File "/usr/lib/python3.4/site-packages/mailman/model/mailinglist.py",
line 607, in __init__
ListArchiver.name == archiver_name).one_or_none()
File "/usr/lib64/python3.4/site-packages/sqlalchemy/orm/query.py",
line 2733, in one_or_none
"Multiple rows were found for one_or_none()")
sqlalchemy.orm.exc.MultipleResultsFound: Multiple rows were found for
one_or_none()
Mar 17 11:54:11 2017 (6217) SHUNTING:
1489748051.1949184+7a59df19c81493cb419306d620376efc0e381819
And so far my Google-fu hasn't been good enough to give me any useful
answers to why this happens. If I dump one of the pickles using qfile I
cannot see any complaints.
Most of the times, if I remove and recreate a failing list and run
unshunt the shunted emails get processed and sent.
Anyone seen something similar?
Regards,
Anders Nilsson
--
Anders Nilsson, Ph.D. <andersn(a)control.lth.se>
Dep. of Automatic Control, Lund University
Phone: +46 (0)46 222 87 94, Fax: +46 (0)46 13 81 18
Mob: +46 (0)703 22 57 67
Hi,
I have of course activated password login as it was not possible to get the
provider based logins to work (might be but not worth the time for me right
now). Is there any way for an user to request a new password when it is
forgotten?
I presume that the Persona login is removed now. I cannot hide it in my
version or at least I do not know how.
cheers
// David
Hi again.
Allauth works for me... sometimes... For google logins it works most
of the time. For facebook it almost never works. When it does not
work, I get an error page with the error
"An error occurred while attempting to login via your social network
account." (or the equivalent in my locale). If I then reload the page,
I get logged in!
In some cases I get the error and the little green popup saying that I
am logged in at the same time. Strange.
So... If there is any documentation for how to set up or how to
troubleshoot django allauth I am all ears (eyes, really). I have
tested the "missing howto..." and updated version of that without
enough success.
Cheers
// David
The only thing I find is in the Apache log: (I have removed all
cryptovalues and other things that should be uninteresting to others)
[LOCAL_IP] - - [19/Apr/2017:00:00:39 +0000] "GET
/accounts/facebook/login/?process=login&next=%2Farchives%2F HTTP/1.1"
302 706 "https://lists.example.com/accounts/login/?next=/archives/"
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.15063"
[LOCAL_IP] - - [19/Apr/2017:00:00:53 +0000] "GET
/accounts/facebook/login/callback/?code=[LONG CRYPTO-LOOKING STRING]
HTTP/1.1" 200 2129
"https://www.facebook.com/login/reauth.php?app_id=[MY_APP_ID_I_THINK]&signed…"
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.15063"
Hi.
I found out that I had a broken email in one of my held messages
queues). That gave a HTTP 500 error although that should be fixed .
After some digging I found out that where the error occured.
I'd suggest adding a catch for AttributeError similar to the one for
KeyError in _HeldMessageBase in rest/post_moderation.py. It solved my
immediate problem at least. I run the version from git with the tag
263711b3b7988c7c474e3b8952dc7e0f02f04fa2
The message causing this was probably one where I had sent a minimal
email via telnet to the SMTP port and forgot the MessageID-header or
something similarily silly. But it prevented me from seeing the held
messages-list in postorius.
I have another question: In the old mailman you could add accepted
senders without adding them to the list. Is that possible in Mailman
3/Postorius?
cheers.
// David
I am trying to change my email address, but forgot password. The screen for
reset gets
502 Bad Gateway
------------------------------
nginx/1.4.6 (Ubuntu)
any way someone can fix this????
Hi Mark,
Excerpts from Mark Lindsay's message of April 20, 2017 5:37 pm:
<snip>
Here are some baffling lines from /var/log/exim4/mainlog from the incoming
> potato-leave(a)lists.mydomain.org email:
>
> 2017-04-21 00:25:03 1d1MNj-0007OQ-5r DKIM: d=nervous-org.20150623.
> gappssmtp.com s=20150623 c=relaxed/relaxed a=rsa-sha256 [verification
> succeeded]
> 2017-04-21 00:25:03 1d1MNj-0007OQ-5r <= redacted(a)nervous.org H=
> mail-qk0-f170.google.com [209.85.220.170] P=esmtp S=2466 id=
> CABPy5zyQtJHXtCgrN37GHCUOjuo3J=DO_j0ZD03zm8gk+4shww(a)mail.gmail.com
> 2017-04-21 00:25:03 1d1MNj-0007OQ-5r => potato(a)lists.mydomain.org <
> potato-leave(a)lists.mydomain.org> R=mailman3_router T=mailman3_transport
> H=localhost [127.0.0.1] C="250 Ok"
> 2017-04-21 00:25:03 1d1MNj-0007OQ-5r Completed
>
> Why does it say `potato(a)lists.mydomain.org <potato-leave(a)lists.mydomain.o
> rg
>
>> `?
>>
>
> I think this is actually an exim4 problem, so if the solution is to just
> switch to postfix, then I will definitely do that. But I'm just asking in
> case someone had a similar issue with exim4 and was able to work through
> it.
>
>
Yes, I had the exact same problem very recently and was able to fix it. The
updated documentation[1] should fix your problem. The basic gist of the
problem
is that the exim configuration on the older documentation is missing a
critical
part.
Exim4 by default strips off any prefixes/suffixes when delivering mail to
the
mailman, which causes mailman to post all the messages to mailing list
instead
of processing them as commands.
`rcpt_include_affixes = true`
Adding the above line to the transport fixes that problem.
[1]: https://mailman.readthedocs.io/en/latest/src/mailman/docs/mt
a.html#exim4-configuration
thanks,
Abhilash
Hi mailman-users,
I'm new to Mailman 3 and Mailman in general, but I've got it up and
running, and my external app is communicating quite well with the
administrative REST API.
Here's the only problem I haven't been able to figure out:
Say I have a list called "potato." List members can post to the list by
emailing potato(a)lists.mydomain.org. This works fine. However, incoming mail
for command addresses (e.g. potato-leave(a)lists.mydomain.org) is routed to
the list too. The command email gets sent out to all members, as if the
user who wanted to unsubscribe had just written to potato(a)lists.mydomain.org.
This is also the case with the potato-request(a)lists.mydomain.org address.
I am using exim4 on Ubuntu. I followed the instructions here:
http://mailman.readthedocs.io/en/release-3.0/src/mailman/docs/MTA.html. The
only change I had to make to the exim4 config files in the readthedocs
instructions was in this line:
MM3_LISTCHK=MM3_HOME/lists/${local_part}@${domain}
I had to change it to:
MM3_LISTCHK=MM3_HOME/lists/${local_part}.${domain}
That is how the subdirectories are named in my lists directory. e.g.
potato.lists.mydomain.org. If I use the exact MM3_LISTCHK value from
readthedocs, I get 550 Unrouteable bounces.
Here are some baffling lines from /var/log/exim4/mainlog from the incoming
potato-leave(a)lists.mydomain.org email:
2017-04-21 00:25:03 1d1MNj-0007OQ-5r DKIM: d=nervous-org.20150623.
gappssmtp.com s=20150623 c=relaxed/relaxed a=rsa-sha256 [verification
succeeded]
2017-04-21 00:25:03 1d1MNj-0007OQ-5r <= redacted(a)nervous.org H=
mail-qk0-f170.google.com [209.85.220.170] P=esmtp S=2466 id=
CABPy5zyQtJHXtCgrN37GHCUOjuo3J=DO_j0ZD03zm8gk+4shww(a)mail.gmail.com
2017-04-21 00:25:03 1d1MNj-0007OQ-5r => potato(a)lists.mydomain.org <
potato-leave(a)lists.mydomain.org> R=mailman3_router T=mailman3_transport
H=localhost [127.0.0.1] C="250 Ok"
2017-04-21 00:25:03 1d1MNj-0007OQ-5r Completed
Why does it say `potato(a)lists.mydomain.org <potato-leave(a)lists.mydomain.org
>`?
I think this is actually an exim4 problem, so if the solution is to just
switch to postfix, then I will definitely do that. But I'm just asking in
case someone had a similar issue with exim4 and was able to work through it.
Thanks a lot,
Mark
Hi.
Now running mailman 3 I am a bit surprised that the memory footprint
is so large. I count to 13 processes with each a virtual space of
160-250MB and a reserved space of about 50MB each. Not much, but quite
much to run on smaller cloud instances which generally have limited
memory. This is (a lot) more than the corresponding postgres
installation uses,
Is this normal?
regards
// David