[Mailman-Developers] I want to ask some questions about Default.py
Dan Mick
Dan Mick <Dan.Mick@West.Sun.COM>
Wed, 2 Aug 2000 20:19:32 -0700 (PDT)
> In Default.py I found two kinds of DELIVERY_Moudle.What's different
between "Sendmail" and "STMPDirect"?
Did you read the comments like the comment in Defaults.py said to?
Read the front part of Handlers/Sendmail.py and Handlers/SMTPDirect.py.
> Do anyone think it is possbile that mailman can work with Exchange Server?
Sure, assuming Exchange Server speaks SMTP.
> I tried to change "SMTPHOST=localhost" to "SMTPHOST=192.168.1.254",which
is another linux machine with sendmail service.The Delivery_Moudel still was
"SMTPDirect",but the mailman can't work properly,I can't receive any letter from
my own mailing list.How can I set SMTP Server to another machine?
That might work, but without some sort of details about "can't work
properly" (did it explode? Did you see Satan? Did it start oozing
butterscotch pudding?) it's hard to say.
> At last,I want to know,what is the SMTPport mean?
The port on which SMTP runs.
> Is it POP?
No, SMTP is not POP.
> why not 25?
If you mean "Why does Defaults.py set it to 0 instead of 25", the
comment on that same line is a big clue:
SMTPPORT = 0 # default from smtplib
I haven't read the code in smtplib, but it seems to me that says
"get the default value from smtplib".
By golly, reading smtplib.py gives the answer again:
If specified, `port' specifies the port to which to connect.
By default, smtplib.SMTP_PORT is used.