[Mailman-Users] Re: Mailman3 - from Whoosh to Xapian

2022-07-05 Thread Kimmo L.
Hey! Thanks for the reply! 
I managed to install Xapian now :)
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Moving mailing lists and archives from one server to another

2022-07-05 Thread Kimmo L.
Hello!
My plan is to install fresh Mailman3 host, which means that i need to 
migrate/transfer my mailman mailing lists + hyperkitty archives to new host.
Unfortunately i didnt find any guide about how do it correctly.
I tried myself to export and import mailmanweb/mailman databases and recreate 
indexes. Now i can see and search hyperkitty archives, but if try to open one 
of the mailing list, i get error - HTTP Error 500: {"title": "500 Internal 
Server Error"}
And im pretty sure, that I'm gonna have to transport some more stuff over, 
which I have no idea.

If its not a big trouble, can someone kindly share, what exactly should i need 
to export/import and what would be the right steps/commands/moves.

Br,
Kimmo
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Moving mailing lists and archives from one server to another

2022-07-05 Thread Mark Sapiro
Please use the list at 
https://lists.mailman3.org/mailman3/lists/mailman-us...@mailman3.org/ 
for Mailman 3 issues/questions.


On 7/5/22 6:48 AM, Kimmo L. wrote:

Hello!
My plan is to install fresh Mailman3 host, which means that i need to 
migrate/transfer my mailman mailing lists + hyperkitty archives to new host.
Unfortunately i didnt find any guide about how do it correctly.
I tried myself to export and import mailmanweb/mailman databases and recreate indexes. Now i can 
see and search hyperkitty archives, but if try to open one of the mailing list, i get error - HTTP 
Error 500: {"title": "500 Internal Server Error"}
And im pretty sure, that I'm gonna have to transport some more stuff over, 
which I have no idea.



Look in Mailman's var/logs/mailman.log for a traceback from the 
exception that caused the error.



--
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Moving mailing lists and archives from one server to another

2022-07-05 Thread Kimmo L.
Sure, i will do that! Thank you Mark!
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: HTTPD

2022-07-05 Thread Software Info
Thanks so much for the replies. I actually remembered to change the
chroot and I don't have https configured. Posting my httpd.conf below.
I run obhttpd on FreeBSD 13.1 and I used slowcgi as was suggested.

[obhttpd.conf]
chroot "/"
logdir "/var/log"

server "mailman.mydomain.net" {
listen on * port 80
root "/usr/local/mailman/"
log access "obhttpd-access.log"
log error "obhttpd-error.log"

location "/Mailman/*" {
fastcgi socket "/var/www/run/slowcgi.sock"
root "/usr/local/mailman/cgi-bin/"
  }

   location "/icons/*" {
   root "/usr/local/mailman/icons/"
   }

   location "/pipermail/*" {
   root "/usr/local/mailman/archives/public/"
   }
}


[/etc/rc.conf]
obhttpd_enable="YES"
slowcgi_enable="YES"
slowcgi_flags="-p /"

On Sun, Jul 3, 2022 at 12:11 AM Stephen J. Turnbull
 wrote:
>
> Stephen J. Turnbull writes:
>
>  > I hope that helps, if not, more information about your configuration
>
> Also check your logs for the httpd and for Mailman.  With a 500, it's
> likely that Mailman isn't logging much, but it's worth checking.
> Typically there will be a traceback in the httpd log.
>
> Steve
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Setting from_is_list on a per-recipient (or domain) basis

2022-07-05 Thread Mark Hills
Using 2.1.39, would it be a lot of work (and where could I begin) to set 
from_is_list based on the recipient subscriber; either individually or 
per-domain?

At this point I'm faced with changing the setting globally because of a 
single troublesome recipient.

My intuition is that the mixture of recipients would not post a problem 
for replies, but let me know if I missed anything.

This is a closed system where the majority of mails are received by the 
same few domains, but there are some outliers.

Fine-grained control would allow me a "minimal intervention" approach in 
contrast to a sweeping change to behaviour for all users.

Thanks

-- 
Mark
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Setting from_is_list on a per-recipient (or domain) basis

2022-07-05 Thread Mark Sapiro

On 7/5/22 1:07 PM, Mark Hills wrote:

Using 2.1.39, would it be a lot of work (and where could I begin) to set
from_is_list based on the recipient subscriber; either individually or
per-domain?



Set from_is_list to No and in Privacy options... -> Sender filters set 
dmarc_moderation_action to Munge From or Wrap Message as desired and set 
dmarc_quarantine_moderation_action and dmarc_none_moderation_action to No.


This will apply the action only to posts whose From: domain publishes a 
DMARC policy of reject.


This isn't what you asked, but it may help enough.

Applying mitigations per recipient would require significant code 
modifications


--
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: HTTPD

2022-07-05 Thread Software Info
Just a little update. I just ran
# obhttpd -d -vvv -f obhttpd.conf and
# slowcgi -d -p /
to see if I could get anything that made sense show up on the screen
and the first error I saw was:  slowcgi: execve
/usr/local/mailman/cgi-bin/: Permission denied
This is strange because slowcgi runs as www, obhttpd runs as www and
www is the owner of the cgi-bin directory. Not sure what I am missing
here.

On Tue, Jul 5, 2022 at 2:58 PM Software Info  wrote:
>
> Thanks so much for the replies. I actually remembered to change the
> chroot and I don't have https configured. Posting my httpd.conf below.
> I run obhttpd on FreeBSD 13.1 and I used slowcgi as was suggested.
>
> [obhttpd.conf]
> chroot "/"
> logdir "/var/log"
>
> server "mailman.mydomain.net" {
> listen on * port 80
> root "/usr/local/mailman/"
> log access "obhttpd-access.log"
> log error "obhttpd-error.log"
>
> location "/Mailman/*" {
> fastcgi socket "/var/www/run/slowcgi.sock"
> root "/usr/local/mailman/cgi-bin/"
>   }
>
>location "/icons/*" {
>root "/usr/local/mailman/icons/"
>}
>
>location "/pipermail/*" {
>root "/usr/local/mailman/archives/public/"
>}
> }
>
>
> [/etc/rc.conf]
> obhttpd_enable="YES"
> slowcgi_enable="YES"
> slowcgi_flags="-p /"
>
> On Sun, Jul 3, 2022 at 12:11 AM Stephen J. Turnbull
>  wrote:
> >
> > Stephen J. Turnbull writes:
> >
> >  > I hope that helps, if not, more information about your configuration
> >
> > Also check your logs for the httpd and for Mailman.  With a 500, it's
> > likely that Mailman isn't logging much, but it's worth checking.
> > Typically there will be a traceback in the httpd log.
> >
> > Steve
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/