My mailing lists were migrated from a machine running Mac OS X Server 10.6 (Snow Leopard) [let's refer to it by the fdqn old-server.domain.com], where mailman was supplied and supported out of the box. The destination was an OS X Server 10.11 (El Capitan) system running Server 5.2 [let's refer to it by the fdqn new-server.domain.com], which required the manual installation of mailman from source.
I copied the requisite directories archives, data, lists and qfiles from /var/mailman/ to /usr/local/mailman/. I then ran
which made sure that these were given the proper permissions for the new system.
Let's say my mailing list is named "family." I can now bring up
I can change all settings to my heart's content, and they all take. However, when I try to "Tend to pending moderator requests" and click on the Submit All Data button on
it directs me to
which has been decommissioned.
When editing the list settings, there were references to "old-server.domain.com" in the host_name field on the General Options page, and I changed that to "new-server.domain.com".
What do I need to fix, in order for the button submission to go through properly?
I am trying to understand the Mailman mailflow and I am aware that stopping a mail from being distributed is not a trivial task. I've looked around and found this*) ,but it doesn't really explain the problem I am facing.
By accident, a list admin released a bunch of mail-replies to the list-address from people wanting to unsubscribe. The list contains 9000+ members.
To quickly work around the problem, I set a filter in Postfix rejecting all mails containing the particular subject and moved all outgoing mails from /var/spool/mailman/out to out.org, and thought I was home safe, but it seems that the list keeps putting mails with subject Unsubscribe in the out directory.
Does Mailman have another queue that I need to empty or filter out?
I am not sure what to do about this message in error log, any help appreciated.
Oct 13 11:47:30 2016 (12368) SHUNTING: 1476372076.1651051+54a50f9eb22730094aba33728b8cee7136dad7e2
Oct 13 11:47:30 2016 (12368) Uncaught runner exception: local variable 'bodylen' referenced before assignment
Oct 13 11:47:30 2016 (12368) Traceback (most recent call last):
File "/usr/server/sulists/Mailman/Queue/Runner.py", line 119, in _oneloop
File "/usr/server/sulists/Mailman/Queue/Runner.py", line 190, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/server/sulists/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
File "/usr/server/sulists/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
File "/usr/server/sulists/Mailman/Handlers/Hold.py", line 187, in process
if bodylen/1024.0 > mlist.max_message_size:
UnboundLocalError: local variable 'bodylen' referenced before assignment
Oct 13 11:47:30 2016 (12368) SHUNTING: 1476376331.709368+f252c549b5b457fe876963e4dba623dd2047e456
Sr. Systems Programmer
205-726-2594 | office
800 Lakeshore Drive, Birmingham, AL 35229
There are still a few of things to mop up, after an otherwise successful installation of Mailman on OS X El Capitan with Server 5.2.
Every 5 min my admin user account on the server gets an email from the Cron Daemon that has this line:
IOError: [Errno 13] Permission denied: '/usr/local/mailman/locks/gate_news.lock.ipheion.hoffmann.homeunix.net.54220.0'
Here are my observations:
1. I currently have no file at /usr/local/mailman/locks/ whose name starts with "gate_news".
2. My root Crontab has these lines:
# Every 5 mins, try to gate news to mail. You can comment this one out
# if you don't want to allow gating, or don't have any going on right now,
# or want to exclusively use a callback strategy instead of polling.
# 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/python -S /usr/local/mailman/cron/gate_news
In other words, the gate_news cron job is commented out.
3. I have run /usr/local/mailman/bin/check_perms -f, but that has had no impact.
I have followed Allan Herman's March 29, 2013, instructions for installing Mailman on OS X Mountain Lion. The difference is that my system is OS X El Capitan running Server 5.2. Nonetheless, I have not run into any contradictions. It appears that the choices for the locations of the various configuration files made when transitioning from Mac OS X Snow Leopard to Mac OS X Lion to OS X Mountain Lion have remained stable.
However, I am now banging my head against the wall, because my server's SMTP logs contain these lines:
Oct 11 16:04:04 i----on local: fatal: execvp /usr/share/mailman/mail/mailman: No such file or directory
Allan installs his Mailman deployment in /usr/local/, and I have learned that in one of the more recent iterations of OS X, Apple chose to lock down /usr/share/, so that even the sudo command does not make modifications possible, which I learned, when I tried to create a simlink there. I kept getting the "Operation not permitted." error. I learned that this is due to System Integrity Protection (SIP), introduced in OS X El Capitan.
I am now on a quest to locate from where the call to mailman originates, so that I can edit the corresponding configuration file, replacing "/usr/share/" with "/usr/local/".
Any pointers would be much appreciated.
Not sure if I'm using the correct terminology.
People send messages to a list I run as well as other lists that I have
nothing to do with.
When people reply to the message sent to other lists the replies go to
my list as well as the list they replied to.
Is there a way to stop this apart from asking people to only send the
message to one list at a time?
Jaws certified 2016
On 09/04/2016 12:53 AM, Matthias Schmidt via Mailman-Users wrote:
> now I’m stuck here:
> local: fatal: execvp /usr/share/mailman/mail/mailman: No such file or directory
> local is owned by postfix so far I found out.
> What I can’t find is where this line is to be able to correct it (Spotlight also finds nothing)
How did you solve your problem. I have the same issue, but the mailing list thread doesn't show, what you did to address this, only that it evidently ceased to be broken.
(repost, first post with a wrong address, sorry for the adminstrators/moderators)
Hi to all,
I’m new member of this liste.
But no new user of mailman.
I’m the administrator of public Usenet grisbi hierarchy <http://news.grisbi.org <http://news.grisbi.org/>> and the administrator of the grisbi’s mailing lists.
I successfully use the mail to news gateway since a long time.
I recently move both services to a new server and disable the news -> mail mailman’s gateway (via cron) for use news2mail feeds, then i preserve the original message-id.
And gateway mail -> news with mailman.
Everything works fine, except for the grisbi.info <http://grisbi.info/> moderated group.
The moderation address is the mailing list hosted on the mailman.
When message are approved for posting and published on the list it is not posted on the newsgroups.
I’ve tried the both setting :
Open list, moderated group
but nothing working.
I don’t see connexion from mailman on the news server on approval.
And message not relayed to the group.
What i’m missing?
I’ve look at the archive but don’t find anything can help me.
Do I change something on the code?
As I am testing personalized mails from Mailman (2.1.12) I was wondering why various email clients display the content different.
* If I send an HTML mail containing only text, both Gmail and Outlook includes personalization in msg_header "Hello %(user_name)s . This is a test"
* If I send an HTML mail containing an image, Gmail shows "Hello [member's name]. This is a test" on top and the rest of the mail, including image, but Outlook only show the e-mail (including the image), NOT the msg_header not msg_footer.
* If I use Outlook to email received on Gmail, using IMAP connection, "Hello [member's name]. This is a test" is displayed at the top of the received mail, but the content from the sender and the image is attached.
My content filtering -> pass_mime_types are
but pass_mime_types shouldn't affect the mail as content filtering -> filter_content if off. Also collapse_alternatives or convert_html_to_plaintext doesn't change a thing (as content filtering -> filter_content if off).
Is there something I, as site admin, or the list-admins can do, to get personalized HTML mails, even to Outlook users?
Running Postfix 2.11.7 on FreeBSD 10.2-RELEASE. I am migrating a listserv
on an older box to this one, running newly-installed Mailman 2.1.20.
I found a one-pager that showed me what to tar up and move over to migrate
my lists to the new instance of Mailman. Hostname is not changing, so that
made this part fairly painless.
However I think I'm not even getting that far yet. I'm running into a roadblock
that I believe is strictly Postfix. So I take it that messages aren't even
touching the new Mailman daemon yet.
No matter what I do, I am getting relay errors when I send a message with the
Subject 'help' to <listname>-request(a)lists.domain.tld, as such:
Oct 3 14:12:20 <servername> postfix/smtpd: connect from mail.outsidedomain.tld[x.x.x.x]
Oct 3 14:12:20 <servername> postfix/smtpd: NOQUEUE: reject: RCPT frommail.outsidedomain.tld[x.x.x.x]: 454 4.7.1 <listname-request(a)lists.domain.tld>: Relay access denied; from=<outsideuser(a)outsidedomain.tld> to=<listname-request(a)lists.domain.tld> proto=ESMTP helo=<mail.outsidedomain.tld>
But then additionally I'm noticing these entries as well:
Oct 3 14:09:13 <servername> postfix/qmgr: warning: connect to transport private/mailman: No such file or directory
Oct 3 14:09:14 <servername> postfix/error: E587C642A5F: to=<listname-bounces(a)lists.domain.tld>, relay=none, delay=4801, delays=4801/0.02/0/0.03, dsn=4.3.0, status=deferred (mail transport unavailable)
I tried adding the following, but to no avail:
relay_recipient_maps = hash:/usr/local/etc/postfix/relay_recipients
transport_maps = hash:/usr/local/etc/postfix/transport
(for each list)
I then postmap'ed relay_recipients and transport and restarted postfix. Even
restarted mailman for good measure. But no such luck.
My only suspicion is that maybe in Postfix 2.11.7, I need to do something in
MySQL/PostfixAdmin concerning this line in main.cf?:
relay_domains = proxy:mysql:/usr/local/etc/postfix/mysql_relay_domains_maps.cf
Any assistance or advice, as always, would be greatly appreciated!