Re: [Mailman-Users] Displaying Entire Membership List

2009-06-01 Thread LuKreme

On 31-May-2009, at 19:23, Mark Sapiro wrote:

LuKreme wrote:

Is there anyway to have it never ever use the new (well, not new
anymore, I suppose) alphabetic chunks no matter what?  I'd much  
prefer

100 per page, for as many pages as it takes.



It's been an RFE for some time
https://bugs.launchpad.net/mailman/+bug/266715.

I understand that for lists of one or two hundred members, it might be
desirable to show two to four pages of 50, but with thousands of
members, the alphabetic chunks may be preferred.


Yep, I can see that for lists of thousands of users it might be  
useful. But really, that's a tiny minority of lists.  Most mailing  
lists are from a couple of dozen to a couple of hundred users.


It seems like a tiered 'chunk size' might be useful. (Under 500 users,  
use x users per page, over 500 use alphabetics pages). Or, probably  
the best solution, given a list of say 198 users and a chunk-size of  
50, display the pages like this:


A-Fr Fu-Le Li-Ru Sa-Za
(50) (50)  (50)  (48)

assuming that users include a...@example.com and f...@example.com and fun...@example.com 
 and l...@example.com and li...@example.com and rug...@example.com and sa...@example.com 
 and z...@example.com.



You're welcome to submit a patch.


Ah, well, yeah. That might be realistic if 1) I was a real programmer  
instead of just a dabbler and 2) I spoke python.



--
Beware of the Leopard!

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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Install question - was: Errors on mailman startup

2009-06-01 Thread Mark Sapiro
Malveeka Tewari wrote:

I trying to run mailman on my own laptop.
I have been able to install mailman and it's running (i can view the mailman
start up pages)

I have specified the DEFAULT_URL_HOST and DEFAULT_URL_HOST to be my laptop's
ip addresses in mm_cfg.py

But am not able to send/recieve mails
I am also not able to create new lists.
(When trying to create new lists, I get an error: *Unknown virtual host )
*
Is there something wrong with my postfix installation or with the mm_cfg.py
values?


Did you mean DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST?

Note that these should be defined as domain names, not IP addresses. IP
addresses may work in some contexts, but if you don't have a domain
name, you will have problems sending and receiving mail. Note these
are generic problems with mail, and not specific to Mailman.

In order to be able to send mail reliably, you need a non-generic
domain name with a fixed IP address and a rDNS pointing from that IP
to the domain name. Without these, you will find your mail blocked by
many services.

After defining DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST in mm_cfg.py,
you need

VIRTUAL_HOSTS.clear()

to remove the Defaults.py values from the VIRTUAL_HOSTS dictionary, and

add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

to add the new values.

Can you send mail from your laptop through the local Postfix? E.g.,
with Postfix's 'sendmail' command.

Can your laptop receive any mail at all, e.g. for a local user?

-- 
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
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] list member address parsing question

2009-06-01 Thread admin2

Hi list,

Somebody suggested me ask the mailman folks this question.

My google official account username is b...@domain.com but I have 
verified and activated another email address sam...@domain2.com .  I 
am able to originate email with sam...@domain2.com in the from email 
but mailman still rejects the message claiming Sorry, only subscribers 
may post.  Mailman thinks I am not a member of the list and is 
considering me b...@domain.com even though I can see in the bounce 
that sam...@domain2.com is in the From portion of the header.  The 
SMTP header of the bounce claims Received-SPF: pass, Return-Path: 
b...@domain.com, and Sender: b...@domain.com


When I send the same mail through a domain I administer the email 
sam...@domain2.com is properly identified.


Is there anything more I can configure to appease mailman's legitimacy 
checking?


Cheers,

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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Displaying Entire Membership List

2009-06-01 Thread Charles Gregory

On Mon, 1 Jun 2009, LuKreme wrote:

It's been an RFE for some time
https://bugs.launchpad.net/mailman/+bug/266715.
I understand that for lists of one or two hundred members, it might be
desirable to show two to four pages of 50, but with thousands of
members, the alphabetic chunks may be preferred.


Rather than limit the display to addresses beginning with the specified 
letter, why not just have the listing *start* at the specified letter,
but continue to the end of the full list of members? If I select 'P' 
the list would start at 'P' and continue with 'Q' and 'R' up to 50 per 
page, and if I click the 'next' link, it would just keep going to the end 
of the list... Is there some efficiency to limiting the display to one 
letter of the alphabet?


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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] list member address parsing question

2009-06-01 Thread Mark Sapiro
admin2 wrote:

Somebody suggested me ask the mailman folks this question.

My google official account username is b...@domain.com but I have 
verified and activated another email address sam...@domain2.com .  I 
am able to originate email with sam...@domain2.com in the from email 
but mailman still rejects the message claiming Sorry, only subscribers 
may post.


Is the address sam...@domain2.com a member of the list?


Mailman thinks I am not a member of the list and is 
considering me b...@domain.com even though I can see in the bounce 
that sam...@domain2.com is in the From portion of the header.


I do not understand the above. Which of these addresses are members of
the list. Mailman only goes by the exact email address. E.g. even if
us...@example.com is a list member, us...@mail.example.com is not.


The 
SMTP header of the bounce claims Received-SPF: pass, Return-Path: 
b...@domain.com, and Sender: b...@domain.com

When I send the same mail through a domain I administer the email 
sam...@domain2.com is properly identified.

Is there anything more I can configure to appease mailman's legitimacy 
checking?


As I said, I can't diagnose the issue without knowing what addresses
are list members. The following is in Defaults.py

# Membership tests for posting purposes are usually performed by
looking at a
# set of headers, passing the test if any of their values match a
member of
# the list.  Headers are checked in the order given in this variable. 
The
# value None means use the From_ (envelope sender) header.  Field names
are
# case insensitive.
SENDER_HEADERS = ('from', None, 'reply-to', 'sender')

If this is unchanged in mm_cfg.py, a post will be considered to be from
a list member if any of From:, the envelope sender (Return-Path:),
Reply-To: or Sender: (in that order) contain an exact member address.

-- 
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
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Install question - was: Errors on mailman startup

2009-06-01 Thread Mark Sapiro
Malveeka Tewari wrote:

Yes I meant DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST.. Sorry about that

Postfix seems to be working fine..
I am able to send and recieve mails to the local users

I do not have a fixed IP address. Is there anywhere I can get a free domain
name for my laptop fr sometime ( 1 week or so) so that I can test my mailman
setup on my laptop?


You could check out http://www.dyndns.com/services/dns/dyndns/. I am
not recommending either for or against using such a service, just
pointing it out.


Since don't have any FQDN for my laptop, If I want to run mailman on my
laptop what should i give the value of DEFAULT_URL_HOST and
DEFAULT_EMAIL_HOST ?


You can use an IP address for testing purposes if you add it to the
VIRTUAL_HOSTS dictionary as I indicated in my prefious reply., but you
can't actually run a real list in this way.

Note also that even with a domain name as provided by dyndns or
equivalent, many ISPs will not accept mail from such a domain.

-- 
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
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Displaying Entire Membership List

2009-06-01 Thread Mark Sapiro
Charles Gregory wrote:

Rather than limit the display to addresses beginning with the specified 
letter, why not just have the listing *start* at the specified letter,
but continue to the end of the full list of members? If I select 'P' 
the list would start at 'P' and continue with 'Q' and 'R' up to 50 per 
page, and if I click the 'next' link, it would just keep going to the end 
of the list... Is there some efficiency to limiting the display to one 
letter of the alphabet?


The Mailman web interface is being totally reimplemented for Mailman
3.0. I have no interest in making these kinds of changes before that.
If someone does a good implementation of this, I'm happy to look at it
and possibly pick it up, but I'm not going to do it.

-- 
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
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] Virtual Domains for Mailing Lists in MailMan

2009-06-01 Thread Gordon Smith

Hello

I found this E-Mail address on the MailMan homepage and decided to  
contact you as I don't seem to be able to locate the information I  
need elsewhere.


To explain my circumstance.  I am a visually impaired person, trying  
to get to grips with administrating a mail server under Apple Mac OS X  
10.5.7 (Leopard) server.


I need to host mailing lists under virtual domains hosted on our  
server but can't see quite how this is accomplished.


Is there anywhere I can obtain this information as Apple's  
documentation on this subject seems poor from what I've seen.


I really do apologise for any inconvenience I may cause you by  
contacting you - but if you could point me to the relevant information  
pages as to how to accomplish virtual domain list configuration under  
Apple's server platform I'd be very grateful.


As a blind person this information is not always easy for me to  
locate.  Thank you in advance for any help.


Gordon



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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Install question - was: Errors on mailman startup

2009-06-01 Thread Malveeka Tewari
Hi

I trying to run mailman on my own laptop.
I have been able to install mailman and it's running (i can view the mailman
start up pages)

I have specified the DEFAULT_URL_HOST and DEFAULT_URL_HOST to be my laptop's
ip addresses in mm_cfg.py

But am not able to send/recieve mails
I am also not able to create new lists.
(When trying to create new lists, I get an error: *Unknown virtual host )
*
Is there something wrong with my postfix installation or with the mm_cfg.py
values?




On Sat, May 30, 2009 at 12:11 AM, Malveeka Tewari malve...@gmail.comwrote:

 Thanks a lot!
 Now atleast my mailman is running

 Malveeka


 On Fri, May 29, 2009 at 11:50 PM, Mark Sapiro m...@msapiro.net wrote:

 Malveeka Tewari wrote:
 
 I tried creating a newlist using bin/newlist
 
 It asked me for an email address and password which I enetered but I got
 an
 error
 Illegal list name: mailman-ad...@localhost


 The instructions you are following are no good. DEFAULT_EMAIL_HOST and
 DEFAULT_URL_HOST and the host names you supply to configure have to be
 fully qualified domain names. 'localhost' won't work.

 --
 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
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Install question - was: Errors on mailman startup

2009-06-01 Thread Malveeka Tewari
Hi Mark

Yes I meant DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST.. Sorry about that

Postfix seems to be working fine..
I am able to send and recieve mails to the local users

I do not have a fixed IP address. Is there anywhere I can get a free domain
name for my laptop fr sometime ( 1 week or so) so that I can test my mailman
setup on my laptop?

Since don't have any FQDN for my laptop, If I want to run mailman on my
laptop what should i give the value of DEFAULT_URL_HOST and
DEFAULT_EMAIL_HOST ?



On Mon, Jun 1, 2009 at 4:48 PM, Mark Sapiro m...@msapiro.net wrote:

 Malveeka Tewari wrote:
 
 I trying to run mailman on my own laptop.
 I have been able to install mailman and it's running (i can view the
 mailman
 start up pages)
 
 I have specified the DEFAULT_URL_HOST and DEFAULT_URL_HOST to be my
 laptop's
 ip addresses in mm_cfg.py
 
 But am not able to send/recieve mails
 I am also not able to create new lists.
 (When trying to create new lists, I get an error: *Unknown virtual host )
 *
 Is there something wrong with my postfix installation or with the
 mm_cfg.py
 values?


 Did you mean DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST?

 Note that these should be defined as domain names, not IP addresses. IP
 addresses may work in some contexts, but if you don't have a domain
 name, you will have problems sending and receiving mail. Note these
 are generic problems with mail, and not specific to Mailman.

 In order to be able to send mail reliably, you need a non-generic
 domain name with a fixed IP address and a rDNS pointing from that IP
 to the domain name. Without these, you will find your mail blocked by
 many services.

 After defining DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST in mm_cfg.py,
 you need

 VIRTUAL_HOSTS.clear()

 to remove the Defaults.py values from the VIRTUAL_HOSTS dictionary, and

 add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

 to add the new values.

 Can you send mail from your laptop through the local Postfix? E.g.,
 with Postfix's 'sendmail' command.

 Can your laptop receive any mail at all, e.g. for a local user?

 --
 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
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] Not delivering to local users

2009-06-01 Thread rich
I have Fedora 10 running postfix-2.5.6-1.fc10.i386 and  
mailman-2.1.11-5.fc10.i386.
I can send and recieve email fine. Mailman recieves all emails fine  
but only sends to remote users but not all remote users. Recipients on  
the local machine do not recieve any emails from mailman. I would like  
to figure out how to fix this. My settings are basically unchanged  
from an older Fedora 6 system. smtp-failure is full of entries like  
this:


Jun 01 12:30:34 2009 (1059) delivery to us...@gxxx.xx failed with code  
-1: please run connect() first
Jun 01 12:30:34 2009 (1059) delivery to us...@xxx.com failed with  
code -1: (111, 'Connection refused')


My mm_cfg.py:

DEFAULT_URL_HOST   = 'domain.net'
DEFAULT_EMAIL_HOST = 'domain.net'
MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['']
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

My postfix.cf:

command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
inet_interfaces = all
unknown_local_recipient_reject_code = 550
debug_peer_level = 2
debugger_command =
 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
 xxgdb $daemon_directory/$process_name $process_id  sleep 5
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
myhostname = domain.net
mydomain = domain.net
myorigin = $mydomain
mynetworks = 127.0.0.0/8, xxx.xxx.xxx.xxx
mydestination = $myhostname, localhost.$mydomain
message_size_limit = 209715200
local_recipient_maps = proxy:unix:passwd.byname $alias_maps
smtp_helo_required= yes
disable_vrfy_command = yes
virtual_alias_maps = hash:/etc/postfix/virtual,  
hash:/etc/mailman/virtual-mailman

alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases
smtpd_recipient_restrictions = reject_non_fqdn_recipient,  
reject_unknown_recipient_domain, permit_mynetworks,  
check_client_access hash:/etc/postfix/pop-before-smtp,  
reject_unauth_destination, permit

smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
content_filter = smtp-amavis:[127.0.0.1]:10024
mailbox_command = /usr/bin/procmail
mailbox_size_limit = 1197152000
allow_untrusted_routing = no
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
manpage_directory = /usr/local/man
queue_directory = /var/spool/postfix
mail_owner = postfix



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

Security Policy: http://wiki.list.org/x/QIA9