I saw in the docs:
> We have it! We just don’t have proper documentation here yet.
Could you please be more specific - can I switch Mailman 3 installation to
Hello all ,
I configured mailman3 following this contributer guide http://docs.mailman3.org/en/latest/devsetup.html but i'am still getting problem with the configuration of MySQL and postfix . Is this section is enough for MySQL configurations ?
url: mysql+pymysql://myuser:mypassword@mymysqlhost/mailman?charset=utf8&use_unicode=1htmlI will appreciated if there are some documents to provide to cotinue the intergration of mailman3 .
Is there any tuto for postfix config ?
Thanks in advance
I am facing errors when using import21 to import list archives. The error message is "A string literal cannot contain NUL (0x00) characters." and the import stops, thus importing only mails up to 2009. The dublicates is mails already imported when retrying. If a mail contains illegal characters I would expect disregarding the particular mail and continue, or ignoring the nul character.
bash-4.3# python manage.py hyperkitty_import --verbosity 3 --since "01.01.1970" --list-address example(a)mailman3.ku.dk /opt/mailman-web-data/tmp/example(a)mailman3.ku.dk.mbox
Duplicate email with message-id '857A4D84DE6D1D41837DD9284F2729AB08F0C385(a)srv1.example.ku.dk'
Duplicate email with message-id '857A4D84DE6D1D41837DD9284F2729AB09DA5E45(a)srv1.example.ku.dk'
Failed adding message <857A4D84DE6D1D41837DD9284F2729AB09E20126(a)srv1.example.ku.dk>: A string literal cannot contain NUL (0x00) characters.
Traceback (most recent call last):
File "manage.py", line 10, in <module>
File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 359, in execute
File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 305, in run_from_argv
File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 356, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python2.7/site-packages/hyperkitty/management/commands/hyperkitty_import.py", line 278, in handle
File "/usr/local/lib/python2.7/site-packages/hyperkitty/management/commands/hyperkitty_import.py", line 152, in from_mbox
File "/usr/local/lib/python2.7/site-packages/hyperkitty/lib/incoming.py", line 149, in add_to_list
File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 796, in save
File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 824, in save_base
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 908, in _save_table
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 947, in _do_insert
File "/usr/local/lib/python2.7/site-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 1043, in _insert
File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 1054, in execute_sql
File "/usr/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
ValueError: A string literal cannot contain NUL (0x00) characters.
On 10/25/2017 05:41 PM, Fabian A. Santiago wrote:
> No to the domains part and I think virtual alias maps is needed:
> mail postfix/trivial-rewrite: warning: do not list domain xxx in BOTH virtual_mailbox_domains and relay_domains
> Oct 25 20:39:19 mail postfix/trivial-rewrite: warning: do not list domain xxx in BOTH virtual_mailbox_domains and relay_domains
> Oct 25 20:39:19 mail postfix/submission/smtpd: NOQUEUE: reject: RCPT from pool-108-53-239-102.nwrknj.fios.verizon.net[18.104.22.168]: 550 5.1.1 <test123@xxx>: Recipient address rejected: User unknown in virtual mailbox table; from=<fsantiago@xxx> to=<test123@xxx> proto=ESMTP helo=<[10.0.0.29]>
(above slightly sanitized for return to the list)
The issue here is your list domain cannot be a virtual_mailbox_domain or
I have the same issue on mail.python.org where we have both Mailman 2
and Mailman 3 lists @python.org. and python.org is a virtual_alias_domain.
I have a group of MRs for a branch that implements "alias_domains" to
deal with this.
Basically it works by creating another (virtual_alias_maps) postfix_vmap
mapping to map list addresses @python.org to addresses @x.python.org.
Then the postfix_domains and postfix_lmtp maps have the x.python.org
domain and there is a patch to mailman/runners/lmtp.py to map the
x.python.org domain back to python.org.
The various MRs are
<https://gitlab.com/mailman/mailman/merge_requests/202> for the core,
<https://gitlab.com/mailman/mailmanclient/merge_requests/18> for the
REST bindings used by Postorius and
<https://gitlab.com/mailman/postorius/merge_requests/186> to be able to
set an alias_domain via Postorius.
That's not all implemented at mail.python.org. What's there is the basic
Postfix config, a bash script the generate the new mappings from the old
and a simple patch to mailman/runners/lmtp.py.
So, the bottom line is it can be done and it's in process, but it won't
really be supported until Mailman 3.2. In the mean time, you just need
to have a separate domain for your lists that isn't a virtual_*_domain.
Mark Sapiro <mark(a)msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
I have an odd one, my Hyperkitty is functionally working fine (archived
several lists without issue, can login/out), however I must have done
something wrong during it's setup as it's layout is completely broken (and
it keeps throwing Example.com up in the top-left corner).
I'd run into a similar issue with Postorious when I first set it up, but I
can't recall what fixed it. Any ideas to what needs correcting? Thanks.
Support Operations, Afilias
Phone: +1 416.673.4164
Fax: +1 416.646.1541
I installed postorius and hyperkitty with pip and ran into another problem. I
ran "mailman info" and got "No path configuration found: paths.master".
I have three files named mailman.cfg:
The one in /etc contains the following:
The one in /var/etc is completely commented out.
If I move the one in /etc/ out of the way and run "mailman info" again, I get
GNU Mailman 3.1.0 (Between The Wheels)
Python 3.5.2 (default, Sep 14 2017, 22:51:06)
[GCC 5.4.0 20160609]
config file: None
db url: sqlite:////etc/var/data/mailman.db
REST root url: http://localhost:8001/3.1/
REST credentials: restadmin:restpass
It said "config file: /var/etc/mailman.cfg" before. What changed?
La sal en el mar es más que en la sangre.
Le sel dans la mer est plus que dans le sang.
we are trying to figure out what is that we're doing wrong as we can't
use instructions that mailman sends with information on held messages as
In particular - replying to the message with "Approved: listpassword" we
were not able to approve any message.
Since there's no place we could find in interface to change ML password
I did it through the mailmanclient:
after which we've used above password trying to approve messages
following the steps outlined above.
What are we doing wrong, or where to look for further information?
Sr System and DevOps Engineer SoM IRT
could you provide an example how I can set various configuration variables
using "mailman withlist" or "mailman "shell" on _all_ lists?
E.g. I want to set on all lists:
m.send_welcome_message = 0
m.send_goodbye_message = 0