Re: [Mailman-Users] Mailman + nginx + uwsgi

2017-05-08 Thread Jim Popovitch
On May 8, 2017 23:10, "j...@ohlste.in"  wrote:

Hello,

Has anyone managed to get the above combination working on FreeBSD? I'm
using fcgiwrap, but it isn't the most elegant solution for a variety of
reasons.



Hi Jim,

I run mailman+nginx+uwsgi on Linux, but without fcgiwrap.

Here's some idea of how I do it:

$ cat /etc/uwsgi/apps-available/mailman.ini
[uwsgi]
plugins = cgi
vhost = true
master = true
touch-reload = %p
pidfile = /run/uwsgi/app/mailman/pid
disable-logging = true
socket = /run/uwsgi/app/mailman/socket
chdir = /
gid = www-data
uid = www-data
threads = 5
# use two mountpoints for cgi
cgi = /cgi-bin/mailman=/usr/lib/cgi-bin/mailman
cgi = /mailman=/usr/lib/cgi-bin/mailman
cgi-index = listinfo
vacuum = true
stats = 127.0.0.1:4999


>From /etc/nginx/sites-available/mailman.conf:

upstream _mailman {
server unix:/run/uwsgi/app/mailman/socket;
}

server {
  
 location /mailman {
.
include uwsgi_params;
proxy_set_header Proxy "";
uwsgi_param UWSGI_SCHEME $scheme;
uwsgi_modifier1 9;
uwsgi_pass _mailman;
}
}


Let me know if you need more info.

-Jim P.
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Mailman + nginx + uwsgi

2017-05-08 Thread j...@ohlste.in

Hello,

Has anyone managed to get the above combination working on FreeBSD? I'm 
using fcgiwrap, but it isn't the most elegant solution for a variety of 
reasons.


--
Jim Ohlstein
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Preventing abusive / malicious subscription requests

2017-05-08 Thread Matthew Blissett

Hi,

I administrate two small, public Mailman servers.

On one of them [1], I see a lot of unsolicited subscription requests.  
For example, win**a...@gmail.com was subscribed 41 times last 
week, from 13 different IP addresses.  A whois search on these IP 
addresses suggests they're from anonymization services or spam-friendly 
hosting companies.


In total, there were 234 requests last week, the vast majority were 
unwanted.


Does anyone have any advice on preventing this abuse? Subscriptions 
require confirmation from the user, so manual approval won't help -- 
there's still a notification that the request awaits manual approval.  
Preventing sign-up from a dodgy IP is one option, perhaps directing 
users to email the list owner if they have been caught incorrectly -- 
has anyone set up anything like this?


Thanks,

Matt Blissett

[1] lists.tdwg.org

--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Mailman moderation via E-mail

2017-05-08 Thread Zalezny Niezalezny
Hi,

our Mailman Webpanel is not available for our external partners (its behind
firewall and its accesible only from internal environment).

Is it possible to moderate an E-mails using only E-mail communication ?

Is it possible this kind of scenario to moderate an E-mail using only
e-mail communication ?

For example:

1. Moderator sending message on l...@example.com
2. Moderator receiving his own message (with msg file) and needs to send it
back to approve it
3. Moderator sending message back to the server (maybe with some command
"approved" etc.etc.)
4. Message is accepted by the Mailman server and server starting to send
messages to all users.




With kind regards

Zalezny
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org