[Mailman-Users] 'Sendmail' vs 'SMTPDirect' in RH7.2 RPM

Barry A. Warsaw barry at zope.com
Wed Jan 16 00:14:00 CET 2002


>>>>> "MG" == Mike Gifford <mike at openconcept.ca> writes:

    | That the RH7.2 rpm sets the default to:
    | 	# DELIVERY_MODULE = 'Sendmail'
    | 	DELIVERY_MODULE = 'SMTPDirect'

    MG> So I just needed to switch this around and uncomment the
    MG> Sendmail and I can now send messages without any difficulty..

Except that you potentially open up security holes in your system.
'Sendmail' is not secure because it uses the shell and the input
strings are not sanitized.

    MG> Jan 15 12:40:01 2002 gate_news(652): socket . error : (111,
    MG> 'Connection refused')

This is a socket problem, and not specific to Mailman or Python.

    MG> What is this supposed to do and how am I supposed to turn it
    MG> off?

    | Also, I still don't see why I'm getting this error:
    | # ./check_perms 
    | Traceback (innermost last):
    |   File "./check_perms", line 50, in ?
    |     MAILMAN_GRPNAME = grp.getgrgid(MAILMAN_GID)[0]
    | TypeError: illegal argument type for built-in operation

    | # cat /etc/group
    | <snip>
    | mailman:*:501:mailman,james,mike,keb,rgoyal,apache

Try this:

% python
>>> import grp
>>> grp.getgrgid(501)
[what does this print?]

-Barry




More information about the Mailman-Users mailing list