Search results for query "sapiro"
- 5932 messages
[MM3-users] Re: config.pck from mailman2 has characters that won't import with import21
by Mark Sapiro
On 7/20/24 10:19 PM, Greg Newby wrote:
> Hi. I've set up MM3 in a venv successfully and am importing my legacy lists.
>
> I no longer have a running instance of mailman2, so don't know how I can
> change the offending list settings (i.e., in config.pck).
>
> The problem seems to be a digest footer from the previous incarnation of
> the list (list name is edited below, to protect the innocent):
That's not the issue.
> (venv) mailman@mail:~$ mailman import21 abc(a)lists.abcabcabc.org
> /var/lib/mailman/lists/abc/config.pck
> Unable to convert mailing list attribute: msg_footer with value
> "_______________________________________________
> ${display_name} mailing list -- ${listname}
> To unsubscribe send an email to ${short_listname}-leave@${domain}
> %(web_page_url)slistinfo/%(_internal_name)s"
> Unable to convert mailing list attribute: digest_footer with value
> "_______________________________________________
> ${display_name} mailing list -- ${listname}
> To unsubscribe send an email to ${short_listname}-leave@${domain}
> %(web_page_url)slistinfo/%(_internal_name)s"
The above are non-fatal. The importer just won't make list specific
templates for those. If you need the footers to be different from the
defaults, you will need to create them manually.
> Importing members [------------------------------------] 0%
> Traceback (most recent call last):
> File "/opt/mailman/venv/bin/mailman", line 8, in <module>
> sys.exit(main())
> ^^^^^^
> File "/opt/mailman/venv/lib/python3.12/site-packages/click/core.py", line
> 1157, in __call__
> return self.main(*args, **kwargs)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/opt/mailman/venv/lib/python3.12/site-packages/click/core.py", line
> 1078, in main
> rv = self.invoke(ctx)
> ^^^^^^^^^^^^^^^^
> File
> "/opt/mailman/venv/lib/python3.12/site-packages/mailman/bin/mailman.py",
> line 69, in invoke
> return super().invoke(ctx)
> ^^^^^^^^^^^^^^^^^^^
> File "/opt/mailman/venv/lib/python3.12/site-packages/click/core.py", line
> 1688, in invoke
> return _process_result(sub_ctx.command.invoke(sub_ctx))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/opt/mailman/venv/lib/python3.12/site-packages/click/core.py", line
> 1434, in invoke
> return ctx.invoke(self.callback, **ctx.params)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/opt/mailman/venv/lib/python3.12/site-packages/click/core.py", line
> 783, in invoke
> return __callback(*args, **kwargs)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File
> "/opt/mailman/venv/lib/python3.12/site-packages/click/decorators.py", line
> 33, in new_func
> return f(get_current_context(), *args, **kwargs)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File
> "/opt/mailman/venv/lib/python3.12/site-packages/mailman/commands/cli_import.py",
> line 89, in import21
> import_config_pck(mlist, config_dict)
> File
> "/opt/mailman/venv/lib/python3.12/site-packages/mailman/utilities/importer.py",
> line 578, in import_config_pck
> import_roster(mlist, config_dict, members, MemberRole.member)
> File
> "/opt/mailman/venv/lib/python3.12/site-packages/mailman/utilities/importer.py",
> line 625, in import_roster
> _import_roster(mlist, config_dict, iterator, role, action=action)
> File
> "/opt/mailman/venv/lib/python3.12/site-packages/mailman/utilities/importer.py",
> line 645, in _import_roster
> if IBanManager(mlist).is_banned(email):
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File
> "/opt/mailman/venv/lib/python3.12/site-packages/mailman/database/transaction.py",
> line 106, in wrapper
> return function(args[0], config.db.store, *args[1:], **kws)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File
> "/opt/mailman/venv/lib/python3.12/site-packages/mailman/model/bans.py",
> line 103, in is_banned
> re.match(ban.email, email, re.IGNORECASE) is not None):
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/re/__init__.py", line 167, in match
> return _compile(pattern, flags).match(string)
> ^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/re/__init__.py", line 307, in _compile
> p = _compiler.compile(pattern, flags)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/re/_compiler.py", line 745, in compile
> p = _parser.parse(p, flags)
> ^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/re/_parser.py", line 979, in parse
> p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/re/_parser.py", line 460, in _parse_sub
> itemsappend(_parse(source, state, verbose, nested + 1,
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/re/_parser.py", line 690, in _parse
> raise source.error("multiple repeat",
> re.error: multiple repeat at position 11
The list's ban_list has an invalid regexp.
Do the following in Mailman 3's `mailman shell`
```
bin/mailman shell
Welcome to the GNU Mailman shell
Use commit() to commit changes.
Use abort() to discard changes since the last commit.
Exit with ctrl+D does an implicit commit() but exit() does not.
>>> import pickle
>>> from contextlib import ExitStack
>>> from mailman.commands.cli_import import _Mailman, _Bouncer
>>> from mailman.utilities.modules import hacked_sys_modules
>>> with ExitStack() as resources:
... resources.enter_context(hacked_sys_modules('Mailman', _Mailman))
... resources.enter_context(
... hacked_sys_modules('Mailman.Bouncer', _Bouncer))
... with open('/path/to/config.pck', 'rb+') as fp:
... data = pickle.load(fp)
... print(data['ban_list'])
... data['ban_list'] = []
... fp.seek(0)
... pickle.dump(data, fp)
...
>>>
```
This will print the ban_list so you can see it and then save the
config.pck with an empty ban_list. That config.pck will no longer be
usable in Mailman 2.1 because the pickle protocol is too high and the
bounce_info items if any will be corrupted, but it should work with
import21.
Note that all the ExitStack and hacked_sys_modules stuff is only needed
if there is bounce_info in the config.pck, but it doesn't hurt in any case.
--
Mark Sapiro <mark(a)msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
1 year, 3 months
[MM3-users] Re: config incoming email in my domain cpanel
by tlhackque
You've said you're working with labbrands.com.
labbrands.com has address 192.185.51.89
mail.labbrands.com has address 192.185.51.89
www.labbrands.com is an alias for labbrands.com.
telnet proves that Exim is running on that IP address. Either you're
running it, or hostgator is redirecting the SMTP ports.
You added:
lists.labbrands.com has address 190.145.27.66
Presumably that's a different machine.
So that now needs an MX record, and a firewall routing. And the SPF
records ... and spam and virus filters, and all the other stuff you need
to setup an independent, public-facing smtp server.
But at least you won't have to relay.
Good luck.
On 03-Aug-17 16:55, Rafael Mora wrote:
> El jue., 3 ago. 2017 a las 15:49, tlhackque via Mailman-users (<
> mailman-users(a)mailman3.org>) escribió:
>
>> I think you're confused.
>>
>> You already have mail.labbrands.com set up as the MX record for
>> labbrands.com. And it has an A record with the same address as your
>> webserver.
>>
> I'm working with the hostgator mailserver, we are not running a local
> mailserver.
>
> As suggested I added an A record like this:
> [image: image.png]
>
> Is it correct? is it redirecting to my Ip so I can redirect it to my
> postfix/mm3 server?
>
>
>> So if you're getting e-mail on that domain, there's another e-mail
>> server running on that IP address. You can't have 2 servers on port
>> 25. In that case, as has been noted before, you'll need to setup a
>> relay in that server, not a firewall redirect. Depending on your MTA,
>> you would need to relay to your internal server. And make sure your
>> firewall setup allows your MTA to do this.
>>
>> We can see it's EXIM:
>>
>> telnet mail.labbrands.com 25
>> Trying 192.185.51.89...
>> Connected to mail.labbrands.com (192.185.51.89).
>> Escape character is '^]'.
>> help
>> 220-gator4137.hostgator.com ESMTP Exim 4.87 #1 Thu, 03 Aug 2017 15:47:48
>> -0500
>> 220-We do not authorize the use of this system to transport unsolicited,
>> 220 and/or bulk e-mail.
>> 214-Commands supported:
>> 214 AUTH STARTTLS HELO EHLO MAIL RCPT DATA NOOP QUIT RSET HELP
>> quit
>> 221 gator4137.hostgator.com closing connection
>> Connection closed by foreign host.
>>
>> Or, consolidate all your e-mail to one server - which is a lot easier to
>> manage unless you have a really big operation. Postfix is probably the
>> right choice, but requires more setup.
>>
>> Although Mailman3 configuration is not well documented (as you've
>> discovered), you may want to get help from someone with more general
>> network and mail experience. You're now into territory that is, as
>> Simon indicated, not Mailman-specific.
>>
>> On 03-Aug-17 16:28, Rafael Mora wrote:
>>> El jue., 3 ago. 2017 a las 15:26, Mark Sapiro (<mark(a)msapiro.net>)
>> escribió:
>>>> On 08/03/2017 01:22 PM, Rafael Mora wrote:
>>>>> El jue., 3 ago. 2017 a las 15:18, Mark Sapiro (<mark(a)msapiro.net>)
>>>> escribió:
>>>>>> You need to forward port 25 for SMTP mail delivery and if you want the
>>>>>> web UI (Postorius and HyperKitty) accessible from the outside, port 80
>>>>>> for http and/or port 443 for https
>>>>>> <
>>>>>>
>> https://www.iana.org/assignments/service-names-port-numbers/service-names-p…
>>>>>>> .
>>>>> I mean for incoming mail redirected from my hostgator hosting, because
>>>> when
>>>>> I suscribe an email address MM3 sends a confirmation email, so I have
>> to
>>>>> reply to be suscribed to the list.
>>>> As I said, for mail delivery you need to forward port 25 to the Mailman
>>>> server.
>>>>
>>> Ok so I'll redirect in my zentyal firewall the port 25 to my local
>> centos7
>>> with postfix and MM3 with IP 192.168.1.42. Thanks Mark.
>>>
>>>
>>>> --
>>>> Mark Sapiro <mark(a)msapiro.net> The highway is for gamblers,
>>>> San Francisco Bay Area, California better use your sense - B. Dylan
>>>> _______________________________________________
>>>> Mailman-users mailing list
>>>> mailman-users(a)mailman3.org
>>>> https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
>>>>
>> --
>> This communication may not represent my employer's views,
>> if any, on the matters discussed.
>>
>> _______________________________________________
>> Mailman-users mailing list
>> mailman-users(a)mailman3.org
>> https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
>>
--
This communication may not represent my employer's views,
if any, on the matters discussed.
8 years, 2 months
[MM3-users] Re: The message is larger than the 40 KB maximum size
by Mohsen Masoudfar
It seems something is fundamentally wrong with Hyperkitty:
From /var/log/mailman3/mailman.log
---
49 Sep 21 21:49:25 2020 (24925) HyperKitty failure on http://localhost/mailman3/hyperkitty/api/mailman/urls: <html><title>Auth required</title><body>
50 <h1>Authorization Required</h1></body></html> (401)
51 Sep 21 21:49:25 2020 (24925) HyperKitty failure on http://localhost/mailman3/hyperkitty/api/mailman/urls: <html><title>Auth required</title><body>
52 <h1>Authorization Required</h1></body></html> (401)
53 Sep 21 21:49:25 2020 (24925) HyperKitty failure on http://localhost/mailman3/hyperkitty/api/mailman/urls: <html><title>Auth required</title><body>
54 <h1>Authorization Required</h1></body></html> (401)
55 Sep 21 21:49:26 2020 (24918) HyperKitty failure on http://localhost/mailman3/hyperkitty/api/mailman/archive: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2. 0//EN">
56 <html><head>
57 <title>503 Service Unavailable</title>
58 </head><body>
59 <h1>Service Unavailable</h1>
60 <p>The server is temporarily unable to service your
61 request due to maintenance downtime or capacity
62 problems. Please try again later.</p>
63 <hr>
64 <address>Apache/2.4.29 (Ubuntu) Server at localhost Port 80</address>
65 </body></html>
66 (503)
67 Sep 21 21:49:26 2020 (24918) Exception in the HyperKitty archiver: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
68 <html><head>
69 <title>503 Service Unavailable</title>
70 </head><body>
71 <h1>Service Unavailable</h1>
72 <p>The server is temporarily unable to service your
73 request due to maintenance downtime or capacity
74 problems. Please try again later.</p>
75 <hr>
76 <address>Apache/2.4.29 (Ubuntu) Server at localhost Port 80</address>
77 </body></html>
78 Sep 21 21:49:26 2020 (24918) Traceback (most recent call last):
79 File "/usr/lib/python3/dist-packages/mailman_hyperkitty/__init__.py", line 154, in _archive_message
80 url = self._send_message(mlist, msg)
81 File "/usr/lib/python3/dist-packages/mailman_hyperkitty/__init__.py", line 210, in _send_message
82 raise ValueError(result.text)
83 ValueError: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
84 <html><head>
85 <title>503 Service Unavailable</title>
86 </head><body>
87 <h1>Service Unavailable</h1>
88 <p>The server is temporarily unable to service your
89 request due to maintenance downtime or capacity
90 problems. Please try again later.</p>
---
Thanks
Mohsen
-----Original Message-----
From: Mohsen Masoudfar <mmasoudf(a)aaas.org>
Sent: Monday, September 21, 2020 12:24 PM
To: Mark Sapiro <mark(a)msapiro.net>; mailman-users(a)mailman3.org
Subject: [MM3-users] Re: The message is larger than the 40 KB maximum size
[EXTERNAL EMAIL]
Hi Mark,
Thank you Mark and Phil for your help.
It seems I got stuck!
1- I tried to set up the max_message_size in WUI under: listname > settings > Message Acceptance > Maximum message size to 0.
After hitting save button, I got the error message: " An error occured: Unknown attribute: max_message_size"
2- I checked the python files and found this file, where, it seems, the default value is defined:
/usr/lib/python3/dist-packages/mailman/styles/base.py : mlist.max_message_size = 40
I changed this value to 0, saved the file, restarted the mailman and postgresql (not sure if needed) and sent an email with a large attachment to my test list with just two members. I got the response email:
The message is being held because: The message is larger than the 40 KB maximum size
3- I totally agree that the most important issue is the fact that the message vanished with the production list.
I repeated the same with a (test) list which has two members, I got the email mentioning the 40 KB limit and I could release it. This is how I am running my tests now. I repeated it with the original list (with 197 members) the message disappeared again. I can send an email to the list with 197 members, without this attachment and it works.
4- I checked the folders, under /var/lib/mailman3/queue/, all folders are empty: archive/ bad/ bounces/ command/ digest/ in/ nntp/ out/ pipeline/ retry/ shunt/ virgin/
Thanks
Mohsen
-----Original Message-----
From: Mark Sapiro <mark(a)msapiro.net>
Sent: Friday, September 18, 2020 4:00 PM
To: mailman-users(a)mailman3.org
Subject: [MM3-users] Re: The message is larger than the 40 KB maximum size
[EXTERNAL EMAIL]
On 9/18/20 12:48 PM, Phil Stracchino wrote:
> On 2020-09-18 15:32, Mohsen Masoudfar wrote:
>> Hi,
>>
>> I am trying to find how I may change this. I have an attachment of 800 KB, and when I post it to the list, I do not get any response and nothing is hold. It looks like the message is just dropped.
>
>
> Assuming that this works roughly the same in mm3 as it does in mm2,
> you can set max_message_size in your list configuration. It defaults
> to 40; units are KB.
Yes, and you can set it to zero for "unlimited", but even if that is a satisfactory workaround, the much more interesting question, at least to me, is why does the message "disappear".
--
Mark Sapiro <mark(a)msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
_______________________________________________
Mailman-users mailing list -- mailman-users(a)mailman3.org To unsubscribe send an email to mailman-users-leave(a)mailman3.org
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.mai…
_______________________________________________
Mailman-users mailing list -- mailman-users(a)mailman3.org To unsubscribe send an email to mailman-users-leave(a)mailman3.org
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.mai…
5 years, 1 month
[MM3-users] django-allauth 0.59.0 (was: django-allauth failures, but only for some users)
by Jered Floyd
FYI, django-allauth 0.59.0 was released on December 12 and incorporates the patches to work properly with Mailman again.
The only other issue is formatting of the login page. As I noted previously, this can be fixed by copying
site-packages/allauth/templates/socialaccount/login.html
to
site-packages/django_mailman3/templates/socialaccount/login.html
and changing the first line from:
{% extends "socialaccount/base_entrance.html" %}
to
{% extends "django_mailman3/profile/base.html" %}
--Jered
----- On Dec 7, 2023, at 9:57 PM, Jered Floyd jered(a)convivian.com wrote:
> You're welcome. Thank you for all your hard work making Mailman 3 happen at all!
>
> I think django_allauth integration is again stable, but for now I'm pinning
> 0.58.2 + this patch. I'll test again once there is another release
> notification, but since I rebuild by container image every 2-3 weeks I am
> getting exhausted by surprises...
>
> --Jered
>
> ----- On Dec 7, 2023, at 7:44 PM, Mark Sapiro mark(a)msapiro.net wrote:
>
>> On 12/7/23 14:33, Jered Floyd wrote:
>>>
>>> FYI, The django-allauth author has proposed fixing both of these with an even
>>> simpler change, which is now upstream and queued for a future release.
>>>
>>> --Jered
>>
>>
>> Thank you again for your work on this. I can confirm that the patch
>> below fixes my issue with
>> https://msapiro.net/accounts/social/connections/ and SITE_ID = 0.
>>
>>
>>> --- a/allauth/socialaccount/adapter.py
>>> +++ b/allauth/socialaccount/adapter.py
>>> @@ -228,7 +228,10 @@ class DefaultSocialAccountAdapter(object):
>>> provider_to_apps = {}
>>>
>>> # First, populate it with the DB backed apps.
>>> - db_apps = SocialApp.objects.on_site(request)
>>> + if request:
>>> + db_apps = SocialApp.objects.on_site(request)
>>> + else:
>>> + db_apps = SocialApp.objects.all()
>>> if provider:
>>> db_apps = db_apps.filter(Q(provider=provider) | Q(provider_id=provider))
>>> if client_id:
>>
>> --
>> Mark Sapiro <mark(a)msapiro.net> The highway is for gamblers,
>> San Francisco Bay Area, California better use your sense - B. Dylan
>>
>> _______________________________________________
>> Mailman-users mailing list -- mailman-users(a)mailman3.org
>> To unsubscribe send an email to mailman-users-leave(a)mailman3.org
>> https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
>> Archived at:
>> https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message…
>>
>> This message sent to jered(a)convivian.com
> _______________________________________________
> Mailman-users mailing list -- mailman-users(a)mailman3.org
> To unsubscribe send an email to mailman-users-leave(a)mailman3.org
> https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
> Archived at:
> https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message…
>
> This message sent to jered(a)convivian.com
1 year, 10 months
[MM3-users] Re: Scheduled tasks
by Darren Smith
I will take up any problems with the installation with the creator.
However, I was able to find and run some of the scripts this afternoon, and
I'm running some of the longer-running ones tonight while the usage is
lower.
As for bogging down - I mean attempting to click on an email can take a
LONG time to render, and we frequently get 504 gateway timeouts (the calls
to hyperkitty are timing out). I am trying hard to figure out why this is
happening and to try to tune the system. I still suspect that there are
some inefficiencies with how the database is being used, or how the
database is doing things.
I will take a look at qcluster, that was interesting info and hopefully it
can help me out.
Thanks for your response,
-Darren
On Thu, Jun 7, 2018 at 4:16 PM, Mark Sapiro <mark(a)msapiro.net> wrote:
> On 6/7/18 9:59 AM, Darren Smith wrote:
> > All,
> >
> > I am looking more through the documentation of the Mailman Suite here:
> >
> > https://media.readthedocs.org/pdf/gnu-mailman/latest/gnu-mailman.pdf
> >
> > In section 3.2.5 it talks about the scheduled tasks that need to be run
> to
> > do "specific routine functions" in hyperkitty.
> >
> > I installed through the easy install script found here:
> >
> > https://github.com/iomarmochtar/mailman3_ei/
> >
> > However, I can't find anything in THAT documentation that talks about
> these
> > cron jobs, and in fact the Mailman Suite isn't installed through that
> > script.
>
>
> That is a third party project. If you have issues with it, you should
> take them up with @iomarmochtar.
>
>
> > Can someone point me to any other documentation about the tasks that need
> > to be run on a continual basis?
>
>
> The section 3.2.5 you refer to tells you what needs to be set up in
> cron. For a list of the jobs tat are run, use
>
> django-admin runjobs --list
>
>
> . Our hyperkitty installation seems to be
> > bogging down more and more, and I am hoping that it will be as simple as
> > just running some jobs that haven't been on our radar.
>
>
> what do you mean by 'bogging down'? If you aren't doing so, setting up
> qcluster as in section 3.2.3 may help.
>
> --
> Mark Sapiro <mark(a)msapiro.net> The highway is for gamblers,
> San Francisco Bay Area, California better use your sense - B. Dylan
> _______________________________________________
> Mailman-users mailing list -- mailman-users(a)mailman3.org
> To unsubscribe send an email to mailman-users-leave(a)mailman3.org
> https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
>
7 years, 4 months
[MM3-users] Re: Installing mailman 3
by Abhilash Raj
Hi,
On Tue, Aug 1, 2017, at 02:11 PM, Rafael Mora wrote:
> It's ok now, but still I can't make it send the confirmation email
>
> This is from mailman.log:
>
>
> [mailman@localhost logs]$ tail -f mailman.log
> Aug 01 15:59:18 2017 (2327) lmtp runner started.
> Aug 01 15:59:18 2017 (2333) virgin runner started.
> Aug 01 15:59:18 2017 (2332) retry runner started.
> Aug 01 15:59:18 2017 (2330) pipeline runner started.
> Aug 01 15:59:18 2017 (2325) command runner started.
> Aug 01 15:59:19 2017 (2328) nntp runner started.
> Aug 01 15:59:19 2017 (2326) in runner started.
> Aug 01 16:01:38 2017 (2331) 127.0.0.1 - - "GET
> /3.0/lists?count=0&page=1&advertised=true HTTP/1.1" 200 90
> Aug 01 16:01:38 2017 (2331) 127.0.0.1 - - "GET
> /3.0/lists?count=10&page=1&advertised=true HTTP/1.1" 200 90
> Aug 01 16:01:38 2017 (2331) 127.0.0.1 - - "GET /3.0/domains HTTP/1.1" 200
> 90
>
>
>
>
> What should I do?
If you are talking about Account confirmation emails, they usually are
sent out from Django and not Mailman Core itself.
To configure Django you need to edit the `settings.py` file, wherever
that is one your installation. If you are following the guide mentioned
at http://docs.mailman3.org/en/latest/prodsetup.html, it should be at
`mailman-suite/mailman-suite_project/settings.py`.
To configure your Django to send emails, have a look at
http://docs.mailman3.org/en/latest/config-web.html#setting-up-email-required.
That documentation page has pretty much everything you need in order to
have a running Web Frontend, please go through it and make sure you have
everything configured.
Finally, the actual emails from Mailing lists are supposed to be handled
by Core. You need to configure Postorius & Mailman both to communicate.
The settings are mentioned
http://docs.mailman3.org/en/latest/config-core.html#configuring-mta
here.
Hope that helps!
>
>
>
>
>
>
> El mar., 1 ago. 2017 a las 15:36, Mark Sapiro (<mark(a)msapiro.net>)
> escribió:
>
> > On 8/1/17 1:14 PM, Rafael Mora wrote:
> > >
> > > Why does it say Address already in use?
> >
> >
> > Because you are starting lm tp runner and it's already running.
> >
> > Do 'mailman stop'. Then ensure no Mailman processes are running. kill
> > any if necessary. Then do 'mailman start'.
> >
> > --
> > Mark Sapiro <mark(a)msapiro.net> The highway is for gamblers,
> > San Francisco Bay Area, California better use your sense - B. Dylan
> > _______________________________________________
> > Mailman-users mailing list
> > mailman-users(a)mailman3.org
> > https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
> >
> --
>
> Atentamente / Best Regards
>
> Ing. Rafael Mora
> _______________________________________________
> Mailman-users mailing list
> mailman-users(a)mailman3.org
> https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
--
thanks,
Abhilash Raj
8 years, 2 months
[MM3-users] Re: Request for help debugging a hyperkitty connection issue
by Stephen Daniel
Got it in one!
I had put "www.LISTDOMAIN.org/archive" in as the base URL in
mailman-hyperkitty.cfg. No such host exists. Replaced with
"LISTDOMAIN.org/archive" and all is well!
Thanks!!!
To the contributing community: would there be a way to enhance the logging
of this error to include the resource that failed to connect?
Thanks.
-- Stephen Daniel
On Thu, Jan 6, 2022 at 5:15 PM Mark Sapiro <mark(a)msapiro.net> wrote:
> On 1/6/22 12:12 PM, Stephen Daniel wrote:
> >
> > I have two problems. One is with getting list mail out of GCP. I am
> > working on that. The issue I don't know how to address is a problem with
> > hyperkitty. Nothing is being archived. When I send an email through my
> > test list, this message shows up in the mailman log:
> >
> > Jan 04 11:57:26 2022 (806) Exception in "hyperkitty" archiver
> >
> > Traceback (most recent call last):
> >
> > File
> > "/opt/mailman/mm/venv/lib/python3.7/site-packages/urllib3/connection.py",
> > line 175, in _new_conn
> >
> > (self._dns_host, self.port), self.timeout, **extra_kw
> >
> > File
> >
> "/opt/mailman/mm/venv/lib/python3.7/site-packages/urllib3/util/connection.py",
> > line 73, in create_connection
> >
> > for res in socket.getaddrinfo(host, port, family,
> socket.SOCK_STREAM):
> >
> > File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
> >
> > for res in _socket.getaddrinfo(host, port, family, type, proto,
> flags):
> >
> > socket.gaierror: [Errno -2] Name or service not known
> >
> >
> > This triggers a bunch more tracebacks.
> >
> > Then I get this:
> >
> > Jan 04 11:57:27 2022 (797) Connection to HyperKitty failed:
> > HTTPSConnectionPool(host='www.XXXXX.dev <http://www.xxxxx.dev/>',
> > port=443): Max retries exceeded with url: /archives/api/mailman/archive
> > (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object
> > at 0x7f2114e14e10>: Failed to establish a new connection: [Errno -2] Name
> > or service not known'))
>
>
> What is your setting for base_url: in mailman-hyperkitty.cfg?. Can you get
>
> wget -O- xxx
>
> where xxx is base_url with `api/` appended. This should return an html
> page of API documentation.
>
> If your base_url: seems good and its scheme is `https`, try changing it
> to `http`.
>
>
> --
> Mark Sapiro <mark(a)msapiro.net> The highway is for gamblers,
> San Francisco Bay Area, California better use your sense - B. Dylan
> _______________________________________________
> Mailman-users mailing list -- mailman-users(a)mailman3.org
> To unsubscribe send an email to mailman-users-leave(a)mailman3.org
> https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
>
3 years, 9 months
[MM3-users] Re: new list not working
by Christian
When I ran
mailman members -r -n enabled redlatinleg(a)lists.ccalternatives.org
I did receive a list of subscribers for the new list I created, not just the
owner or moderator.
Upon closer examination, another of my longtime working lists is also not
working. Similar behavior as the new list I created in that I see the
message has been archived, but not distributed to the subscribers.
-----Original Message-----
From: Mark Sapiro <mark(a)msapiro.net>
Sent: Thursday, March 9, 2023 1:44 PM
To: mailman-users(a)mailman3.org
Subject: [MM3-users] Re: new list not working
On 3/9/23 13:26, Christian via Mailman-users wrote:
> I am only having issues with the new list.
>
>
>
> Below are logfile entries
>
>
>
> Smtp.log
>
> ++++++
>
> Mar 09 20:57:09 2023 (9401) Available AUTH mechanisms: LOGIN(builtin)
> PLAIN(builtin)
>
> Mar 09 20:57:09 2023 (9401) Peer: ('127.0.0.1', 35982)
>
> Mar 09 20:57:09 2023 (9401) ('127.0.0.1', 35982) handling connection
>
> Mar 09 20:57:09 2023 (9401) ('127.0.0.1', 35982) >> b'LHLO
zarathustra.ccalternatives.org'
>
> Mar 09 20:57:09 2023 (9401) ('127.0.0.1', 35982) >> b'MAIL
FROM:<christian(a)naturalintelligence.us> SIZE=3653'
>
> Mar 09 20:57:09 2023 (9401) ('127.0.0.1', 35982) sender:
> christian(a)naturalintelligence.us
>
> Mar 09 20:57:09 2023 (9401) ('127.0.0.1', 35982) >> b'RCPT
TO:<redlatinleg(a)lists.ccalternatives.org>'
>
> Mar 09 20:57:09 2023 (9401) ('127.0.0.1', 35982) recip:
> redlatinleg(a)lists.ccalternatives.org
>
> Mar 09 20:57:09 2023 (9401) ('127.0.0.1', 35982) >> b'DATA'
>
> Mar 09 20:57:09 2023 (9401) ('127.0.0.1', 35982) >> b'QUIT'
>
> Mar 09 20:57:09 2023 (9401) ('127.0.0.1', 35982) connection lost
>
> Mar 09 20:57:09 2023 (9401) ('127.0.0.1', 35982) Connection lost
> during _handle_client()
This is the post being delivered to mailman and is expected.
>
>
> Access.log
Irrelevant.
> Mailman.log
>
> ++++++++
>
> Mar 09 20:57:09 2023 (9400) ACCEPT:
> <032101d952c9$caf09990$60d1ccb0$(a)naturalintelligence.us>
>
> Mar 09 13:03:42 2023 (9397) HyperKitty archived message
> <032101d952c9$caf09990$60d1ccb0$(a)naturalintelligence.us> to
> https://lists.ccalternatives.org/archives/list/redlatinleg@lists.ccalt
> ernatives.org/message/PAJ5GDGGK74LWHQINB32BDV22BMR6LRQ/
These are the expected messages (there seems to be a time zone
difference) and in the absence of any other error type messages say the
message should have been delivered to the eligible recipients. Are there
any? See
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/
CTAF4RDJ2CTNCGI7MXFYL3Q5HTGYMZH6/
or the results from
```
mailman members -r -n enabled redlatinleg(a)lists.ccalternatives.org
```
> mailmansuite.log
not relevant.
--
Mark Sapiro <mark(a)msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
_______________________________________________
Mailman-users mailing list -- mailman-users(a)mailman3.org To unsubscribe send
an email to mailman-users-leave(a)mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at:
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/
ZVY3EFBA5WQKYS6E7AS475TNY6C4NJQU/
This message sent to csa(a)web-analysts.net
2 years, 7 months
[MM3-users] Re: SMTPSenderRefused - howto enable STARTTLS for local mail drop
by Stefan Bauer
Unfortunately i need this, as the postfix is listening on all interfaces
and we have the policy to enforce TLS only. Nothing special in the logs:
Dec 07 08:14:14 2021 (12303) Using agent: <mailman.mta.bulk.BulkDelivery
object at 0x7fbc29b1c4a8>
Dec 07 08:14:14 2021 (12303) Connecting to localhost:25
Dec 07 08:14:14 2021 (12303) envsender: v-test-bounces@domain, recipients:
['recipient(a)own.domain'], size(msgtext): 5809
Dec 07 08:14:14 2021 (12303)
<kcEE.aBI3BVc2RCi6kAxA4PJ0hg.ADrcCDrr1wE(a)mailsrv103.my.domain> smtp to
v-test@domain for 1 recips, completed in 0.008081912994384766 seconds
Dec 07 08:14:14 2021 (12303)
<kcEE.aBI3BVc2RCi6kAxA4PJ0hg.ADrcCDrr1wE(a)mailsrv103.my.domain> post to
v-test@domain from v-test@domain, 5336 bytes
Dec 07 08:14:47 2021 (12297) Peer: ('127.0.0.1', 43210)
Dec 07 08:14:47 2021 (12297) ('127.0.0.1', 43210) handling connection
Dec 07 08:14:47 2021 (12297) b'220 ml01.my.domain GNU Mailman LMTP runner
2.0\r\n'
Dec 07 08:14:47 2021 (12297) ('127.0.0.1', 43210) EOF received
Dec 07 08:14:47 2021 (12297) Connection lost during _handle_client()
Dec 07 08:14:47 2021 (12297) ('127.0.0.1', 43210) connection lost
Dec 07 08:15:00 2021 (12297) Peer: ('127.0.0.1', 43516)
Dec 07 08:15:00 2021 (12297) ('127.0.0.1', 43516) handling connection
Is my mailman version maybe too old for this setting?
I'm running GNU Mailman 3.1.1 (Between The Wheels)
Thank you.
Am Mo., 6. Dez. 2021 um 19:04 Uhr schrieb Mark Sapiro <mark(a)msapiro.net>:
> On 12/6/21 2:51 AM, Stefan Bauer wrote:
> > Need to bring this up again. Django now sends with STARTTLS, but mailman
> > itself, does still only drop mails in cleartext.
> > Dec 6 11:47:33 al01 postfix/lmtp[7598]: A6422600510:
> > to=<remote-party@remote>, relay=127.0.0.1[127.0.0.1]:8024, delay=0.01,
> > delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (250 Ok)
> > Dec 6 11:47:33 al01 postfix/qmgr[29156]: A6422600510: removed
> > Dec 6 11:47:35 al01 postfix/smtpd[8092]: disconnect from localhost[::1]
> > ehlo=1 mail=2 rcpt=2 data=2 commands=7
> >
> > No starttls=1 at all :(
> >
> > Does the above settings work for anyone?
> >
> > etc/mailman3/mailman.cfg
> > [mta]
> > incoming: mailman.mta.postfix.LMTP
> > outgoing: mailman.mta.deliver.deliver
> >
> > smtp_host: localhost
> > smtp_port: 25
> > smtp_user:
> > smtp_pass:
> > smtp_verify_hostname: false
> > smtp_verify_cert: false
> > smtp_secure_mode: starttls
>
>
> This should work. What do you see in Mailman's smtp.log if you add
> ```
> [logging.smtp]
> level: debug
> ```
> to mailman.cfg.
>
> However, do you really need this. It will only affect delivery from
> Mailman to Postfix via the loopback interface on the localhost.
>
> --
> Mark Sapiro <mark(a)msapiro.net> The highway is for gamblers,
> San Francisco Bay Area, California better use your sense - B. Dylan
> _______________________________________________
> Mailman-users mailing list -- mailman-users(a)mailman3.org
> To unsubscribe send an email to mailman-users-leave(a)mailman3.org
> https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
>
3 years, 10 months
[MM3-users] Re: Installing mailman 3
by Rafael Mora
New output from command 'postconf -n ':
[root@localhost ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd
$daemon_directory/$process_name $process_id & sleep 5
html_directory = no
inet_interfaces = localhost
inet_protocols = all
local_recipient_maps = hash:/var/lib/mailman/var/data/postfix_lmtp
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
newaliases_path = /usr/bin/newaliases.postfix
owner_request_special = no
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
recipient_delimiter = +
relay_domains = hash:/var/lib/mailman/var/data/postfix_domains
sample_directory = /usr/share/doc/postfix-2.10.1/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
transport_maps = hash:/var/lib/mailman/var/data/postfix_lmtp
unknown_local_recipient_reject_code = 550
El dom., 23 jul. 2017 a las 11:19, Mark Sapiro (<mark(a)msapiro.net>)
escribió:
> On 07/23/2017 08:16 AM, Rafael Mora wrote:
> > This is the content of my /var/log:
> >
> >
> > [root@localhost log]# pwd
> > /var/log
> > [root@localhost log]# ls
> > anaconda grubby messages-20170716 spooler-20170710
> > audit grubby_prune_debug messages-20170723 spooler-20170716
> > boot.log httpd mysqld.log spooler-20170723
> > btmp lastlog php-fpm tallylog
> > btmp-20170701 letsencrypt ppp tuned
> > chrony maillog rhsm wtmp
> > cron maillog-20170702 samba xferlog
> > cron-20170702 maillog-20170710 secure xferlog-20170702
> > cron-20170710 maillog-20170716 secure-20170702 xferlog-20170710
> > cron-20170716 maillog-20170723 secure-20170710 xferlog-20170716
> > cron-20170723 mailman secure-20170716 xferlog-20170723
> > dmesg messages secure-20170723 yum.log
> > dmesg.old messages-20170702 spooler
> > firewalld messages-20170710 spooler-20170702
>
>
> Your current postfix log is /var/log/maillog. The files like
> /var/log/maillog-20170702, etc are older versions rotated by logrotate.
>
> On 07/23/2017 08:14 AM, Rafael Mora wrote:
> > content of the file maillog-20170723 (I didn't find mail.log in
> /var/log):
> >
> > [root@localhost log]# cat maillog-20170723
>
> You want to be looking at /var/log/maillog for current messages.
>
>
> ...
> > Jul 21 16:10:47 localhost postfix/qmgr[2116]: error: open database
> > /var/lib/mailman/var/data/postfix_domains.db: No such file or directory
>
>
> Is this where these files are? You should have at least postfix_domains,
> postfix_domains.db, postfix_lmtp and postfix_lmtp.db in the
> /var/lib/mailman/var/data/ directory. It this the case?
>
> > output command 'postconf -n':
> >
> ...
> > transport_maps = hash:/var/libmailman/var/data/postfix_lmtp
>
>
> This is missing a /
>
>
> transport_maps = hash:/var/lib/mailman/var/data/postfix_lmtp
>
>
> --
> Mark Sapiro <mark(a)msapiro.net> The highway is for gamblers,
> San Francisco Bay Area, California better use your sense - B. Dylan
> _______________________________________________
> Mailman-users mailing list
> mailman-users(a)mailman3.org
> https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
>
--
Atentamente / Best Regards
Ing. Rafael Mora
8 years, 3 months