Re: [Mailman-Users] Server not connected in smtp-failure log

2005-08-31 Thread Mike Hanby
Damn, you are right.  Although some of the emails did make it through after
I restarted mailman, looking in the smtp-error log shows that I'm still
getting Server not connected errors :-(

Shoot, anyone with Postfix (or another MTA) seen this problem?

-Original Message-
From: Mark Sapiro [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 31, 2005 11:11
To: Mike Hanby; mailman-users@python.org
Subject: Re: [Mailman-Users] Server not connected in smtp-failure log

Mike Hanby wrote:

Ok, I think I've found the solution, I didn't need to mess with the
SMTPHOST, since localhost works just fine.  I commented that line out of my
mm_cfg.py file.

The following was set in my Default.py file
   SMTPPORT = 0
I changed it to the following in my mm_cfg.py file
   SMTPPORT = 25

And now it looks as though it's working.  Wonder why it was set to 0 in the
Default file.


So in effect you've done nothing since SMTPPORT = 0 tells the python
smtplib to use its default SMTP port which is port 25.

It may be that this is a transient issue between Mailman and the MTA
causing the connection to drop.


-Original Message-
snip
My questions:
   1) do I need to do anything to get mailman to re-read mm_cfg.py?

bin/mailmanctl restart


   2) Will mailman re-attempt to deliver the email to this user or will
he have to wait for my next newsletter email? (remember this is an
E-Newsletter type list)

If the error is considered a temporary failure by SMTPDirect, it will
be automatically retried. If it is considered permanent, it is
treated as a bounce.

--
Mark Sapiro [EMAIL PROTECTED]   The 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://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] Server not connected in smtp-failure log

2005-08-30 Thread Mike Hanby
Howdy all,

I have my mailman list set up as an E-Newsletter distribution list, i.e.
only email that I approve goes out to the list.

I am seeing the following errors being repeated over and over in my
/usr/local/mailman/logs/smtp-failure log

delivery to [EMAIL PROTECTED] failed with code -1: Server not connected

I found a possible solution to this in mailman-users list:
Write this line in your mm_cfg.py
MTA = 'Postfix'
SMTPHOST = 'aa.bb.cc.dd'

I already had the MTA line correct, but didn't have the SMTPHOST line.  I've
added that line.

My questions:
1) do I need to do anything to get mailman to re-read mm_cfg.py?
2) Will mailman re-attempt to deliver the email to this user or will
he have to wait for my next newsletter email? (remember this is an
E-Newsletter type list)

Thanks, Mike

--
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] Server not connected in smtp-failure log

2005-08-30 Thread Mike Hanby
Bah, ok, I'm still having trouble with this.  Some of the people on the list
get the emails from the list, but a bunch of others get this error in
smtp-failure like

delivery to [EMAIL PROTECTED] failed with code -1: Server not connected
delivery to [EMAIL PROTECTED] failed with code -1: Server not connected
delivery to [EMAIL PROTECTED] failed with code -1: Server not connected
delivery to [EMAIL PROTECTED] failed with code -1: Server not connected
...
and so on

I've tried that setting SMTPHOST '127.0.0.1' and SMTPHOST '10.0.0.1' and
also it's MX ip address, and all result in the following error:

Low level smtp error: Server not connected, msgid:
[EMAIL PROTECTED]

Commenting out SMTPHOST gets rid of the above Low level smtp error, but
the Server not connected errors continue.

My MTA is PostFix

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Mike Hanby
Sent: Tuesday, August 30, 2005 10:52
To: mailman-users@python.org
Subject: [Mailman-Users] Server not connected in smtp-failure log

Howdy all,

I have my mailman list set up as an E-Newsletter distribution list, i.e.
only email that I approve goes out to the list.

I am seeing the following errors being repeated over and over in my
/usr/local/mailman/logs/smtp-failure log

delivery to [EMAIL PROTECTED] failed with code -1: Server not connected

I found a possible solution to this in mailman-users list:
Write this line in your mm_cfg.py
MTA = 'Postfix'
SMTPHOST = 'aa.bb.cc.dd'

I already had the MTA line correct, but didn't have the SMTPHOST line.  I've
added that line.

My questions:
1) do I need to do anything to get mailman to re-read mm_cfg.py?
2) Will mailman re-attempt to deliver the email to this user or will
he have to wait for my next newsletter email? (remember this is an
E-Newsletter type list)

Thanks, Mike

--
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/flakrat%40yahoo.com

Security Policy:
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp

--
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] Server not connected in smtp-failure log

2005-08-30 Thread Mike Hanby
Ok, I think I've found the solution, I didn't need to mess with the
SMTPHOST, since localhost works just fine.  I commented that line out of my
mm_cfg.py file.

The following was set in my Default.py file
SMTPPORT = 0
I changed it to the following in my mm_cfg.py file
SMTPPORT = 25

And now it looks as though it's working.  Wonder why it was set to 0 in the
Default file.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Mike Hanby
Sent: Tuesday, August 30, 2005 11:53
To: mailman-users@python.org
Subject: Re: [Mailman-Users] Server not connected in smtp-failure log

Bah, ok, I'm still having trouble with this.  Some of the people on the list
get the emails from the list, but a bunch of others get this error in
smtp-failure like

delivery to [EMAIL PROTECTED] failed with code -1: Server not connected
delivery to [EMAIL PROTECTED] failed with code -1: Server not connected
delivery to [EMAIL PROTECTED] failed with code -1: Server not connected
delivery to [EMAIL PROTECTED] failed with code -1: Server not connected
...
and so on

I've tried that setting SMTPHOST '127.0.0.1' and SMTPHOST '10.0.0.1' and
also it's MX ip address, and all result in the following error:

Low level smtp error: Server not connected, msgid:
[EMAIL PROTECTED]

Commenting out SMTPHOST gets rid of the above Low level smtp error, but
the Server not connected errors continue.

My MTA is PostFix

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Mike Hanby
Sent: Tuesday, August 30, 2005 10:52
To: mailman-users@python.org
Subject: [Mailman-Users] Server not connected in smtp-failure log

Howdy all,

I have my mailman list set up as an E-Newsletter distribution list, i.e.
only email that I approve goes out to the list.

I am seeing the following errors being repeated over and over in my
/usr/local/mailman/logs/smtp-failure log

delivery to [EMAIL PROTECTED] failed with code -1: Server not connected

I found a possible solution to this in mailman-users list:
Write this line in your mm_cfg.py
MTA = 'Postfix'
SMTPHOST = 'aa.bb.cc.dd'

I already had the MTA line correct, but didn't have the SMTPHOST line.  I've
added that line.

My questions:
1) do I need to do anything to get mailman to re-read mm_cfg.py?
2) Will mailman re-attempt to deliver the email to this user or will
he have to wait for my next newsletter email? (remember this is an
E-Newsletter type list)

Thanks, Mike

--
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/flakrat%40yahoo.com

Security Policy:
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp

--
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/flakrat%40yahoo.com

Security Policy:
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp

--
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] Secure the admin pages

2005-08-19 Thread Mike Hanby
Thanks Jim, I'll give that a shot.

Does anyone know if the admin admindb and others are secure, or are there
known ways to get around them to get to the membership email list?

-Original Message-
From: Jim Tittsler [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 18, 2005 23:00
To: Mike Hanby
Cc: mailman-users@python.org
Subject: Re: [Mailman-Users] Secure the admin pages

On 2005-08-18 23:14, Mike Hanby wrote:
 Howdy, does anyone know if it's possible to secure the admin pages with an
 .htaccess type security?
[...]
 Ex:  http://www.mydomain.com/mailman/admin/mailinglist
 
 Going to this page would pop up an Apache login prompt.  If successful,
then
 the page would load where they would then have to log in using mailman's
 List Administrator Password.

You could use a FilesMatch directive to restrict access to the cgi 
scripts you were interested in:

FilesMatch (admin|admindb|create|edithtml|rmlist)
   AuthName Mailman
   [...]
   require valid-user
/FilesMatch

(Or a LocationMatch directive in your Apache configuration.)

Jim

P.S.  Your message might get more attention if you sent a new message 
to the mailing list rather than hijacking an existing thread (as you 
did by replying to a different message and simply changing the 
subject).  People that browse the list by thread might not see your 
message the way you have done it.

-- 
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] Mailman error when sending to test-subscribe

2005-08-10 Thread Mike Hanby
Thanks John, that did it.  I did, however have to create the
/usr/local/mailman directory first, it wouldn't configure until I did that.
So, here's my new steps.

% cd /usr/src
% tar -zxvf ./mailman-2.1.6.tgz

# mkdir /usr/local/mailman
# chgrp mailman /usr/local/mailman#did this according to the README
# chmod a+rx,g+ws /usr/local/mailman  #did this according to the README

% ./configure --with-mail-gid=nogroup

# make
# make install

And there you have it.  The README led me to believe you were supposed to
run the install in the destination directory, I thought that was weird, I
must have misunderstood what I read :-)

Thanks again.
Mike

-Original Message-
From: John Dennis [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 09, 2005 15:12
To: Mike Hanby
Cc: mailman-users@python.org
Subject: Re: [Mailman-Users] Mailman error when sending to test-subscribe

On Tue, 2005-08-09 at 14:24 -0500, Mike Hanby wrote:
 Ok, I reinstalled, here are the steps that I followed (btw I'm using
 Slackware 10).
 
 As root, I created the mailman user and mailman group.  I have mailman
 temporarily set up to allow shell access (so I can install as mailman).

You do not need to be mailman to install mailman, to install mailman you
should be root. The mailman user and group will need to exist prior to
installation so that the installed components can be assigned that
identity.

 # cd /usr/local
 # tar -zxvf ./mailman-2.1.6.tgz
 # chgrp -R mailman ./mailman-2.1.6
 # chmod -R a+rx,g+ws ./mailman-2.1.6
 # ln -s ./mailman-2.1.6 ./mailman
 # su - mailman

None of this is necessary (except for untaring)

 % cd /usr/local/mailman
 % ./configure --with-mail-gid=nogroup
 % make install  ./mailman-install.log 21

ouch. you're building in the install area before you've installed,
sounds like a recipe for disaster. :-) You've also installed as the user
mailman, not root.

Think of your build area as a staging area that is used to construct
what will be placed into the the install area by the root user. By
trying to point the install at your build you're going to step all over
what you've built as it installs. It's equivalent to trying to copy a
file onto itself :-(

 I still don't see the ./scripts/subscribe script.

The subscribe script is just a copy of the join script (unsubscribe is a
copy of leave). The part of install that copied the existing scripts
worked, the part that installed copies of join and leave did not. I'm
not sure why that part of the install failed but installing into the
build area and not being root during the install are likely culprits.
-- 
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] Force emails to the list to show up as FROM: a specific user

2005-08-10 Thread Mike Hanby
Howdy,

 

I'm setting up a list to be used as a newsletter distribution list.  In that
regards, any email that goes out to the list will only get delivered after
the list admin accepts it.

 

I'd like any email sent to the list to appear to come from the user:
MyCompany Newsletter [EMAIL PROTECTED]

 

Is this possible?  Right now, I'm having to send the emails using that
account, but I'd like for my boss to be able to send the list an email from
his home email account, list admin approve it, and have it show up as from
MyCompany Newsletter [EMAIL PROTECTED], rather than John P Smith
[EMAIL PROTECTED]

 

Thanks in advance,

 

Mike

 

=

Mike Hanby

ATcon

2201 Cahaba Valley Drive

Birmingham, AL 35242

 

Texas Aggie, Class of '94

==

Got Virus-scan? -- Of 147 billion e-mails scanned by IBM for customers

in 2004, one in 16, or 6 percent, contained a virus. During 2002, just 0.5
percent

of e-mail scanned had viruses.

==

 

--
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 error when sending to test-subscribe

2005-08-08 Thread Mike Hanby
Howdy, I'm have the following setup:

  Postfix:2.2.3

  Mailman:2.1.6

 

THE PROBLEM:

  Here's the error I see in my /var/log/maillog after sending a mail to
[EMAIL PROTECTED]

 

to=[EMAIL PROTECTED], relay=local, delay=1, status=bounced
(Command died with status 2: /usr/local/mailman/mail/mailman subscribe
test. Command output: /usr/bin/python: can't open file
'/usr/local/mailman/scripts/subscribe' )

 

  I looked in /usr/local/mailman/scripts and sure enough that script
isn't there!

  

 

MY CONFIGURATION:

I installed from source using the configure command:

  ./configure --with-mail-gid=nogroup

 

Based on one of the Postfix install guides, I have these settings in my
/etc/aliases file (and in the aliases.db created by ./bin/genaliases)

  test:  |/usr/local/mailman/mail/mailman post test

test-admin:|/usr/local/mailman/mail/mailman admin test

test-bounces:  |/usr/local/mailman/mail/mailman bounces test

test-confirm:  |/usr/local/mailman/mail/mailman confirm test

test-join: |/usr/local/mailman/mail/mailman join test

test-leave:|/usr/local/mailman/mail/mailman leave test

test-owner:|/usr/local/mailman/mail/mailman owner test

test-request:  |/usr/local/mailman/mail/mailman request test

test-subscribe:|/usr/local/mailman/mail/mailman subscribe test

test-unsubscribe:  |/usr/local/mailman/mail/mailman unsubscribe test

 

--
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