Re: [Mailman-Users] Mailmain Error

2005-06-07 Thread Jim Tittsler
On Jun 7, 2005, at 03:55, Mark Sapiro wrote:

 Job /usr/bin/python -S /usr/lib/mailman/cron/disabled terminated  
 (exit
 status: 1) (mailing output)

 Job /usr/bin/python -S /usr/lib/mailman/cron/senddigests  
 terminated (exit
 status: 1) (mailing output)


 Is there anything in Mailman's error log about these?

And what was in the output that was mailed to the mailman user (the  
owner of the crontab, or the person you direct cron output to with  
the MAILTO directive)?

(I suspect you still have permissions problems.)


-- 
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
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Customizing Rejection notice with 2.1.6?

2005-06-07 Thread Jim Tittsler
On Jun 7, 2005, at 10:38, David Gibbs wrote:

 Mark Sapiro wrote:

 The message only applies to posts automatically rejected for
 reject_these_nonmembers match and generic_nonmember_action reject.


 Darn it ... I misunderstood that.

You could customize the default message in Mailman/Handlers/Hold.py  
(and, if you want it to remain translatable, any of the language .po  
files you need) (for Mailman 2.1.5 or 2.1.6).

A Javascript bookmarklet used on the web moderation page might be  
another possibility.

-- 
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
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] First-time poster...

2005-06-07 Thread Bill Landry
- Original Message - 
From: John Dennis [EMAIL PROTECTED]

 Short of that the only other things I can think of would be to strace
 (assuming you're on a system with strace, e.g. Linux) the postfix
 process and seeing where the failure occurs and/or to look at the
 postfix code that performs the lookup and see exactly what c lib
 functions it's calling and what triggers it to return a failure.

Doh, ended up being a chroot issue in master.cf.  Thanks John, Mark, and Dan 
for the responses, and my apologies to the list for the noise...

Bill 

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] mailman + postfix with mysql

2005-06-07 Thread Grigory Fateyev
Hello Grigory Fateyev!
On Mon, 6 Jun 2005 18:39:15 +0400 you wrote:

 Hello!
 
 I have good working mailsystem: postfix with mysql. Now I need mailman
 install.
 
  main.cf
 alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
 virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman,  
 
 mysql:/etc/postfix/mysql_virtual_alias_maps.cf
 
 -rw-r-  1 root list 12288 Jun  6 17:18
 /var/lib/mailman/data/aliases.db
 
 -rw-r--r--  1 list list 12288 Jun  6 17:18
 /var/lib/mailman/data/virtual-mailman.db
 
  aliases and virtual-mailman
 # STANZA START: selsovet
 # CREATED: Mon Jun  6 17:18:48 2005
 selsovet: |/var/lib/mailman/mail/mailman post selsovet
 selsovet-admin:   |/var/lib/mailman/mail/mailman admin selsovet
 selsovet-bounces: |/var/lib/mailman/mail/mailman bounces
 selsovet selsovet-confirm: |/var/lib/mailman/mail/mailman
 confirm selsovet selsovet-join:   
 |/var/lib/mailman/mail/mailman join selsovet selsovet-leave:  
 |/var/lib/mailman/mail/mailman leave selsovet selsovet-owner:  
 |/var/lib/mailman/mail/mailman owner selsovet selsovet-request:
 |/var/lib/mailman/mail/mailman request selsovet selsovet-subscribe: 
  |/var/lib/mailman/mail/mailman subscribe
 selsovet selsovet-unsubscribe: |/var/lib/mailman/mail/mailman
 unsubscribe selsovet # STANZA END: selsovet
 
 but at that time I have:
 Jun  6 17:25:46 megre postfix/smtpd[14520]: NOQUEUE: reject: RCPT from
 unknown[62.33.35.93]: 550 [EMAIL PROTECTED]: Recipient address
 rejected: User unknown in virtual mailbox table;
 from=[EMAIL PROTECTED] to=[EMAIL PROTECTED] proto=ESMTP
 helo=mydomain.ru
 
 Why can not correct install mailman?
 
Smb can help me?

-- 
 !
greg_[at]_anastasia_[dot]_ru .
http://counter.li.org/ registered Linux user #389407
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp

[Mailman-Users] chroot jails (Was: First-time poster...)

2005-06-07 Thread John Dennis
On Tue, 2005-06-07 at 02:42 -0700, Bill Landry wrote:

 Doh, ended up being a chroot issue in master.cf.  Thanks John, Mark, and Dan 
 for the responses, and my apologies to the list for the noise...

Glad you got it fixed.

I'd like to take this opportunity to make a few comments about chroot
jails, this is not directed at you or your choice to use them but rather
as a general comment of interest to the wider community.

For what its worth I see this as a prime example of why I no longer
recommend people run postfix (and other services) in a chroot jail. We
stopped shipping postfix chrooted several years ago after observing the
inordinate amount of problems it created for a marginal security win.
Postfix is now often configured to interact with a host of other
software components (SASL, TLS, SQL databases, LDAP directories, mailing
list managers, spam filters, challenage/response authentcation methods,
etc.) and as such its tenticles reach deep and wide. Trying to keep all
these diverese elements in sync in a jail is a headache and a source of
numerous problems often ascribed as bugs but which aren't. Even Wietse
Venema the author of postfix no longer recommends the use of chroot
jails although this was a design center of the original postfix security
model. Chroot jails can be broken out of. Even without chroot jails
postfix maintains a fairly robust security profile because of its
design.

Finally, with the advent of SELinux (yes, postfix, mailman, and apache
are under the control of SELinux on Red Hat systems) the value of a jail
is greatly diminished in favor of the vastly more robust security model
inherent in SELinux. In fact it might be a reasonable statement that
SELinux is itself a system wide jail enforced at the kernel level for
every process and every object (e.g. files, sockets, devices, etc.). It
is a Mandatory Access Control (MAC) sytem which means it cannot be
defeated and offers great granularity (and unforuntely its own set of
new headaces as the wrinkles in the security policy are ironed out ;-)

-- 
John Dennis [EMAIL PROTECTED]

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] mailman + groupware software

2005-06-07 Thread Christian Schoepplein
Hello,

I wonder if there is a groupware software available, that has mailman 
integrated somehow.

-- 
Gruss / Regards,
Christian Schoepplein chris at schoeppi.net

Linux for the blind: http://www.blinux.suse.de


signature.asc
Description: Digital signature
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp

[Mailman-Users] Permitted IP Address?

2005-06-07 Thread Bill Landry
We have a script that will send out automated service notification messages 
to different lists.  Is there a way to configure Mailman to allow posts to 
any lists from a specific IP address, that of the script server?

Bill 

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Messages not delivered *RESOLVED*

2005-06-07 Thread Robert Haack
I just thought that I would report on what I've found.

I setup another copy of Mailman on a different server and created all of 
the exact same test lists I had on my live server.  However on this 
server I did not install Jim Tittsler's patch to allow another list to 
post to a list.  I just copied the users who could post to the list into 
the Addresses that should be accepted.  I created a quick and dirty 
program to send emails to all of the lists as different user names.  
After running 30 tests I had no problems with any messages getting 
lost.  So today I changed all of my test lists on my live server so that 
they no longer use a list name to verify who can post to the list.  I 
just took their names and pasted them in.  I ran another 30 tests and 
again had no problem.  So to me it seems to be this patch that caused my 
problems and the patch works great if a user only posts to a single 
list, but if they post to multiple lists then that's when the problem 
arose for me.

So now I have another question.  Is there some way that I can 
automatically add a name to the List of non-member addresses whose 
postings should be automatically accepted?  For us this list changes on 
a regular basis and I'd hate to have to go through our 20+ lists and 
update them all manually?

TIA

Robert Haack
Programmer Analyst
North Clackamas School District #12
[EMAIL PROTECTED]



Robert Haack wrote:

Robert Haack wrote:

 



I've been doing some testing and here is what I've found in addition to

what's below:

I sent a message to 6 lists titled test, testtwo, test3, test_4, test_5, 
and test_6.  On a consistent basis it appears that only 4 of these lists 
get the message.  If I look at my postfix log I see that the message was 
processed successfully yet when I look in the mailman/qfiles/in 
directory I only see the message come through to 4 of the 6 lists (I 
know this partly because the message get stuck in the que).  It's not 
the same 4 lists each time that the message comes through to either and 
there are no messages in any of the other directories under qfiles/.  I 
see nothing in the Mailman log files that indicates any error.  It's 
almost like postfix hands the message off to Mailman and then things go 
haywire.
   

  

Does the postfix log show that the message was piped to the wrapper for
all 6 lists (i.e. six deliveries)?



Mark,

I believe it does.  I've included the partial log for each of the 6 
lists I mentioned.  I didn't know if it would help any but I figured it 
was worth a shot.   The interesting thing I noticed was that testtwo, 
test3, and test_6 all show 2 bounces in the log file as well yet for 
both tests I ran today I actually got both messages from these 3 lists.  
I got one message for the list test_5 and it had one bounce.  I got 0 
bounces for list test and test_4.  I got one message to the test list 
and got none for list test_4. 

Jun  3 08:27:52 nclack postfix/local[23906]: 35B0C46A02: 
to=[EMAIL PROTECTED]
us, relay=local, delay=0, status=sent (|/var/mailman/mail/mailman post 
test)
Jun  3 08:52:28 nclack postfix/local[27457]: DE71346A09: 
to=[EMAIL PROTECTED]
us, relay=local, delay=1, status=sent (|/var/mailman/mail/mailman post 
test)

Jun  3 08:27:52 nclack postfix/local[23471]: 35B0C46A02: 
to=[EMAIL PROTECTED]
or.us, relay=local, delay=0, status=sent (|/var/mailman/mail/mailman 
post test
two)
Jun  3 08:42:28 nclack postfix/qmgr[1959]: A297846A02: 
from=[EMAIL PROTECTED]
ack.k12.or.us, size=1707, nrcpt=1 (queue active)
Jun  3 08:52:28 nclack postfix/local[27498]: DE71346A09: 
to=[EMAIL PROTECTED]
or.us, relay=local, delay=1, status=sent (|/var/mailman/mail/mailman 
post test
two)
Jun  3 08:52:31 nclack postfix/qmgr[1959]: 14DCF46A09: 
from=[EMAIL PROTECTED]
ack.k12.or.us, size=1691, nrcpt=1 (queue active)

un  3 08:27:52 nclack postfix/local[23856]: 35B0C46A02: 
to=[EMAIL PROTECTED]
.us, relay=local, delay=0, status=sent (|/var/mailman/mail/mailman 
post test3
)
Jun  3 08:27:54 nclack postfix/qmgr[1959]: 0FBA746A02: 
from=[EMAIL PROTECTED]
k.k12.or.us, size=1735, nrcpt=1 (queue active)
Jun  3 08:52:28 nclack postfix/local[27449]: DE71346A09: 
to=[EMAIL PROTECTED]
.us, relay=local, delay=1, status=sent (|/var/mailman/mail/mailman 
post test3
)
Jun  3 08:55:00 nclack postfix/qmgr[1959]: 5DC8B46A08: 
from=[EMAIL PROTECTED]
k.k12.or.us, size=1719, nrcpt=1 (queue active)

Jun  3 08:27:52 nclack postfix/local[24626]: 35B0C46A02: 
to=[EMAIL PROTECTED]
r.us, relay=local, delay=0, status=sent (|/var/mailman/mail/mailman 
post test_
4)
Jun  3 08:52:28 nclack postfix/local[27456]: DE71346A09: 
to=[EMAIL PROTECTED]
r.us, relay=local, delay=1, status=sent (|/var/mailman/mail/mailman 
post test_
4)

Jun  3 08:27:52 nclack postfix/local[24619]: 35B0C46A02: 
to=[EMAIL PROTECTED]
r.us, relay=local, delay=0, status=sent (|/var/mailman/mail/mailman 
post test_
5)
Jun  3 08:52:28 nclack postfix/local[27443]: DE71346A09: 
to=[EMAIL PROTECTED]
r.us, relay=local, delay=1, 

[Mailman-Users] Forwarding a Moderated Message/Content Type

2005-06-07 Thread Hunter Hillegas
I want to ask something before I send out a message to a huge list.

The message is an HTML message. I setup the list and subscribed three
people, then sent the message as a test. It came through perfectly.

I have now subscribed all my users and am ready to send the message to the
list. Right now it is in the moderated queue.

From that Web page, I used the option:
 Forward messages (individually) to:

The message I received from this forward DID NOT look correct.

The content types of the two messages are different:

Correct HTML: Content-Type: multipart/alternative;
Incorrect (Forward): Content-Type: message/rfc822

Looking at the headers for the forwarded message, it looks like it wraps the
original content in a plain text message... If that is true, when I approve
the message it should go through with the correct Content-Type, yes?

Before I send out this massive mailing, I'd like to make sure I am doing
this correctly.

Thanks,
Hunter


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Messages silently dropped after being approved

2005-06-07 Thread Ryan Rempel
I am having a problem with messages sometimes being silently dropped
after being approved.

I successfully get the message telling me that there is a message
waiting for approval. I then use the web interface to approve it. The
approval is noted in the vette log. The message is copied to the
appropriate archive. However, it does not appear in the post log,
nor in the smtp log (and, of course, the message is not sent --
nothing appears in the log of my mail server). There is nothing in the
error log.

If I restart mailman, and then send a message again, the process works
as expected (i.e. I can approve it and it actually goes out). As a
workaround, I tried a cron job that would stop and start mailman every
hour, but that doesn't appear to help. (I guess it only helps if I
restart mailman after the problem has occured).

I'm running Mailman 2.1.5 on FreeBSD 5.4.

I am using a modified version of the LDAP member adaptor for the lists
in question. For that reason, I am fully prepared to believe that it
is something in the LDAP member adaptor (or my modifications) that is
causing the problem. But as there is no error message in the log, I'm
a little at a loss to figure out what is going on.

If anyone has seen something like this and can offer suggestions for
tracking it down, I would be most grateful.

Perhaps my best bet would be to set up a test list (with just myself
as a member, so as not to annoy the list with test messages) and try
to reproduce the problem. I could then put some logging statements in
the Mailman code to see if I can narrow down where the problem occurs.
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Permitted IP Address?

2005-06-07 Thread Jim Tittsler
On Tue, Jun 07, 2005 at 01:02:10PM -0700, Bill Landry wrote:
 We have a script that will send out automated service notification messages 
 to different lists.  Is there a way to configure Mailman to allow posts to 
 any lists from a specific IP address, that of the script server?

If you taught your script the password for each of the lists,
it could add an Approved: header to the messages it crafts.

A cleaner way would be to add a stage early in the pipeline of
handler modules that identified messages from the script (by IP
address in a received header, or a special header that would be
hard to forge) and set 'approved' and 'adminapproved' for the
message.  (See Mailman/Handlers/Approve.py and SpamDetect.py
for starting places.)


-- 
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
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Permitted IP Address?

2005-06-07 Thread Bill Landry
- Original Message - 
From: Jim Tittsler [EMAIL PROTECTED]

 On Tue, Jun 07, 2005 at 01:02:10PM -0700, Bill Landry wrote:
 We have a script that will send out automated service notification 
 messages
 to different lists.  Is there a way to configure Mailman to allow posts 
 to
 any lists from a specific IP address, that of the script server?

 If you taught your script the password for each of the lists,
 it could add an Approved: header to the messages it crafts.

 A cleaner way would be to add a stage early in the pipeline of
 handler modules that identified messages from the script (by IP
 address in a received header, or a special header that would be
 hard to forge) and set 'approved' and 'adminapproved' for the
 message.  (See Mailman/Handlers/Approve.py and SpamDetect.py
 for starting places.)

Thanks Jim, I will look into that.  For now, I simply added the sending 
scripts e-mail address to all of the lists and set the flags to nomail and 
hide.

Bill 

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Migration from Linux to MacOSX

2005-06-07 Thread John W. Baxter
On 6/6/05 10:06 AM, Carfield Yim [EMAIL PROTECTED] wrote:

 Thx for the information, however I get problem from the starting...
 where can I download the binary of mailman? I just have a mac mini which
 don't come with make and gcc. Besides, as I don't have other software
 need to compile, I would like prevent this process, do you know anywhere
 can download the binary?

The Mini's DVD Mac OS X Install Disk 1 includes at the top level a folder
Xcode Tools  make, gcc etc are in there, but you'll need to run the
installer inside the folder and install most of XCode (I think there may be
a few things you can leave out...I don't, so I'm not sure).

  --John


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp