Bug 75635 - mailman mm_cfg.py does not have required line for sendmail
Summary: mailman mm_cfg.py does not have required line for sendmail
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: mailman
Version: 7.2
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: John Dennis
QA Contact:
URL: http://www.mail-archive.com/mailman-u...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-10-10 14:57 UTC by Joshua Daniel Franklin
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-01-24 15:32:26 UTC
Embargoed:


Attachments (Terms of Use)

Description Joshua Daniel Franklin 2002-10-10 14:57:51 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

Description of problem:
When installing mailman from the rpm package, the default MTA is left as
'SMTPDirect' though the /usr/share/doc/mailmain-{foo}/README.REDHAT contains
instructions for setting up sendmail as the MTA. This can be fixed by adding the
line 
DELIVERY_MODULE = 'Sendmail'
to the /var/mailman/Mailman/mm_cfg.py file. If this setting does not
match your actual MTA, outgoing email will not be delivered.

Version-Release number of selected component (if applicable):
mailman-2.0.13-1

How reproducible:
Always

Steps to Reproduce:
1.If mailman is installed, uninstall it.
2.Install the mailman rpm
3.Check the file /var/mailman/Mailman/mm_cfg.py
	

Actual Results:  The DELIVERY_MODULE = 'Sendmail' line is not present in 
/var/mailman/Mailman/mm_cfg.py

Expected Results:  The DELIVERY_MODULE = 'Sendmail' line should be present in 
/var/mailman/Mailman/mm_cfg.py

Additional info:

This has been reported on the mailman mailing list 

http://www.mail-archive.com/mailman-users@python.org/msg02959.html

and I experienced it myself.

Comment 1 Mark Cooke 2003-01-21 02:31:28 UTC
This also occurs as well:

Traceback (most recent call last):
  File "/var/mailman/cron/qrunner", line 84, in ?
    from Mailman import Utils
  File "/var/mailman/Mailman/Utils.py", line 32, in ?
    import random
  File "/usr/lib/python2.2/random.py", line 91, in ?
    NV_MAGICCONST = 4 * _exp(-0.5)/_sqrt(2.0)
ValueError: math domain error

Again from the cronjob for mailman

Comment 2 Mark Cooke 2003-01-21 02:33:03 UTC
please ignore the last comment, I stupildy cut and past into the wrong window.

Mark

Comment 3 John Dennis 2003-01-24 15:32:26 UTC
Sendmail use with mailman is now depricated as of version 2.1, see the comment
in Defaults.py which I've included below. I'm going to mark this as not a bug.
The math doman error is in bug #82296

# Final delivery module for outgoing mail.  This handler is used for message
# delivery to the list via the smtpd, and to an individual user.  This value
# must be a string naming a module in the Mailman.Handlers package.
#
# WARNING: Sendmail has security holes and should be avoided.  In fact, you
# must read the Mailman/Handlers/Sendmail.py file before it will work for
# you.
#
#DELIVERY_MODULE = 'Sendmail'
DELIVERY_MODULE = 'SMTPDirect'





Note You need to log in before you can comment on or make changes to this bug.