[Mailman-Users] Sendmail port 25

Sullivan, John jsullivan at mlsnet.com
Fri Mar 28 20:32:10 CET 2003


No I found the problem: Sendmail is shipped to only listen on the local
host. I need to change that. Here's an FAQ on it below. Most of you using
sendmail as your MTA had to configure this at some point - Can anyone give
me directions - 
----------------------------------------------------------------------------
.3.1.3 -- Why can't I receive mail with Red Hat 7.1 and later?
Date: May 3, 2001 
Updated: June 11, 2001 
Updated: December 4, 2002 
Red Hat, like some other vendors, changed the way that sendmail is run. (See
4.22 for a more general discussion of this problem.) They decided that most
people need a client-only version of sendmail. So it is listening only on
the localhost interface. Check the RH documentation on how to change that: 

Make sure that you have installed the "sendmail-cf" package on your system
-- it should be on your install media. 

Then check the file "sendmail.mc" (probably in "/etc/mail"). Look for the
string "DAEMON_OPTIONS" and for the comment lines near that string. 

Also note that Red Hat 7.1 and later build sendmail with tcpwrapper support,
and provide a hosts.deny file that rejects all external mail. The
sendmail:ALL addition to hosts.allow fixes this. 

----------------------------------------------------------------------------

PS Sorry for being a newbie - Let me know if anyone needs help with Cisco
configs :)




-----Original Message-----
From: Dallas Bethune [mailto:dallas at dreamhost.com] 
Sent: Friday, March 28, 2003 2:35 PM
To: Sullivan, John
Cc: 'mailman-users at python.org'
Subject: Re: [Mailman-Users] Sendmail port 25 


Either sendmail is not binding to an IP that's reachable from the  
outside (by default it should bind to all the IP's on the machine,  
though) or maybe you have some sort of firewall blocking off port 25.   
Something like that?

	Dallas


On Friday, March 28, 2003, at 11:18 am, Sullivan, John wrote:

> Configuring sendmail to listen on Port 25 for external connections  
> should
> not be that difficult to do. (but I am a newbie so I don't know much)
>
> Can anyone point me in the right direction and let me know how I can
> accomplish this..
>
> Sendmail is running, from the local host I can telnet to port 25 no  
> problem
> but from any other machine I cannot get a connection to port 25. Any  
> know
> what I can do to resolve this?
>
> Thanks..
>
> -----Original Message-----
> From: Sullivan, John
> Sent: Friday, March 28, 2003 1:51 PM
> To: 'David Chait'
> Subject: RE: [Mailman-Users] Do I need an MX Record
>
> If I do a ps aux | grep "sendmail" I have some processes running.
>
> Sendmail is an MTA right?
>
> -----Original Message-----
> From: David Chait [mailto:davidc at bonair.stanford.edu]
> Sent: Friday, March 28, 2003 1:58 PM
> To: Sullivan, John
> Subject: Re: [Mailman-Users] Do I need an MX Record
>
> If you can't connect to 25 then you don't have an MTA installed...
>
> ----- Original Message -----
> From: "Sullivan, John" <jsullivan at mlsnet.com>
> To: "'Dallas Bethune'" <dallas at dreamhost.com>
> Cc: <mailman-users at python.org>
> Sent: Friday, March 28, 2003 10:38 AM
> Subject: RE: [Mailman-Users] Do I need an MX Record
>
>
>> Ahh that's my problem - I can NOT connect to port 25.
>>
>> Can someone help me out with trying to get that working? My deadline  
>> is
>> quickly approaching and I am nervous.
>>
>> Thanks..
>>
>> -----Original Message-----
>> From: Dallas Bethune [mailto:dallas at dreamhost.com]
>> Sent: Friday, March 28, 2003 1:41 PM
>> To: Sullivan, John
>> Cc: 'Bill Hilburn'; mailman-users at python.org
>> Subject: Re: [Mailman-Users] Do I need an MX Record
>>
>>
>> In general, an MX record is not necessary if you have an A record.
>> That's probably not your problem here.
>>
>> Are you sure sendmail is running on the list server?  Can you connect
>> to port 25 on it?  Is it properly configured to accept mail?
>>
>> Dallas
>>
>>
>> On Friday, March 28, 2003, at 09:25 am, Sullivan, John wrote:
>>
>>> In my network I have a corporate mail server set up that handles all
>>> the
>>> email for mlsnet.com
>>>
>>> I have setup the RedHat box so I can send out email to newsletter
>>> subscribers - I didn't want to put the heavy load on my corporate  
>>> mail
>>> server.
>>>
>>> The RedHat box has sendmail on it and should be the box that handles
>>> emails
>>> for lists.mlsnet.com (incoming should be delivered to this box)
>>> Also the IP for this box is the 12.105.18.209 address referenced  
>>> below.
>>>
>>> I have an A record setup for lists.mlsnet.com - I do not have an MX
>>> record
>>> setup for it though.
>>>
>>> How do I set the box up so it handles all email sent to
>>> @lists.mlsnet.com?
>>>
>>> Thanks for your help..
>>>
>>> -----Original Message-----
>>> From: Dallas Bethune [mailto:dallas at dreamhost.com]
>>> Sent: Friday, March 28, 2003 12:21 PM
>>> To: Sullivan, John
>>> Cc: mailman-users at python.org
>>> Subject: Re: [Mailman-Users] Do I need an MX Record
>>>
>>>
>>>  From the last error there, it looks like your mail server is trying  
>>> to
>>> deliver mail for lists.mlsnet.com to an smtp server at 12.105.18.209.
>>> I don't know what server that is, but it needs to be running an some
>>> sort of smtp server to accept email.  If that is not where the email
>>> should be going, then an MX record may be appropriate to point it to
>>> the appropriate location.
>>>
>>> Dallas
>>>
>>>
>>> On Friday, March 28, 2003, at 08:56 am, Sullivan, John wrote:
>>>
>>>> Hi all - I am having some problems sending out emails to my lists.
>>>>
>>>>
>>>>
>>>> I have Red Hat 8.0
>>>>
>>>> Sendmail
>>>>
>>>> MailMan 2.0.1
>>>>
>>>>
>>>>
>>>> I have a test lists set up with test users.
>>>>
>>>>
>>>>
>>>> When a user subscribes to the list they get a confirmation from the
>>>> mailman
>>>> server but when they reply there email seems to just get lost.
>>>>
>>>> When I send out an email to the list nothing gets delivered.
>>>>
>>>> My server name is lists.mlsnet.com and my list is called 90minutes  
>>>> and
>>>> I
>>>> should be able to send mail to 90minutes at lists.mlsnet.com
>>>> <mailto:90minutes at lists.mlsnet.com>  to send an email to all of the
>>>> subscribers.
>>>>
>>>>
>>>>
>>>> Here is some log errors from maillog file:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Mar 28 11:48:21 localhost sendmail[10484]: h2SGmKFc010484:  
>>>> from=root,
>>>> size=388, class=0, nrcpts=1,
>>>> msgid=<200303281148.20675.90minute at 90minutes.com>, relay=localhost
>>>> [[UNIX:
>>>> localhost]]
>>>>
>>>>
>>>> Mar 28 11:48:22 localhost sendmail[10486]: h2SGmLjh010486:
>>>> from=<
>>>> <http://lw11fd.law11.hotmail.msn.com/cgi-bin/
>>>> compose?curmbox=F000000005&a=fa
>>>> f76a38f4023445548c138e0ad20419&mailto=1&to=root at localhost.localdomai 
>>>> n&
>>>> m
>>>> sg=MS
>>>> G1048870350.86&start=1072965&len=2281&src=&type=x>
>>>> root at localhost.localdomain>, size=577, class=0, nrcpts=1,
>>>> msgid=<200303281148.20675.90minute at 90minutes.com>, proto=ESMTP,
>>>> daemon=MTA,
>>>> relay=localhost.localdomain [127.0.0.1]
>>>>
>>>>
>>>> Mar 28 11:48:22 localhost sendmail[10484]: h2SGmKFc010484:
>>>> to=90minutes at lists.mlsnet.com, ctladdr=root (0/0), delay=00:00:02,
>>>> xdelay=00:00:01, mailer=relay, pri=30387,  
>>>> relay=localhost.mlsnet.com.
>>>> [127.0.0.1], dsn=2.0.0, stat=Sent (h2SGmLjh010486 Message accepted  
>>>> for
>>>> delivery)
>>>>
>>>>
>>>> Mar 28 11:49:22 localhost sendmail[10488]: h2SGmLjh010486:
>>>> to=<90minutes at lists.mlsnet.com>, ctladdr=<
>>>> <http://lw11fd.law11.hotmail.msn.com/cgi-bin/
>>>> compose?curmbox=F000000005&a=fa
>>>> f76a38f4023445548c138e0ad20419&mailto=1&to=root at localhost.localdomai 
>>>> n&
>>>> m
>>>> sg=MS
>>>> G1048870350.86&start=1072965&len=2281&src=&type=x>
>>>> root at localhost.localdomain> (0/0),
>>>> delay=00:01:01, xdelay=00:01:00, mailer=esmtp, pri=30576,
>>>> relay=lists.mlsnet.com. [12.105.18.209], dsn=4.0.0, stat=Deferred:
>>>> Connection
>>>> timed out with lists.mlsnet.com.
>>>>
>>>>
>>>>
>>>> Do I need to have MX Records setup on my external DNS for this  
>>>> server?
>>>>
>>>>
>>>>
>>>> Your Help is Appreciated...
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------
>>>> Mailman-Users mailing list
>>>> Mailman-Users at 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/
>>>>
>>>> This message was sent to: dallas at dreamhost.com
>>>> Unsubscribe or change your options at
>>>> http://mail.python.org/mailman/options/mailman-users/
>>>> dallas%40dreamhost.com
>>>>
>>>
>>
>> ------------------------------------------------------
>> Mailman-Users mailing list
>> Mailman-Users at 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/
>>
>> This message was sent to: davidc at bonair.stanford.edu
>> Unsubscribe or change your options at
>>
> http://mail.python.org/mailman/options/mailman-users/ 
> davidc%40bonair.stanfor
> d.edu
>>
>>
>
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at 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/
>
> This message was sent to: dallas at dreamhost.com
> Unsubscribe or change your options at
> http://mail.python.org/mailman/options/mailman-users/ 
> dallas%40dreamhost.com
>



More information about the Mailman-Users mailing list