[Mailman-Users] Admin Password?

2009-05-30 Thread LuKreme

Where is the site administrators password set in the mailman config?

You must have the proper authorization to create new mailing lists.  
Each site should have a list creator's password, which you can enter  
in the field at the bottom. Note that the site administrator's  
password can also be used for authentication. 


--
Heisenberg's only uncertainty was what pub to vomit in next and
Jung fancied Freud's mother too. -- Jared Earle

--
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] Creating a new list fails

2009-05-30 Thread LuKreme


$ bin/newlist -l en --urlhost=mailman.covisp.net --emailhost=kreme.com hgt-sch...@kreme.com 
 kr...@kreme.com

Initial hgt-school password:
Create a new, unpopulated mailing list.

Usage: bin/newlist [options] [listname [listadmin-addr [admin- 
password]]]


[ bunch of stuff]

Illegal list name: hgt-sch...@akane

(akane is the hostname of the local machine.  I have existing lists at http://mailman.covisp.net/mailman/admin 
 but none are public)


--
No one ever thinks of themselves as one of Them. We're always one
of Us. It's Them that do the bad things.

--
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] Admin Password?

2009-05-30 Thread Mark Sapiro
LuKreme wrote:

Where is the site administrators password set in the mailman config?


bin/mmsitepass --help

-- 
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] Creating a new list fails

2009-05-30 Thread Mark Sapiro
LuKreme wrote:

$ bin/newlist -l en --urlhost=mailman.covisp.net --emailhost=kreme.com 
hgt-sch...@kreme.com 
  kr...@kreme.com
Initial hgt-school password:
Create a new, unpopulated mailing list.

Usage: bin/newlist [options] [listname [listadmin-addr [admin- 
password]]]

[ bunch of stuff]

Illegal list name: hgt-sch...@akane


The short answer is DEFAULT_EMAIL_HOST must be a fully qualified doman
name.

The underlying issue is the MailList.Create() method as called by
bin/newlist validates the list name by checking that
listn...@default_email_host is a valid email address. This check in
turn requires at least one dot '.' in the domain part.

-- 
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] question about postfix aliases file and postfix virtual file and local delivery

2009-05-30 Thread admin2

Hi there,

I have a question about changing the default behavior of postfix.  As 
current configuration stands I need to add a mailman maillist hosted by 
virtual hosts/domains I need to add the to list entries to the /var/lib/ 
mailman/data/aliases file and also the /etc/postfix/virtual file


Is there any way to get postfix to deliver mail to a virutal 
domain/hosted email, such as a mailman maillist, if it is found in the 
/var/lib/ mailman/data/aliases file but does not appear in the 
/etc/postfix/virtual file?


What about allowing postfix to deliver Incoming mail if an user and/or 
maillist address is a local user but does not appear in the 
/etc/postfix/virtual file?


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] question about postfix aliases file and postfixvirtual file and local delivery

2009-05-30 Thread Mark Sapiro
admin2 wrote:

I have a question about changing the default behavior of postfix.  As 
current configuration stands I need to add a mailman maillist hosted by 
virtual hosts/domains I need to add the to list entries to the /var/lib/ 
mailman/data/aliases file and also the /etc/postfix/virtual file


Or configure Mailman/Postfix integration for virtual domains so that
mailman will automatically maintain virtual maps in
/var/lib/mailman/data/virtual-mailman as it currently does aliases.

See http://www.list.org/mailman-install/postfix-virtual.html although
it is a bit out of date on the Postfix side.


Is there any way to get postfix to deliver mail to a virutal 
domain/hosted email, such as a mailman maillist, if it is found in the 
/var/lib/ mailman/data/aliases file but does not appear in the 
/etc/postfix/virtual file?


Only by adding the domain to mydestination in Postfix, thus making it a
local domain.


What about allowing postfix to deliver Incoming mail if an user and/or 
maillist address is a local user but does not appear in the 
/etc/postfix/virtual file?


In order to do that, it has to ba a local domain as far as Postfix is
concerned.

-- 
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] Creating a new list fails

2009-05-30 Thread LuKreme

On 30-May-2009, at 12:53, Mark Sapiro wrote:

LuKreme wrote:


$ bin/newlist -l en --urlhost=mailman.covisp.net -- 
emailhost=kreme.com hgt-sch...@kreme.com

kr...@kreme.com
Initial hgt-school password:
Create a new, unpopulated mailing list.

Usage: bin/newlist [options] [listname [listadmin-addr [admin-
password]]]

[ bunch of stuff]

Illegal list name: hgt-sch...@akane


The short answer is DEFAULT_EMAIL_HOST must be a fully qualified doman
name.


kreme.com _IS_ a fqdn.  Or are we talking about a setting somwhere  
else?  I do have several lists up and running, but they were all  
created years ago and have been pretty much left alone. If I trey to  
create a list via the web interface I get a different error:


Error: Unknown virtual host: mailman.covisp.net


The underlying issue is the MailList.Create() method as called by
bin/newlist validates the list name by checking that
listn...@default_email_host is a valid email address.


So I need to create the listname aliases before the list is created?


This check in
turn requires at least one dot '.' in the domain part.


I which domain part?  My mm_cfg.py is very simple:

###
# Here's where we get the distributed defaults.

from Defaults import *

##
# Put YOUR site-specific settings below this line.

VERP_CONFIRMATIONS = Yes
VERP_PASSWORD_REMINDERS = Yes
VERP_PERSONALIZED_DELIVERIES = Yes
VERP_DELIVERY_INTERVAL = 1
ADMIN_MEMBER_CHUNKSIZE = 100
OWNERS_CAN_ENABLE_PERSONALIZATION = Yes
ADMINDB_PAGE_TEXT_LIMIT = 4096
OWNERS_CAN_DELETE_THEIR_OWN_LISTS = Yes
HOLD_MESSAGES_AS_PICKLES = No

--
The person on the other side was a young woman. Very obviously a
young woman. There was no possible way that she could have been
mistaken for a young man in any language, especially Braille.

--
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] Creating a new list fails

2009-05-30 Thread Mark Sapiro
LuKreme krem...@kreme.com
   Date: Sat, 30 May 2009 14:55:44 -0600
 To: mailman-users@python.org

On 30-May-2009, at 12:53, Mark Sapiro wrote:
 LuKreme wrote:

 $ bin/newlist -l en --urlhost=mailman.covisp.net -- 
 emailhost=kreme.com hgt-sch...@kreme.com
 kr...@kreme.com
 Initial hgt-school password:
 Create a new, unpopulated mailing list.

 Usage: bin/newlist [options] [listname [listadmin-addr [admin-
 password]]]

 [ bunch of stuff]

 Illegal list name: hgt-sch...@akane

 The short answer is DEFAULT_EMAIL_HOST must be a fully qualified doman
 name.

kreme.com _IS_ a fqdn.  Or are we talking about a setting somwhere  
else?  


Yes, and this is really a bug in newlist in that you supplied an email
host, but it didn't put it in the initial Create() method call, so
create uses DEFAULT_EMAIL_HOST (from Defaults.py or mm_cfg.py) as the
domain to validate the list posting address. This setting is

DEFAULT_EMAIL_HOST = 'akane'.


I do have several lists up and running, but they were all  
created years ago and have been pretty much left alone. If I trey to  
create a list via the web interface I get a different error:

Error: Unknown virtual host: mailman.covisp.net


This is because you went to the create page via a URL with hostname
mailman.covisp.net, and that name is not in your VIRTUAL_HOSTS
dictionary. See below.


 The underlying issue is the MailList.Create() method as called by
 bin/newlist validates the list name by checking that
 listn...@default_email_host is a valid email address.

So I need to create the listname aliases before the list is created?


No. the check is for 'syntactically valid', not 'deliverable'


 This check in
 turn requires at least one dot '.' in the domain part.

I which domain part?  My mm_cfg.py is very simple:

###
# Here's where we get the distributed defaults.

from Defaults import *

##
# Put YOUR site-specific settings below this line.

VERP_CONFIRMATIONS = Yes
VERP_PASSWORD_REMINDERS = Yes
VERP_PERSONALIZED_DELIVERIES = Yes
VERP_DELIVERY_INTERVAL = 1
ADMIN_MEMBER_CHUNKSIZE = 100
OWNERS_CAN_ENABLE_PERSONALIZATION = Yes
ADMINDB_PAGE_TEXT_LIMIT = 4096
OWNERS_CAN_DELETE_THEIR_OWN_LISTS = Yes
HOLD_MESSAGES_AS_PICKLES = No


You also want (guessing based on above)

DEFAULT_URL_HOST = 'mailman.covisp.net'
DEFAULT_EMAIL_HOST = 'kreme.com'
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

because the Defaults.py entries for these are not correct, and possibly
more add_virtualhost('www.example.com', 'example.com') entries if you
have other domains.

-- 
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] Creating a new list fails

2009-05-30 Thread LuKreme

On 30-May-2009, at 14:55, LuKreme wrote:

I which domain part?  My mm_cfg.py is very simple:



OK, I fixed this by editing Defaults.py

--
The most perfidious way of harming a cause consists of defending
it deliberately with faulty arguments.

--
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] Creating a new list fails

2009-05-30 Thread LuKreme

On 30-May-2009, at 14:55, LuKreme wrote:

I which domain part?  My mm_cfg.py is very simple:



I managed to fix this by editing Defaults.py

DEFAULT_EMAIL_HOST = 'mail.covisp.net'
DEFAULT_URL_HOST = 'mailman.covisp.net'

Everything seems to work as it did before. Yay!

(both values were set to 'akane' before, which is an alias for the  
machine)


--
MEGAHAL: within my penguin lies a torrid story of hate and love.

--
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] Creating a new list fails

2009-05-30 Thread Mark Sapiro
LuKreme wrote:

I managed to fix this by editing Defaults.py

DEFAULT_EMAIL_HOST = 'mail.covisp.net'
DEFAULT_URL_HOST = 'mailman.covisp.net'


See the FAQ at http://wiki.list.org/x/fIA9 for why you should make
this change in mm_cfg.py, not Defaults.py.

It's a bit more complicated in this case than just adding the above two
lines to mm_cfg.py (although that would suffice for the newlist issue)
because those settings are used in an additional definition in
Defaults.py so you also need

VIRTUAL_HOSTS.clear()

to undo what was done in Defaults.py, and

add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

to redo it with the correct values.

-- 
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] my mailman has been hacked !!

2009-05-30 Thread Khalil Abbas

 

Ok I have a set of problems here.. 

 

First, posting to the list using Approved: header as the first line of the 
message body did not work becasue I'm sending formatted messages using 
Microsoft outlook with tables n stuff ..

 

Second, I tried the following: keep an email address as non moderated to be 
able to post to the list and in General options, I turned the option : 

 

Hide the sender of a message, replacing it with the list address  = YES

 

this way hackers n spammers won't know which address is allowed to post but now 
the subscribers are recieving From: listn...@mydomain.com and not from: 'My web 
site's Name' which is annoying.. 

 

Third, I can't afford to turn everyone's moderation bit on even my own address 
and then approve the messages using the web interface for 2 reasons:

 

1- I have 7 lists which is a real pain to log into each one of them and approve 
the messages..

2- I'm afraid to approve one of the tens of spam and members messages by 
mistake ..

 

what's the advice??

 

Thanks ..


 
 Date: Wed, 27 May 2009 16:39:28 -0700
 From: m...@msapiro.net
 To: jeff...@goldmark.org; khillo...@hotmail.com
 CC: mailman-users@python.org
 Subject: Re: [Mailman-Users] my mailman has been hacked !!
 
 Jeffrey Goldberg wrote:
 
 On May 27, 2009, at 1:23 PM, Khalil Abbas wrote:
 
  all members are moderated, except my own email address 
  (m...@email.com) which I use to post to the list ..
 
  someone sent from my address
 
 
  the 'From' name is not me,
 
 Please clarify. Did the From line contain your email address (m...@email.com 
 ) or not? You seem to be saying two different things.
 
 If, as I suspect, someone is merely forging your address to post to 
 the list, there are two things that you can do (I would recommend that 
 you do (1) as an immediate and temporary measure, until you can get 
 (2) in place).
 
 (1) Moderate even your own postings, so that your list moderator 
 password is required to post, even if from your own address.
 
 (2) Improve the spam/virus filtering on your mailserver. A forged 
 message from an open relay containing a virus should have been stopped 
 by your mail system long before it reached mailman.
 
 
 Two comments in addition to the above good advice.
 
 1) Almost anyone can spoof your address in the From: of an email. This
 does not require an open relay server or anything fancy. Almost any
 MUA can do it.
 
 2) That is why for announce lists we recommend moderating everyone and
 if you want to avoid moderation when posting, use an Approved: header
 to bypass moderation. See the FAQs at http://wiki.list.org/x/3YA9
 and http://wiki.list.org/x/XIA9.
 
 -- 
 Mark Sapiro m...@msapiro.net The highway is for gamblers,
 San Francisco Bay Area, California better use your sense - B. Dylan
 

_
Windows Liveā„¢: Keep your life in sync. Check it out!
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009
--
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] my mailman has been hacked !!

2009-05-30 Thread Mark Sapiro
Khalil Abbas wrote:

First, posting to the list using Approved: header as the first line of the 
message body did not work becasue I'm sending formatted messages using 
Microsoft outlook with tables n stuff ..


If you post a multipart/alternative message with a text/plain and a
text/html part, the first line Approved: header should work although
its removal from the HTML part isn't 100% guaranteed.

Also, I can';t tell you how to do it in MS Outlook, but many MUAs have
a mechanism for adding true headers to the mail.

Try http://www.google.com/#q=add+custom+header+outlook


Second, I tried the following: keep an email address as non moderated to be 
able to post to the list and in General options, I turned the option : 

 

Hide the sender of a message, replacing it with the list address  = YES

 

this way hackers n spammers won't know which address is allowed to post but 
now the subscribers are recieving From: listn...@mydomain.com and not from: 
'My web site's Name' which is annoying.. 


And it won't stop the spammers anyway. The spammers may have just been
lucky in spoofing your address, and even if you assume the got your
list address and posting address from spyware on one of your member's
computers, they have it.


Third, I can't afford to turn everyone's moderation bit on even my own address 
and then approve the messages using the web interface for 2 reasons:

 

1- I have 7 lists which is a real pain to log into each one of them and 
approve the messages..

2- I'm afraid to approve one of the tens of spam and members messages by 
mistake ..

 

what's the advice??


We gave you the advice. Post with an Approved: header or an Approved:
first line in a multipart/alternative message. You can 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