Re: [Mailman-Users] -owner being appended to welcome or goodbye recipients

2016-08-17 Thread Mark Sapiro
On 08/11/2016 02:49 AM, Steve wrote:
> 
> Am I correct in thinking that with mailman 2.x, the only real way to set
> these kinds of settings at the command line is to use config_list, spit
> on the config, make the changes and re-import it?


You don't need to do that. Settings not mentioned in the input to
config_list are unchanged so for example running config_list with an
imput consisting of just the single line

umbrella_list = False

will change just that setting.

Also see .

-- 
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
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


Re: [Mailman-Users] including all domains in virtual-mailman

2016-08-17 Thread Mark Sapiro
On 08/12/2016 11:48 AM, David Newman wrote:
> Greetings. How to get the data/virtual-mailman file to include all
> virtual domains after running bin/genaliases?
...
> # Put YOUR site-specific settings below this line.
> MTA = 'Postfix'
> 
> # Clear the Defaults.py VIRTUAL_HOSTS entry
> # VIRTUAL_HOSTS.clear()
> add_virtualhost('lists.domain1.tld','lists.domain1.tld')
> POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain1.tld']

Which sets POSTFIX_STYLE_VIRTUAL_DOMAINS to a list with the single
domain 'lists.domain1.tld'.


> add_virtualhost('lists.domain2.tld','lists.domain2.tld')
> POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain2.tld']

Which resets POSTFIX_STYLE_VIRTUAL_DOMAINS to a list with the single
domain 'lists.domain2.tld'.


> add_virtualhost('mail.domain3.tld','mail.domain3.tld')
> POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mail.domain3.tld']

Which resets POSTFIX_STYLE_VIRTUAL_DOMAINS to a list with the single
domain 'mail.domain3.tld'.

You want only one entry like:

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain1.tld',
'lists.domain2.tld', 'mail.domain3.tld']

to set POSTFIX_STYLE_VIRTUAL_DOMAINS to a list of all three domains.

-- 
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
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


Re: [Mailman-Users] Fwd: Confirmation Page not working

2016-08-17 Thread Mark Sapiro
On 08/14/2016 05:14 PM, Caesar Samsi wrote:
> 
> My confirmation page is not working.


What URL do you go to? what do you see when you go there?


> I am assuming the string following “confirm” is the “cookie” and to copy and 
> paste that cookie to the confirmation page.
> 
> However, the page simply cycles back to itself.


Do you mean you go to a URL like
https://www.example.com/mailman/confirm/listname

and you get a page like

Please enter the confirmation string (i.e. cookie) that you received in
your email message, in the box below. Then hit the Submit button to
proceed to the next confirmation step.
Confirmation string: __

and you enter the cookie and submit and you get the same page back?

If so, see .

If not, please describe the problem more precisely.

-- 
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
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

Re: [Mailman-Users] Unable to receive email on same domain

2016-08-17 Thread Mark Sapiro
On 08/12/2016 05:18 PM, Caesar Samsi wrote:
> Resurrecting this for the weekend crew …


Sometimes people are off line for long periods, in this case from Aug 5
to now. Be patient.


> I’ve been able to track it down to this line (but don’t know what to do about 
> it):
> 
> virtual_alias_domains = yugi.us 
> 
> If I comment the line out, email is received just fine.
> 
> 
>> On Aug 8, 2016, at 6:36 PM, Caesar Samsi > > wrote:
>>
>> I’m not able to send email to addresses on the same domain as the mailing 
>> list.
>>
>> My postfix is configured to process virtual domains.


So yugi.us is a virtual alias domain. This means EVERY address @yugi.us
must have a virtual alias mapping


>> I currently have mailman configured for yugi.us and mailing lists work great 
>> (e.g. mymailingl...@yugi.us)
>>
>> However, I can’t send anything to regular email addresses even though they 
>> have mailboxes there e.g. myemailaddr...@yugi.us
>>
>> Postfix complains about the recipient does not exist in the virtual alias 
>> map.


So you need a virtual alias mapping, perhaps something like

myemailaddr...@yugi.us  myemailaddress@localhost

and similarly for every other x...@yugi.us address, or perhaps you really
want yugi.us to be a local rather than a virtual domain.

-- 
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
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

Re: [Mailman-Users] Cloning a Mailman server to a virtual machine.

2016-08-17 Thread David Newman
On 8/16/16 1:19 PM, The Mailing List Server Admin wrote:
> Dear Mailman Cognoscenti,
> 
> We have Mailman (and ListProc) running on a physical machine which
> needs to be decommissioned.  Cloning the system to a virtual machine
> (VM) shouldn't be a problem, but I am unsure about the tasks needed to
> make a smooth transition.  I've looked at several articles about
> moving Mailman to new hardware, but a lot of the lower level service
> details are not mentioned.  Here's my first stab at what I think needs
> to be done.
> 
>   Mailman v2.1.20
>   RHEL v5.11
>   Semdmail v8.13.8
>   Apache v2.2.3
> 
> After informing the list owners of date/time mailing list services
> will be unavailable, at the appointed time...
> 
> On the existing machine:
> 
>1. stop cronsudo service crond stop
>2. stop Sendmailsudo service sendmail stop
>3. stop Apachesudo apachectl stop
>4. stop Mailmansudo service mailmain stop
>5. stop ListProcsu --command=/home/server/stop server
>6. check mail queuesudo mailq
> 
>7. Wait ?? for machine to quiet down?

Shouldn't be necessary because of steps 2 and 5 -- the old system can't
send or receive list messages or other email.
> 
> Clone existing system to VM.

> 
>8. shutdown old machine
>9. boot VM clone
>   10. test email and lists
>   11. alert list owners

Provided the VM is an exact copy with the same IP address(es) this
should be OK. If the address changes, don't forget to update your DNS
zone files.

dn

> 
> My concern is that a mailing list server is a very stateful beast, so
> I want to avoid sending duplicate posts/digests, or accidentally
> dropping new postings on the floor.  Thanks for any insights you may
> have to offer on the process.
> 
--
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


Re: [Mailman-Users] mailman archive not working

2016-08-17 Thread Mark Sapiro
On 08/09/2016 06:51 PM, Caesar Samsi wrote:
> 
> When I access the archive via a browser, it shows “Forbidden”
> 
> When I check /var/lib/mailman/archives/public they are all symlinks to 
> /var/lib/mailman/archives/private which I assume are not allowed to be read.


It is correct that /var/lib/mailman/archives/public/* are symlinks to
/var/lib/mailman/archives/private/*.

/var/lib/mailman/archives/private/ must be searchable by the web server
user. It must be either mode o+x (i.e. drwxrws--x) or owned by the web
server user. See .

If that isn't the answer, see
.

-- 
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
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

Re: [Mailman-Users] Editing the homepage

2016-08-17 Thread Mark Sapiro
On 08/09/2016 02:53 PM, Caesar Samsi wrote:
> 
> I’d like to edit the following text that is shown on the homepage, to remove 
> the “List administrators …” and change the email address as mail...@yugi.us 
> is non-functional.


In what way is it non-functional? You must have a site ('mailman') list
or Mailman won't start, so mail...@yugi.us should be the posting address
of that list, and the list should be configured with the site admins as
members and should accept non-member posts.


> Welcome!
> Below is a listing of all the public mailing lists on mail.yugi.us 
> . Click on a list name to get more information about 
> the list, or to subscribe, unsubscribe, and change the preferences on your 
> subscription. To visit the general information page for an unadvertised list, 
> open a URL similar to this one, but with a '/' and the list name appended.
> 
> List administrators, you can visit the list admin overview page 
>  to find the management interface for your list.
> 
> If you are having trouble using the lists, please contact mail...@yugi.us 
> .


This text is hard coded in Mailman/Cgi/listinfo.py. To change these
things in this case, you need to edit the module directly.

In some cases you can make an English language message catalog at
messages/en/LC_MESSAGES/mailman.po and
messages/en/LC_MESSAGES/mailman.mo containing the strings you want to
change as 'msgid' values and the replacements as 'msgstr' values, but
that won't work in this case because of the 'links'.

-- 
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
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] including all domains in virtual-mailman

2016-08-17 Thread David Newman
Greetings. How to get the data/virtual-mailman file to include all
virtual domains after running bin/genaliases?

This is on a FreeBSD 10.3 system running mailman 2.1.22 from ports.

The system has mailing lists defined from 3 domains -- let's call them
domain1.tld, domain2.tld, and domain3.tld.

After running bin/genaliases, the data/virtual-mailman file only
includes whichever virtual domain is defined _last_ in Mailman/mm_cfg.py.

I have tried moving the domain definitions around. In each case,
genaliases only picks up the final one.

Thanks in advance for clues on getting all domains' lists included.

The end of Mailman/mm_cfg.py looks like this:

--

..

# Put YOUR site-specific settings below this line.
MTA = 'Postfix'

# Clear the Defaults.py VIRTUAL_HOSTS entry
# VIRTUAL_HOSTS.clear()
add_virtualhost('lists.domain1.tld','lists.domain1.tld')
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain1.tld']
add_virtualhost('lists.domain2.tld','lists.domain2.tld')
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain2.tld']
add_virtualhost('mail.domain3.tld','mail.domain3.tld')
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mail.domain3.tld']
DEB_LISTMASTER = 'postmas...@domain2.tld'

# dn 20140423
# adding DMARC workaround here
# see http://wiki.list.org/pages/viewpage.action?pageId=17891458
# for more details

ALLOW_FROM_IS_LIST = Yes

--


The Postfix main.cf file has these mailman-specific settings:

--
..

alias_maps = hash:/usr/local/etc/postfix/aliases,
hash:/usr/local/mailman/data/aliases

..

virtual_alias_maps =
proxy:mysql:/usr/local/etc/postfix/mysql/virtual_alias_maps.cf
proxy:mysql:/usr/local/etc/postfix/mysql/domain_alias_maps.cf
proxy:mysql:/usr/local/etc/postfix/mysql/catchall_maps.cf
proxy:mysql:/usr/local/etc/postfix/mysql/domain_alias_catchall_maps.cf
hash:/usr/local/mailman/data/virtual-mailman
..

recipient_delimiter = +


--

Thanks again for clues on getting virtual-mailman to include all lists
from all virtual domains.

dn



--
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] Cloning a Mailman server to a virtual machine.

2016-08-17 Thread The Mailing List Server Admin

Dear Mailman Cognoscenti,

We have Mailman (and ListProc) running on a physical machine which
needs to be decommissioned.  Cloning the system to a virtual machine
(VM) shouldn't be a problem, but I am unsure about the tasks needed to
make a smooth transition.  I've looked at several articles about
moving Mailman to new hardware, but a lot of the lower level service
details are not mentioned.  Here's my first stab at what I think needs
to be done.

  Mailman v2.1.20
  RHEL v5.11
  Semdmail v8.13.8
  Apache v2.2.3

After informing the list owners of date/time mailing list services
will be unavailable, at the appointed time...

On the existing machine:

   1. stop cron sudo service crond stop
   2. stop Sendmail sudo service sendmail stop
   3. stop Apache   sudo apachectl stop
   4. stop Mailman  sudo service mailmain stop
   5. stop ListProc su --command=/home/server/stop server
   6. check mail queue  sudo mailq

   7. Wait ?? for machine to quiet down?

Clone existing system to VM.

   8. shutdown old machine
   9. boot VM clone
  10. test email and lists
  11. alert list owners

My concern is that a mailing list server is a very stateful beast, so
I want to avoid sending duplicate posts/digests, or accidentally
dropping new postings on the floor.  Thanks for any insights you may
have to offer on the process.

--
  Cordially,
  the UNH Mailing List Server Admins
  Bill Costa, senior admin
  (603) 862-3056
--
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


Re: [Mailman-Users] Truncating Archives up to a specific date

2016-08-17 Thread Jim Tittsler
On 08/17/2016 05:31 AM, Jewel Brueggeman-Makda wrote:
> I am wanting to shrink the archives on my lists. I only want to keep archives
> for the last 2 or 3 years.  Is there a script that will do this?  What are
> the steps to truncating and rebuilding an archive?

Mark Sapiro has written a script that will prune older messages from an
archive, and then rebuild the HTML archives:
  https://www.msapiro.net/scripts/prune_arch

You can do it by hand by editing the mbox file for the list (typically
/var/lib/mailman/archives/private/{listname}.mbox/{listname}.mbox) to
remove the messages you no longer want to keep, and then rebuild the
HTML archives with "arch --wipe {listname}" Be careful to maintain file
permissions during the process.

There are more details in the Mailman FAQ:
  https://wiki.list.org/x/4030681



-- 
Jim Tittsler http://OnJapan.net/  GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC  irc://irc.freenode.net/#mailman
--
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


Re: [Mailman-Users] -owner being appended to welcome or goodbye recipients

2016-08-17 Thread Jim Tittsler
On 08/11/2016 06:49 PM, Steve wrote:
> Am I correct in thinking that with mailman 2.x, the only real way to set
> these kinds of settings at the command line is to use config_list, spit
> on the config, make the changes and re-import it?

Or use bin/withlist, which is handy if you want to script changes across
many lists.  (Run it with no args for details, or search the Mailman FAQ
for some examples.)




-- 
Jim Tittsler http://www.OnJapan.net/  GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC  irc://irc.freenode.net/#mailman
--
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