Bug 75635

Summary: mailman mm_cfg.py does not have required line for sendmail
Product: [Retired] Red Hat Linux Reporter: Joshua Daniel Franklin <joshua>
Component: mailmanAssignee: John Dennis <jdennis>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
URL: http://www.mail-archive.com/mailman-users@python.org/msg02959.html
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-01-24 15:32:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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'