RE: Mailman-Developers Digest, Vol 164, Issue 48
Keith
-- Keith L. Steward, Ph.D. work: 408-957-7777 x300 cell: 408-250-5213 Email: keith@BioinformaticsTech.com Web: http://www.BioinformaticsTech.com Pager: http://www.skytel.com/Paging/pageme.cgi?pin=8499479,1 or call 1-888-849-9479 FAX: 408-226-3215 408-40 (call ahead for setup)
-----Original Message----- From: mailman-developers-bounces@python.org [mailto:mailman-developers-bounces@python.org] On Behalf Of mailman-developers-request@python.org Sent: Sunday, December 29, 2002 7:54 PM To: mailman-developers@python.org Subject: Mailman-Developers Digest, Vol 164, Issue 48
Send Mailman-Developers mailing list submissions to mailman-developers@python.org
To subscribe or unsubscribe via the World Wide Web, visit http://mail.python.org/mailman/listinfo/mailman-developers or, via email, send a message with subject or body 'help' to mailman-developers-request@python.org
You can reach the person managing the list at mailman-developers-owner@python.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Mailman-Developers digest..."
Today's Topics:
- Re: [Mailman-Users] can't resolve "smrsh: mailman not available for sendmail programs" issue (Danny Terweij)
- email package bug (Jon Parise)
- Re: email package bug (Jon Parise)
- can't resolve "smrsh: mailman not available for sendmail programs" issue (Keith Steward)
- FW: [Mailman-Users] can't resolve "smrsh: mailman not available for sendmail programs" issue (Keith Steward)
- Re: email package bug (Barry A. Warsaw)
- RE: [Mailman-Users] can't resolve "smrsh: mailman not available for sendmail programs" issue (Keith Steward)
- Re: email package bug (Jon Parise)
Date: Sun, 29 Dec 2002 23:12:30 +0100 From: "Danny Terweij" danny@terweij.nl To: "Keith Steward" ksteward@keithsteward.com, mailman-users@python.org, mailman-developers@python.org Subject: [Mailman-Developers] Re: [Mailman-Users] can't resolve "smrsh: mailman not available for sendmail programs" issue Message-ID: 021501c2af87$61133650$1e00a8c0@onsnet.org References: 3E0F69B7.2000606@keithsteward.com Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: list Message: 1
|From: Keith Steward
|Arghhhh!!!
|After several attempts to get Mailman installed (including stable 2.0 final, and newest 2.1rc1), and hitting unresolvable "smrsh: |mailman not available for sendmail programs" issues (despite trying numerous things), i'm just about ready to give up.
|The /etc/aliases includes: |## test1 mailing list |test1: "|/etc/smrsh/mailman post test1" |test1-admin: "|/etc/smrsh/mailman admin test1" |test1-bounces: "|/etc/smrsh/mailman bounces test1" |test1-confirm: "|/etc/smrsh/mailman confirm test1" |test1-join: "|/etc/smrsh/mailman join test1" |test1-leave: "|/etc/smrsh/mailman leave test1" |test1-owner: "|/etc/smrsh/mailman owner test1" |test1-request: "|/etc/smrsh/mailman request test1" |test1-subscribe: "|/etc/smrsh/mailman subscribe test1" |test1-unsubscribe: "|/etc/smrsh/mailman unsubscribe test1"
Keith, this above is not good!!!! Must be like :
## poema-test mailing list mailman2.1 poema-test: "|/usr/local/mailman/mail/mailman post poema-test" poema-test-admin: "|/usr/local/mailman/mail/mailman admin poema-test" poema-test-bounces: "|/usr/local/mailman/mail/mailman bounces poema-test" poema-test-confirm: "|/usr/local/mailman/mail/mailman confirm poema-test" poema-test-join: "|/usr/local/mailman/mail/mailman join poema-test" poema-test-leave: "|/usr/local/mailman/mail/mailman leave poema-test" poema-test-owner: "|/usr/local/mailman/mail/mailman owner poema-test" poema-test-request: "|/usr/local/mailman/mail/mailman request poema-test" poema-test-subscribe: "|/usr/local/mailman/mail/mailman subscribe poema-test" poema-test-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe poema-test"
Danny.
Date: Sun, 29 Dec 2002 17:50:47 -0500 From: Jon Parise jon@horde.org To: mailman-developers@python.org Subject: [Mailman-Developers] email package bug Message-ID: 20021229225047.GA10776@csh.rit.edu Content-Type: multipart/mixed; boundary="6TrnltStXW4iwmi0" MIME-Version: 1.0 Precedence: list Message: 2
--6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline
One of my list members forwarded me the attached traceback. I'm don't have much clue with regard to the email package, though, so I'm passing it along to the group.
The fact that the user who sent me the report is using the French locale may be of note.
The attached traceback was generated when the user attempted to unsubscribe from a mailing list to which they belonged.
-- Jon Parise (jon@horde.org) :: The Horde Project (http://horde.org/)
--6TrnltStXW4iwmi0--
Date: Sun, 29 Dec 2002 17:55:45 -0500 From: Jon Parise jon@horde.org To: mailman-developers@python.org Subject: Re: [Mailman-Developers] email package bug Message-ID: 20021229225545.GB10776@csh.rit.edu In-Reply-To: 20021229225047.GA10776@csh.rit.edu References: 20021229225047.GA10776@csh.rit.edu Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Precedence: list Message: 3
On Sun, Dec 29, 2002 at 05:50:47PM -0500, Jon Parise wrote:
The attached traceback was generated when the user attempted to unsubscribe from a mailing list to which they belonged.
It appears the attachment was stripped. Here's an inlined plain text version:
Traceback (most recent call last): File "/usr/local/mailman/scripts/driver", line 87, in run_main main() File "/usr/local/mailman/Mailman/Cgi/confirm.py", line 118, in main unsubscription_confirm(mlist, doc, cookie) File "/usr/local/mailman/Mailman/Cgi/confirm.py", line 392, in unsubscription_confirm op, addr = mlist.ProcessConfirmation(cookie) File "/usr/local/mailman/Mailman/MailList.py", line 1090, in ProcessConfirmation self.ApprovedDeleteMember(addr, whence=whence) File "/usr/local/mailman/Mailman/MailList.py", line 924, in ApprovedDeleteMember self.SendUnsubscribeAck(name) File "/usr/local/mailman/Mailman/Deliverer.py", line 78, in SendUnsubscribeAck Utils.wrap(self.goodbye_msg), self.getMemberLanguage(addr)) File "/usr/local/mailman/Mailman/Message.py", line 203, in __init__ self['Subject'] = Header(subject, charset, header_name='Subject') File "/usr/local/mailman/pythonlib/email/Header.py", line 164, in __init__ self.append(s, charset) File "/usr/local/mailman/pythonlib/email/Header.py", line 230, in append ustr = unicode(s, incodec) UnicodeError: ASCII decoding error: ordinal not in range(128)
-- Jon Parise (jon@horde.org) :: The Horde Project (http://horde.org/)
Date: Sun, 29 Dec 2002 13:31:35 -0800 From: Keith Steward ksteward@keithsteward.com To: mailman-users@python.org, mailman-developers@python.org Subject: [Mailman-Developers] can't resolve "smrsh: mailman not available for sendmail programs" issue Message-ID: 3E0F69B7.2000606@keithsteward.com Content-Type: text/plain; charset=us-ascii; format=flowed MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: list Message: 4
Arghhhh!!!
After several attempts to get Mailman installed (including stable 2.0 final, and newest 2.1rc1), and hitting unresolvable "smrsh: mailman not available for sendmail programs" issues (despite trying numerous things), i'm just about ready to give up.
I've been able to get Mailman to send email to a new subscriber asking for confirmation, and the /var/log/maillog shows the response to the subscriber's confirmation email, but ALWAYS reporting the damn smrsh problem: -------- /var/log/maillog segment ------------ sendmail[30785]: gBTEUjD30785: from=ksteward@keithsteward.com, size=2749, class=0, nrcpts=1, msgid=test1-request@justice4injuredworkers.org (8/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=31743, dsn=5.0.0, stat=Service unavailable sendmail[30786]: gBTEUjD30785: gBTEUjD30786: DSN: Service unavailable sendmail[30786]: gBTEUjD30786: to=ksteward@keithsteward.com, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=31843, relay=keithsteward.com. [66.127.210.186], dsn=2.0.0, stat=Sent (gBTERt820385 Message accepted for delivery) ----------- end segment ---------------
*System information:* RedHat 7.2, Sendmail 8.11.6, Python-2.2.2 The /etc/aliases includes: ## test1 mailing list test1: "|/etc/smrsh/mailman post test1" test1-admin: "|/etc/smrsh/mailman admin test1" test1-bounces: "|/etc/smrsh/mailman bounces test1" test1-confirm: "|/etc/smrsh/mailman confirm test1" test1-join: "|/etc/smrsh/mailman join test1" test1-leave: "|/etc/smrsh/mailman leave test1" test1-owner: "|/etc/smrsh/mailman owner test1" test1-request: "|/etc/smrsh/mailman request test1" test1-subscribe: "|/etc/smrsh/mailman subscribe test1" test1-unsubscribe: "|/etc/smrsh/mailman unsubscribe test1" Sendmail can send and receive successfully from a regular (non-Mailman) account on the machine running Mailman. newaliases was run after the above aliases were added. /etc/smrsh contains: lrwxrwxrwx 1 root root 31 Dec 29 05:38 mailman -> /usr/local/mailman/mail/mailman The permissions on the /usr/local/mailman/mail/mailman wrapper are: -rwxr-sr-x 1 mailman mailman 39593 Dec 29 05:16 mailman
*Things i've tried:*
- ./configure --with-mail-gid=mail
- path to mailman wrapper in /etc/aliases as either '/usr/local/mailman/mail/mailman' or '/etc/smrsh/mailman'
- ln -s /etc/smrsh/mailman /usr/local/mailman/mail/mailman
- copying the compiled wrapper (/usr/local/mailman/mail/mailman) into /etc/smrsh
- changing uid/gid of the wrapper to mailman, to mail
- by-passing sendmail as a test as in: echo "confirm" | /etc/smrsh/mailman request test1, only to get mailman complaining about the gid
- by-passing root/sendmail as in: sudo -u mail "test" | /etc/smrsh/mailman request mailman, only to still get a gid complaint.
- restarting Sendmail daemon and Mailman's qrunner daemon after config changes.
By the way, i've done extensive reading of:
* Mailman INSTALL
* Mailman README.SENDMAIL
* Mailman README.LINUX
* Sendmails various READMES pertaining to SMRSH etc
* the mailman-developers list archives
At this point, i'm out of ideas on what to try, except to abandon Mailman and switch to something like Majordomo, etc. And frankly i think i've run out of time. I've spent several evenings on this already. Getting any kind of mailing list up and running is more important than the bells and whistles that Mailman offers.
thanks.
-keith s.
Date: Sun, 29 Dec 2002 17:28:56 -0800 From: "Keith Steward" ksteward@keithsteward.com To: mailman-users@python.org, mailman-developers@python.org Subject: [Mailman-Developers] FW: [Mailman-Users] can't resolve "smrsh: mailman not available for sendmail programs" issue Message-ID: Content-Type: text/plain; charset="Windows-1252" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: list Reply-To: keith@bioinformaticstech.com Message: 5
Danny,
I had it that way (i.e. "|/usr/local/mailman/mail/mailman post test1" in the /etc/aliases) before, and then tried the "|/etc/smrsh/mailman post test1", as indicated in the Mailman INSTALL doc. Both gave the "smrsh: mailman not available for sendmail" error.
thanks
Keith
-----Original Message----- From: Danny Terweij [mailto:danny@terweij.nl] Sent: Sunday, December 29, 2002 2:13 PM To: Keith Steward; mailman-users@python.org; mailman-developers@python.org Subject: Re: [Mailman-Users] can't resolve "smrsh: mailman not available for sendmail programs" issue
|From: Keith Steward
|Arghhhh!!!
|After several attempts to get Mailman installed (including stable 2.0 final, and newest 2.1rc1), and hitting unresolvable "smrsh: |mailman not available for sendmail programs" issues (despite trying numerous things), i'm just about ready to give up.
|The /etc/aliases includes: |## test1 mailing list |test1: "|/etc/smrsh/mailman post test1" |test1-admin: "|/etc/smrsh/mailman admin test1" |test1-bounces: "|/etc/smrsh/mailman bounces test1" |test1-confirm: "|/etc/smrsh/mailman confirm test1" |test1-join: "|/etc/smrsh/mailman join test1" |test1-leave: "|/etc/smrsh/mailman leave test1" |test1-owner: "|/etc/smrsh/mailman owner test1" |test1-request: "|/etc/smrsh/mailman request test1" |test1-subscribe: "|/etc/smrsh/mailman subscribe test1" |test1-unsubscribe: "|/etc/smrsh/mailman unsubscribe test1"
Keith, this above is not good!!!! Must be like :
## poema-test mailing list mailman2.1 poema-test: "|/usr/local/mailman/mail/mailman post poema-test" poema-test-admin: "|/usr/local/mailman/mail/mailman admin poema-test" poema-test-bounces: "|/usr/local/mailman/mail/mailman bounces poema-test" poema-test-confirm: "|/usr/local/mailman/mail/mailman confirm poema-test" poema-test-join: "|/usr/local/mailman/mail/mailman join poema-test" poema-test-leave: "|/usr/local/mailman/mail/mailman leave poema-test" poema-test-owner: "|/usr/local/mailman/mail/mailman owner poema-test" poema-test-request: "|/usr/local/mailman/mail/mailman request poema-test" poema-test-subscribe: "|/usr/local/mailman/mail/mailman subscribe poema-test" poema-test-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe poema-test"
Danny.
Date: Sun, 29 Dec 2002 21:20:12 -0500 From: barry@python.org (Barry A. Warsaw) To: Jon Parise jon@horde.org Cc: mailman-developers@python.org Subject: Re: [Mailman-Developers] email package bug Message-ID: 15887.44380.624951.180599@gargle.gargle.HOWL References: 20021229225047.GA10776@csh.rit.edu 20021229225545.GB10776@csh.rit.edu Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: list Message: 6
Any possibility you can send me the message? -Barry
Date: Sun, 29 Dec 2002 19:31:51 -0800 From: "Keith Steward" ksteward@keithsteward.com To: "'Larry Rosenman'" ler@lerctr.org Cc: mailman-developers@python.org Cc: mailman-users@python.org Subject: [Mailman-Developers] RE: [Mailman-Users] can't resolve "smrsh: mailman not available for sendmail programs" issue Message-ID: 005801c2afb3$fe0459e0$3800a8c0@STEWARD In-Reply-To: 106770000.1041211566@lerlaptop.lerctr.org Content-Type: text/plain; charset="Windows-1252" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: list Reply-To: keith@bioinformaticstech.com Message: 7
Larry,
BINGO! You hit the nail on the head !!! Problem solved!
Your comment prompted me to review the smrsh.c code within the sendmail distribution. When CMDDIR is not defined by the OS (I couldn't find in in any system *.h files), then in smrsh.c it defaults to /usr/adm/sm.bin/ . Even though RedHat7.2 already has an /etc/smrsh/ directory (including a link entry there for slocal), the Sendmail (at least the 8.11.6 version I downloaded and installed) was not using that directory. Instead, it was looking for the default /usr/adm/sm.bin/. The /etc/smrsh/ directory was a red herring! Once I created the /usr/adm/sm.bin, and chmod 755 (recommended by the smrsch/README within Sendmail), and then set up the symbolic link in there: mailman -> /usr/local/mailman/mail/mailman the problem disappeared.
Thanks!!!
-keith
-----Original Message----- From: Larry Rosenman [mailto:ler@lerctr.org] Sent: Sunday, December 29, 2002 5:26 PM To: keith@bioinformaticstech.com Subject: RE: [Mailman-Users] can't resolve "smrsh: mailman not available for sendmail programs" issue
--On Sunday, December 29, 2002 17:20:22 -0800 Keith Steward ksteward@keithsteward.com wrote:
Larry,
Yes, the /etc/smrsh/ directory contains a symbolic link to the mailman wrapper: ie. /etc/smrsh/mailman -> /usr/local/mailman/mail/mailman are you SURE that your SMRSH is set to use /etc/smrsh as it's CMDDIR?
Also, did you try it with the /usr/local/mailman/mail/mailman aliases as someone else pointed out?
LER
Thanks.
Keith
-- Keith L. Steward, Ph.D. work: 408-957-7777 x300 cell:
408-250-5213
Email: keith@BioinformaticsTech.com Web: http://www.BioinformaticsTech.com Pager: http://www.skytel.com/Paging/pageme.cgi?pin=8499479,1 or call 1-888-849-9479 FAX: 408-226-3215 408-40 (call ahead for setup)
-----Original Message----- From: Larry Rosenman [mailto:ler@lerctr.org] Sent: Sunday, December 29, 2002 2:08 PM To: Keith Steward; mailman-users@python.org; mailman-developers@python.org Subject: Re: [Mailman-Users] can't resolve "smrsh: mailman not available for sendmail programs" issue
Did you put links to the $MAILMANHOME/mail/mailman program in the CMDDIR directory for your copy of SMRSH?
LER
--On Sunday, December 29, 2002 13:31:35 -0800 Keith Steward ksteward@keithsteward.com wrote:
Arghhhh!!!
After several attempts to get Mailman installed (including stable 2.0
final, and newest 2.1rc1), and hitting unresolvable "smrsh: mailman not available for sendmail programs" issues (despite trying numerous things), i'm just about ready to give up. I've been able to get Mailman to send email to a new subscriber asking for confirmation, and the /var/log/maillog shows the response to the subscriber's confirmation email, but ALWAYS reporting the damn smrsh problem: -------- /var/log/maillog segment ------------ sendmail[30785]: gBTEUjD30785: from=ksteward@keithsteward.com, size=2749, class=0, nrcpts=1, msgid=test1-request@justice4injuredworkers.org (8/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=31743, dsn=5.0.0, stat=Service unavailable sendmail[30786]: gBTEUjD30785: gBTEUjD30786:
DSN: Service unavailable sendmail[30786]: gBTEUjD30786: to=ksteward@keithsteward.com, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=31843, relay=keithsteward.com. [66.127.210.186], dsn=2.0.0, stat=Sent (gBTERt820385 Message accepted for delivery) ----------- end segment ---------------
System information: RedHat 7.2, Sendmail 8.11.6, Python-2.2.2 The /etc/aliases includes: ## test1 mailing list test1: "|/etc/smrsh/mailman post test1" test1-admin: "|/etc/smrsh/mailman admin test1" test1-bounces: "|/etc/smrsh/mailman bounces test1" test1-confirm: "|/etc/smrsh/mailman confirm test1" test1-join: "|/etc/smrsh/mailman join test1" test1-leave: "|/etc/smrsh/mailman leave test1" test1-owner: "|/etc/smrsh/mailman owner test1" test1-request: "|/etc/smrsh/mailman request test1" test1-subscribe: "|/etc/smrsh/mailman subscribe test1" test1-unsubscribe: "|/etc/smrsh/mailman unsubscribe test1" Sendmail
can send and receive successfully from a regular (non-Mailman) account
on the machine running Mailman. newaliases was run after the above aliases were added. /etc/smrsh contains: lrwxrwxrwx 1 root root 31 Dec 29 05:38 mailman -> /usr/local/mailman/mail/mailman The permissions on the /usr/local/mailman/mail/mailman wrapper are: -rwxr-sr-x 1 mailman mailman 39593 Dec 29 05:16 mailman
Things i've tried:
- ./configure --with-mail-gid=mail
- path to mailman wrapper in /etc/aliases as either '/usr/local/mailman/mail/mailman' or '/etc/smrsh/mailman'
- ln -s /etc/smrsh/mailman /usr/local/mailman/mail/mailman
- copying the compiled wrapper (/usr/local/mailman/mail/mailman) into /etc/smrsh * changing uid/gid of the wrapper to mailman, to mail
- by-passing sendmail as a test as in: echo "confirm" | /etc/smrsh/mailman request test1, only to get mailman complaining about the gid * by-passing root/sendmail as in: sudo -u mail "test" | /etc/smrsh/mailman request mailman, only to still get a gid complaint.
- restarting Sendmail daemon and Mailman's qrunner daemon after config
changes. By the way, i've done extensive reading of:
- Mailman INSTALL
- Mailman README.SENDMAIL
- Mailman README.LINUX
- Sendmails various READMES pertaining to SMRSH etc
- the mailman-developers list archives At this point, i'm out of ideas on what to try, except to abandon Mailman and switch to something like Majordomo, etc. And frankly i think i've run out of time. I've spent several evenings on this already. Getting any kind of mailing list up and running is more important than
the bells and whistles that Mailman offers. thanks.
-keith s.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
Date: Sun, 29 Dec 2002 22:51:52 -0500 From: Jon Parise jon@horde.org To: "Barry A. Warsaw" barry@python.org Cc: mailman-developers@python.org Subject: Re: [Mailman-Developers] email package bug Message-ID: 20021230035152.GA17317@csh.rit.edu In-Reply-To: 15887.44380.624951.180599@gargle.gargle.HOWL References: 20021229225047.GA10776@csh.rit.edu 20021229225545.GB10776@csh.rit.edu 15887.44380.624951.180599@gargle.gargle.HOWL Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Precedence: list Message: 8
On Sun, Dec 29, 2002 at 09:20:12PM -0500, Barry A. Warsaw wrote:
Any possibility you can send me the message?
It looks like it's in the process of building the message when it dies (at least, that's my reading of the trace). How would I go about getting you the message contents?
-- Jon Parise (jon@horde.org) :: The Horde Project (http://horde.org/)
Mailman-Developers mailing list Mailman-Developers@python.org http://mail.python.org/mailman/listinfo/mailman-developers
End of Mailman-Developers Digest, Vol 164, Issue 48
participants (1)
-
Keith Steward