Re: [Mailman-Users] Problem hooking mailman up with sendmail

2006-12-19 Thread stupidmail4me

--- Clement Hermann
[EMAIL PROTECTED] wrote:

 stupidmail4me a écrit :
  Here's the setup:
  OpenBSD 4.0
  Mailman 2.1.8p3
 
  I have in my mc file I have
  VIRTUSER_DOMAIN(`lists.foo.org') set (and yes,
 I've
  run m4 and made the cf file). In mailertable I've
 got
  lists.foo.org mailman:lists.foo.org. But if I try
 and
  send a message I get a 550 5.1.1 User Unknown.
 

 I'm  not sure I understand what you're trying, but I
 never added a
 mailman mailer, and so a mailman:domain definition
 in the mailertable.
 Rather, the mailman mails should go thru the local
 mailer, then thru
 prog with pipes aliases (local name: |command).
 
 Also, IIRC, putting a domain in mailertable will
 prevent the
 virtusertable to be checked, so the virtuser_domain
 is useless here.
 However, I'm not really sure about the order, need a
 sendmail expert here ;)

VIRTUSER_DOMAIN is not useless, it still gets run
through virtusertable. You need a VIRTUSER_DOMAIN so
that it runs through a mailer (which becomes the
local mailer, in this case, mm-handler).

 
 I'm almost sure that you cannot have both, though.
 
 Regards,
 
 -- 
 Clément Hermann
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
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] Problem hooking mailman up with sendmail

2006-12-19 Thread stupidmail4me
Precisely Mr Hermann. As such, it has to be invoked
via mailertable (for an entire domain) or via aliases
for specific addresses.

--- Mark Sapiro [EMAIL PROTECTED] wrote:

 Clement Hermann wrote:
 
 Do you use a specific mailer macro to execute
 mailman without using
 aliases ? I do not know the mm-handler you're
 talking about.
 
 
 mm-handler is a script in the contrib/ directory of
 the distribution.
 it is intended to be invoked by Sendmail to receive
 all mail addressed
 to a specific domain (the one used for the Mailman
 list addresses) and
 deliver it properly to Mailman.
 
 -- 
 Mark Sapiro [EMAIL PROTECTED]   The highway is
 for gamblers,
 San Francisco Bay Area, Californiabetter use
 your sense - B. Dylan
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
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] Problem hooking mailman up with sendmail

2006-12-18 Thread stupidmail4me
I'm pulling my hair out on this one.

I have mailman working on one machine and can't get it
to work on another with the exact same config.

Here's the setup:
OpenBSD 4.0
Mailman 2.1.8p3

I have in my mc file I have
VIRTUSER_DOMAIN(`lists.foo.org') set (and yes, I've
run m4 and made the cf file). In mailertable I've got
lists.foo.org mailman:lists.foo.org. But if I try and
send a message I get a 550 5.1.1 User Unknown.

What am I doing wrong? For the life of me I'v  tried
everything?!?!?!?!


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
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 not archiving

2006-10-11 Thread stupidmail4me
OK. I'm an absolute idiot! I'm very sorry for wasting
your time. You've been absolutely right the whole time
(we both just didn't know it).

So. It never reached the archive runner so it was
never archived. It was successfully sent, but never
through the actual list. I was just using mailman@ as
a test bed before I set up my other lists. I've also
set up a virtuser in virtusertable
([EMAIL PROTECTED] to root) because you don't
really want mailman alerting you to the fact that it's
not broken. So sendmail was reading this before it got
sent to the mailman mailer!

Absolute idiot! Thank you so very much!

--- Mark Sapiro [EMAIL PROTECTED] wrote:

 stupidmail4me wrote:
 
 Yes, the qrunner log shows the shutdown and startup
 from mailmanctl. I've also checked and ToArchive is
 in
 the pipeline (it's not commented out or changed in
 any
 conf file). This is why it's so odd.
 
 
 The patch I posted causes ToArchive to write the
 'ToArchive invoked
 message-id' message to the debug log as the very
 first thing it
 does. Therefore, the absence of this log message
 seems to say it isn't
 being invoked at all.
 
 Does the list have a 'pipeline' attribute? (Run
 'bin/dumpdb
 lists/listname/config.pck' to check.)
 
 -- 
 Mark Sapiro [EMAIL PROTECTED]   The highway is
 for gamblers,
 San Francisco Bay Area, Californiabetter use
 your sense - B. Dylan
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
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 not archiving

2006-10-10 Thread stupidmail4me
Nothing. It doesn't create any log and there's no
appropriate entries in any log.

I've checked the headers for the delivered messages
and there's no x-archive headers (they're not being
myteriously added).

--- Mark Sapiro [EMAIL PROTECTED] wrote:

 stupidmail4me wrote:
 
 It is set to Yes.
 
 --- Mark Sapiro [EMAIL PROTECTED] wrote:
 
  Is the list's archive attribute set to Yes?
  (Archiving Options in the
  web admin interface)
 
 
 Apply the attached patch to your mailman
 installation, restart Mailman,
 post a message to the list and report the contents
 of Mailman's
 'debug' log.
 
 To apply the patch, cd to the mailman install
 directory and
 
 patch -p0  path/to/patch.txt
 
 -- 
 Mark Sapiro [EMAIL PROTECTED]   The highway is
 for gamblers,
 San Francisco Bay Area, Californiabetter use
 your sense - B. Dylan
 
  --- Mailman/Queue/ArchRunner.py 2006-04-15
 16:56:00.0 -0700
 +++ Mailman/Queue/ArchRunner.py   2006-10-10
 08:14:14.015625000 -0700
 @@ -22,6 +22,7 @@
  from Mailman import mm_cfg
  from Mailman import LockFile
  from Mailman.Queue.Runner import Runner
 +from Mailman.Logging.Syslog import syslog
  
  
  
 @@ -32,6 +33,7 @@
  # Support clobber_date, i.e. setting the
 date in the archive to the
  # received date, not the (potentially
 bogus) Date: header of the
  # original message.
 +syslog('debug', 'ArchRunner processing %s',
 msg.get('message-id'))
  clobber = 0
  originaldate = msg.get('date')
  receivedtime =
 formatdate(msgdata['received_time'])
 --- Mailman/Handlers/ToArchive.py 2006-04-15
 16:56:08.0 -0700
 +++ Mailman/Handlers/ToArchive.py 2006-10-10
 08:14:47.453125000 -0700
 @@ -22,10 +22,12 @@
  
  from Mailman import mm_cfg
  from Mailman.Queue.sbcache import get_switchboard
 +from Mailman.Logging.Syslog import syslog
  
  
  
  def process(mlist, msg, msgdata):
 +syslog('debug', 'ToArchive invoked %s',
 msg.get('message-id'))
  # short circuits
  if msgdata.get('isdigest') or not
 mlist.archive:
  return
 @@ -35,6 +37,7 @@
  if msg.has_key('x-no-archive') or
 msg.get('x-archive', '').lower() == 'no':
  return
  # Send the message to the archiver queue
 +syslog('debug', 'ToArchive queueing %s',
 msg.get('message-id'))
  archq = get_switchboard(mm_cfg.ARCHQUEUE_DIR)
  # Send the message to the queue
  archq.enqueue(msg, msgdata)
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
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 not archiving

2006-10-10 Thread stupidmail4me
Yes, the qrunner log shows the shutdown and startup
from mailmanctl. I've also checked and ToArchive is in
the pipeline (it's not commented out or changed in any
conf file). This is why it's so odd.

--- Mark Sapiro [EMAIL PROTECTED] wrote:

 stupidmail4me wrote:
 
 Nothing. It doesn't create any log and there's no
 appropriate entries in any log.
 
 
 If you applied the patch and then restarted Mailman
 and you get no
 'debug' log with any messages, either the ToArchive
 handler is not in
 the pipeline, or you're not looking in the right
 directory for the
 logs.
 
 Does the 'qrunner' log show entries from the
 restart?
 
 -- 
 Mark Sapiro [EMAIL PROTECTED]   The highway is
 for gamblers,
 San Francisco Bay Area, Californiabetter use
 your sense - B. Dylan
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
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 not archiving

2006-10-09 Thread stupidmail4me
Yes, ArchRunner is running...
30014 ??  I   2:00.15 /usr/local/bin/python2.3
/usr/local/lib/mailman/bin/qrunner
--runner=ArchRunner:0:1 -s

But no, there's nothing in qfiles/archive.

--- Mark Sapiro [EMAIL PROTECTED] wrote:

 stupidmail4me wrote:
 
 Mail is sending through
 the lists appropriately, but it's not archiving at
 all. I've checked Defaults.py and mm_cfg.py and the
 list's configuration options and they're all set to
 archive. I've checked permissions in
 /var/spool/archive/* and they appear to be fine (if
 I
 give _mailman a shell I can create files).
 
 Is ArchiveRunner running? Is there anything in
 Mailman's
 qfiles/archive/ directory? Is there anything in
 Mailman's 'error' log?
 
 -- 
 Mark Sapiro [EMAIL PROTECTED]   The highway is
 for gamblers,
 San Francisco Bay Area, Californiabetter use
 your sense - B. Dylan
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
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 not archiving

2006-10-09 Thread stupidmail4me
Nothing in the error logs. 

mm_cfg.py:
MTA = None
DEFAULT_URL_PATTERN = 'https://%s/'
DEFAULT_EMAIL_HOST  = 'lists.foo.org'
DEFAULT_URL_HOST= 'lists.foo.org'
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

--- Mark Sapiro [EMAIL PROTECTED] wrote:

 stupidmail4me wrote:
 
 Yes, ArchRunner is running...
 30014 ??  I   2:00.15 /usr/local/bin/python2.3
 /usr/local/lib/mailman/bin/qrunner
 --runner=ArchRunner:0:1 -s
 
 But no, there's nothing in qfiles/archive.
 
 
 Once again, is there anything in Mailman's error
 log?
 
 Also, are there any settings relating to archiving
 in mm_cfg.py? If so,
 what are they?
 
 -- 
 Mark Sapiro [EMAIL PROTECTED]   The highway is
 for gamblers,
 San Francisco Bay Area, Californiabetter use
 your sense - B. Dylan
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
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 not archiving

2006-10-09 Thread stupidmail4me
It is set to Yes.

--- Mark Sapiro [EMAIL PROTECTED] wrote:

 stupidmail4me wrote:
 
 Nothing in the error logs. 
 
 
 Is the list's archive attribute set to Yes?
 (Archiving Options in the
 web admin interface)
 
 -- 
 Mark Sapiro [EMAIL PROTECTED]   The highway is
 for gamblers,
 San Francisco Bay Area, Californiabetter use
 your sense - B. Dylan
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
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 not archiving

2006-10-06 Thread stupidmail4me
I'm running Mailman-2.1.8p0 on an OpenBSD 3.9 box. I
have everything set up correctly (I've installed
successfully using older versions on older versions of
OpenBSD) as far as I can see. Mail is sending through
the lists appropriately, but it's not archiving at
all. I've checked Defaults.py and mm_cfg.py and the
list's configuration options and they're all set to
archive. I've checked permissions in
/var/spool/archive/* and they appear to be fine (if I
give _mailman a shell I can create files).

Has anyone successfully installed the package on
OpenBSD or had similar problems? Any ideas will help
as I'm all out of them.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
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] Forged from headers and non existent lists

2006-03-17 Thread stupidmail4me
You're right. That's a good question. Why is mailman
receiving these messages?

Here's the message that gets sent back:
Your mail for [EMAIL PROTECTED] could not be sent:
no list named blah is known by lists.foo.com

For a list of publicly-advertised mailing lists hosted
on this server,
visit this URL:
http://lists.foo.com/

If this does not resolve your problem, you may write
to:
[EMAIL PROTECTED]
or
[EMAIL PROTECTED]


lists.foo.com delivers e-mail to registered mailing
lists
and to the administrative addresses defined and
required by IETF
Request for Comments (RFC) 2142 [1].

Personal e-mail addresses are not offered by this
server.

The Internet Engineering Task Force [2] (IETF)
oversees the development
of open standards for the Internet community,
including the protocols
and formats employed by Internet mail systems.

For your convenience, your original mail is attached.


[1] Crocker, D. Mailbox Names for Common Services,
Roles and
Functions.  http://www.ietf.org/rfc/rfc2142.txt

[2] http://www.ietf.org/

What can I change so that nothing gets sent?

--- Hans Ulrich Niedermann [EMAIL PROTECTED]
wrote:

 stupidmail4me [EMAIL PROTECTED] writes:
 
  My site is getting a lot of spam sent to my lists.
  They are being sent from unknown people using
 forged
  from headers. Mailman then sends an email to these
  forged from headers telling them so and so list
  doesn't exist. Most of these forged from headers
  aren't real addresses, so there begins loops of
  mailman trying to send out a message, and their
 email
  servers telling mine that address doesn't exist.
 
  Is there an option in Mailman to just disregard
  messages sent to lists that don't exist? I don't
 want
  to send a message informing them that the list
 doesn't
  exist, I just want Mailman to ignore it. Is this
  possible?
 
 Why does Mailman receive those mails in the first
 place?
 
 There should be no valid alias for those
 non-existing lists and the
 MTA thus should not accept those mails at all. If
 the MTA just returns
 a SMTP error no such user, no additional mails are
 generated.
 
 Gruß,
 
 Hans Ulrich Niedermann
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
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] Forged from headers and non existent lists

2006-03-17 Thread stupidmail4me
I just figured it out. You're right, it's not mailman
sending out the response. I'm using mm-handler and
that's what's sending out the bad list name response.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
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] Forged from headers and non existent lists

2006-03-16 Thread stupidmail4me
My site is getting a lot of spam sent to my lists.
They are being sent from unknown people using forged
from headers. Mailman then sends an email to these
forged from headers telling them so and so list
doesn't exist. Most of these forged from headers
aren't real addresses, so there begins loops of
mailman trying to send out a message, and their email
servers telling mine that address doesn't exist.

Is there an option in Mailman to just disregard
messages sent to lists that don't exist? I don't want
to send a message informing them that the list doesn't
exist, I just want Mailman to ignore it. Is this
possible?

-James

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
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