Re: [Mailman-Users] help with error on start

2015-05-26 Thread Ricardo Santos
Download from http://ftp.gnu.org/gnu/mailman/mailman-2.1.20.tgz; but have
error again:

# /var/lib/mailman/bin/newlist

Traceback (most recent call last):

  File /var/lib/mailman/bin/newlist, line 108, in module

from Mailman import MailList

  File /var/lib/mailman/Mailman/MailList.py, line 45, in module

from Mailman import Utils

  File /var/lib/mailman/Mailman/Utils.py, line 75, in module

import dns.resolver

  File /usr/lib/python2.6/site-packages/dns/resolver.py, line 35, in
module

import dns.message

  File /usr/lib/python2.6/site-packages/dns/message.py, line 191

print('id %d' % self.id, file=s)

 ^

SyntaxError: invalid syntax

2015-05-19 0:30 GMT-04:00 Mark Sapiro m...@msapiro.net:

 On 05/18/2015 05:32 AM, Ricardo Santos wrote:
  Thanks Mark for you answer. I installed from a tutorial with this command
  (Centos 6.6)
 
  yum --enablerepo=remi install mailman  (Ver 3:2.1.12-18.el6 )


 OK, but the /usr/lib/mailman/Mailman/i18n.py file in your installed
 Mailman doesn't look like the one distributed by GNU Mailman nor does it
 look like the one from RHEL 5 that I happen to have.

 So either something went wrong with your package install, or you will
 have to pursue this with Red Hat/Centos.

 Or, you could try downliading i18n.py from
 
 http://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/i18n.py
 
 and replacing yours with that. That will probably get you past the
 current issue, but there may be other things wrong.

 --
 Mark Sapiro m...@msapiro.netThe 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/ericardosantos%40gmail.com

--
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] One way umbrella list question

2015-05-26 Thread Mark Sapiro
On 05/25/2015 08:14 AM, Rob Dover wrote:
 Greetings.
 I have an installation (2.1.20) that we use for club communications. All
 club members are explicitly subscribed to the main [members] list. There are
 also a couple of smaller lists that we use for executive and committee
 discussions. I would like all members of the master [members] list to have
 posting privileges to the smaller lists but limit the emails that mailman
 sends for the smaller lists to only the smaller lists.


You don't want umbrella lists. All you need to do is put @members (or
whatever the name of the all-members list is preceded with '@') in the
Privacy options... - Sender filters - accept_these_nonmembers  setting
of all the smaller lists. follow the (Details for
accept_these_nonmembers) link on the Privacy options... - Sender
filters page for more info.

-- 
Mark Sapiro m...@msapiro.netThe 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] One way umbrella list question

2015-05-26 Thread Rob Dover
Greetings.
I have an installation (2.1.20) that we use for club communications. All
club members are explicitly subscribed to the main [members] list. There are
also a couple of smaller lists that we use for executive and committee
discussions. I would like all members of the master [members] list to have
posting privileges to the smaller lists but limit the emails that mailman
sends for the smaller lists to only the smaller lists.
In other words if a member of the exec list posts to the exec list, all
members of the executive receive a copy but a regular member would be
allowed to post to the executive list but ONLY the executive members would
get a copy. 
As I understand an umbrella list all umbrella members would see all
postings. Correct? 
Can this be done?

Thanks -RobĀ­


--
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] Default domain email not work

2015-05-26 Thread Mark Sapiro
On 05/26/2015 10:00 AM, EyeLand wrote:
 
 /var/lib/mailman/data/transport-mailman
 https://gist.githubusercontent.com/eyeland/8836edc1edef4fb11ece/raw/c950ed0eec1830199da848e991e7b20d4b26a0b8/gistfile1.txt


I see two issues here:

First, entries like

mail...@list.mobilier.md  local

should all be

mail...@list.mobilier.md  local:

I.e., yours are all missing the : after local. See item 3) at
http://wiki.list.org/x/10715238 and compare that to your
/etc/mailman/virtual_to_transport.sh.

More importantly, the undeliverable mail is addressed to
mail...@list.ournet.biz, but the domain of the mailman list is
list.mobilier.md.

The methods you are using only create the transport maps for the list's
'host_name' domain so Postfix can't deliver to the list @ a different
domain.


 Postfix log messages associated with the failed delivery is on file
 /var/log/mail.warn ?


/var/log/mail.log


-- 
Mark Sapiro m...@msapiro.netThe 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] Default domain email not work

2015-05-26 Thread Mark Sapiro
On 05/26/2015 09:03 AM, EyeLand wrote:
 
 postconf -n
 https://gist.githubusercontent.com/eyeland/c28256b0602679d4954d/raw/92e672f70b4a6adb0d6cfe555d04804edda1b090/gistfile1.txt
 Mailman/mm_cfg.py
 https://gist.githubusercontent.com/eyeland/b3a2ede982b5db3ab3dc/raw/a18096825a97c6d752f81c6cea68ad221e1c16c9/gistfile1.txt


It looks like you are trying to follow the FAQ at
http://wiki.list.org/x/10715238. Is there some reason you are doing
this instead of just following the Debian docs?

What is the content of /var/lib/mailman/data/transport-mailman?

What are the Postfix log messages associated with the failed delivery?

-- 
Mark Sapiro m...@msapiro.netThe 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] Default domain email not work

2015-05-26 Thread EyeLand
2015-05-26 21:12 GMT+03:00 Mark Sapiro m...@msapiro.net:

 On 05/26/2015 10:00 AM, EyeLand wrote:
 
  /var/lib/mailman/data/transport-mailman
 
 https://gist.githubusercontent.com/eyeland/8836edc1edef4fb11ece/raw/c950ed0eec1830199da848e991e7b20d4b26a0b8/gistfile1.txt

 I see two issues here:

 First, entries like

 mail...@list.mobilier.md  local

 should all be

 mail...@list.mobilier.md  local:

 I.e., yours are all missing the : after local. See item 3) at
 http://wiki.list.org/x/10715238 and compare that to your
 /etc/mailman/virtual_to_transport.sh.

 More importantly, the undeliverable mail is addressed to
 mail...@list.ournet.biz, but the domain of the mailman list is
 list.mobilier.md.

 The methods you are using only create the transport maps for the list's
 'host_name' domain so Postfix can't deliver to the list @ a different
 domain.

  Postfix log messages associated with the failed delivery is on file
  /var/log/mail.warn ?

 /var/log/mail.log

 --
 Mark Sapiro m...@msapiro.netThe highway is for gamblers,
 San Francisco Bay Area, Californiabetter use your sense - B. Dylan


/var/log/mail.log
https://gist.githubusercontent.com/eyeland/84ca2edc3f07ca507a8d/raw/aae9c95eb3dd0830726a4cf1632ef6c38dc4a507/gistfile1.txt

the main server domain is vps1.ournet.biz, secondary domains are
test2.ournet.biz, list.ournet.biz, list.mobilier.md
--
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] Default domain email not work

2015-05-26 Thread EyeLand
Hello, when send mail to default domain email mail...@list.ournet.biz -
http://r.ournet.biz/1Hue3k5 I receive error http://r.ournet.biz/1AvMZDz ,
can you consult how can resolve this issue? Thank you.
--
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] Default domain email not work

2015-05-26 Thread Mark Sapiro
On 05/26/2015 01:49 PM, EyeLand wrote:
 
 /var/log/mail.log
 https://gist.githubusercontent.com/eyeland/84ca2edc3f07ca507a8d/raw/aae9c95eb3dd0830726a4cf1632ef6c38dc4a507/gistfile1.txt


I see things like the following in the log.

May 26 14:44:30 vps1 postfix/local[12807]: 4B7BD80F0C:
to=mail...@vps1.ournet.biz, relay=local, delay=0.37,
delays=0.26/0.03/0/0.08, dsn=2.0.0, status=sent (delivered to command:
/var/lib/mailman/mail/mailman post mailman)


This is a message To: mail...@vps1.ournet.biz which is delivered
directly to mailman via the 'mailman' alias because vps1.ournet.biz is a
local domain in Postfix, i.e., its in mydestination in Postfix.



May 26 14:44:50 vps1 postfix/smtpd[12792]: NOQUEUE: reject: RCPT from
forward15o.cmail.yandex.net[37.9.109.212]: 550 5.1.1
mail...@list.ournet.biz: Recipient address rejected: User unknown in
virtual mailbox table; from=ournet-...@yandex.com
to=mail...@list.ournet.biz proto=ESMTP helo=forward15o.cmail.yandex.net


This is a message to mail...@list.ournet.biz which is rejected because
list.ournet.biz is not a Postfix local domain and the address
mail...@list.ournet.biz is not mapped to the local transport in
transport maps nor is it mapped to the local mailman address via virtual
alias maps


May 26 14:45:25 vps1 postfix/local[12807]: 6460280F0C:
to=mail...@vps1.ournet.biz, orig_to=mail...@list.mobilier.md,
relay=local, delay=0.13, delays=0.05/0/0/0.07, dsn=2.0.0, status=sent
(delivered to command: /var/lib/mailman/mail/mailman post mailman)


And this is a message to mail...@list.mobilier.md which is mapped to the
local transport via transport maps and is thus accepted.


 the main server domain is vps1.ournet.biz,
 secondary domains are test2.ournet.biz,
 list.ournet.biz, list.mobilier.md


You are using transport maps to map list addresses in non-local domains
such as list.ournet.biz and list.mobilier.md to Postfix's local
transport. The method you are using only generates mappings for the
list's host_name domain which in the case of the mailman list is
list.mobilier.md. Thus mail to mail...@list.mobilier.md is properly
delivered to Mailman, but mail to mail...@list.ournet.biz is not
deliverable because the address is not in transport maps or virtual
alias maps and list.ournet.biz is not a local domain.

So the question is why are you trying to mail to mail...@list.ournet.biz
in the first place. If you really want to be able to mail to mailman@
any of the domains, you could manually replicate the 'mailman' stanza in
both data/virtual-mailman and data/transport-mailman changing the
list.mobilier.md domain to list.ournet.biz in the replicated stanzas.
That should work until you rebuild those files completely with
bin/genaliases.

-- 
Mark Sapiro m...@msapiro.netThe 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] Default domain email not work

2015-05-26 Thread Mark Sapiro
On 05/26/2015 07:59 AM, EyeLand wrote:
 Hello, when send mail to default domain email mail...@list.ournet.biz -
 http://r.ournet.biz/1Hue3k5 I receive error http://r.ournet.biz/1AvMZDz ,
 can you consult how can resolve this issue? Thank you.


This is a Postfix configuration issue on the list.ournet.biz server. We
will try to help you resolve this, but
http://www.postfix.org/VIRTUAL_README.html#virtual_mailbox may help.

In order for us to help wee need to see at least the output from

postconf -n

on the server, and the contents of Mailman/mm_cfg.py.

-- 
Mark Sapiro m...@msapiro.netThe 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] Default domain email not work

2015-05-26 Thread EyeLand
2015-05-26 18:41 GMT+03:00 Mark Sapiro m...@msapiro.net:

 On 05/26/2015 07:59 AM, EyeLand wrote:
  Hello, when send mail to default domain email mail...@list.ournet.biz -
  http://r.ournet.biz/1Hue3k5 I receive error http://r.ournet.biz/1AvMZDz
 ,
  can you consult how can resolve this issue? Thank you.


 This is a Postfix configuration issue on the list.ournet.biz server. We
 will try to help you resolve this, but
 http://www.postfix.org/VIRTUAL_README.html#virtual_mailbox may help.

 In order for us to help wee need to see at least the output from

 postconf -n

 on the server, and the contents of Mailman/mm_cfg.py.

 --
 Mark Sapiro m...@msapiro.netThe 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/ournet.biz%40gmail.com


postconf -n
https://gist.githubusercontent.com/eyeland/c28256b0602679d4954d/raw/92e672f70b4a6adb0d6cfe555d04804edda1b090/gistfile1.txt
Mailman/mm_cfg.py
https://gist.githubusercontent.com/eyeland/b3a2ede982b5db3ab3dc/raw/a18096825a97c6d752f81c6cea68ad221e1c16c9/gistfile1.txt
--
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] Default domain email not work

2015-05-26 Thread EyeLand
2015-05-26 19:15 GMT+03:00 Mark Sapiro m...@msapiro.net:

 On 05/26/2015 09:03 AM, EyeLand wrote:
 
  postconf -n
 
 https://gist.githubusercontent.com/eyeland/c28256b0602679d4954d/raw/92e672f70b4a6adb0d6cfe555d04804edda1b090/gistfile1.txt
  Mailman/mm_cfg.py
 
 https://gist.githubusercontent.com/eyeland/b3a2ede982b5db3ab3dc/raw/a18096825a97c6d752f81c6cea68ad221e1c16c9/gistfile1.txt


 It looks like you are trying to follow the FAQ at
 http://wiki.list.org/x/10715238. Is there some reason you are doing
 this instead of just following the Debian docs?

 What is the content of /var/lib/mailman/data/transport-mailman?

 What are the Postfix log messages associated with the failed delivery?

 --
 Mark Sapiro m...@msapiro.netThe highway is for gamblers,
 San Francisco Bay Area, Californiabetter use your sense - B. Dylan


/var/lib/mailman/data/transport-mailman
https://gist.githubusercontent.com/eyeland/8836edc1edef4fb11ece/raw/c950ed0eec1830199da848e991e7b20d4b26a0b8/gistfile1.txt

Postfix log messages associated with the failed delivery is on file
/var/log/mail.warn ?
--
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