sendmail configuring port numbers



I'm running sendmail 8.14.3 on fedora 10 and I need help understanding how to
work with listening ports. I have two machines which I will call "A" and "B".
"A" has two NICs: eth0 is connected to the outside, and "B" is connected to
eth1 on "A". "A" is the sendmail server for the domain and is the SMART_HOST
for "B". In addition, "A" is the server for a couple of lists (all legit,
thank you) which sends about 500K messages out per month and gets about 500 in
per day.

The list manager running on "A" was configured to send to localhost:24, and
the mail client I personally run on "A" uses localhost:25.

I recently tightened a few things up in my sendmail.mc to prevent incoming
mail with a large number of recipients. I did this by setting:

define(`confMAX_RCPTS_PER_MESSAGE', `20')dnl
which for me makes sense. (Am I wrong?) :-(

In addition, my sendmail.mc contains:

DAEMON_OPTIONS(`Name=MTA')
DAEMON_OPTIONS(`address=localhost, Port=24, Name=NCMSA, M=EC')

The submit.mc is stock and has

FEATURE(`msp', `[127.0.0.1]')dnl

Then I found out that when I tried to send a personal message to a
larger list of people, my MUA failed with 'Too many recipients".

I think I know what I want to do (though I could be wrong).

* I want all local messages to be processed by submit.mc instead of by
sendmail.mc
* I want sendmail.mc to only listen on port 25 of eth0
* I want submit.mc to listen on port 25 and port 24 of localhost.

The idea is to get people on the outside to conform to restrictions
but to not impose those restrictions to us good guys on the inside.

I did try to move the line that said DAEMON_OPTIONS Port=24 to the
submit.mc
This did not work. When I tried to
telnet localhost 24
604 > telnet localhost 24
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

Am I trying to do something that is a good idea? Can someone tell me
how to do it if it is? Do I need to provide more information?

Thanks.

--
Time flies like the wind. Fruit flies like a banana. Stranger things have .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net

Attachment: signature.asc
Description: OpenPGP digital signature

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Relevant Pages

  • Fedora 8 -- Install Failure For Test-WWW-Mechanize-Catalyst-0.41
    ... Fedora 8 i386 machine, it fails like this: ... # Starting an external Catalyst HTTP server on port 7357 ... # To change the port, please set the TWMC_TEST_PORT env variable. ... CPAN: File::HomeDir loaded ok ...
    (Fedora)
  • Re: Getting GPilot and J-Pilot to Play Nice In Fedora 7
    ... USB cable to sync with a Palm Treo 680. ... at all in Fedora 7. ... Palm devices use the first port to sync, ...
    (Fedora)
  • Re: Iptables rule for windows file sharing?
    ... If I disable the Fedora firewall, ... UDP Port 137: NetBIOS name service. ... TCP Port 139: NetBIOS-SSN. ... TCP Port range 32800:32900: the upper end of all SMB TCP conversations. ...
    (Fedora)
  • PROBLEM: networking - port 80 not accessible on eth0
    ... Subject: PROBLEM: networking - port 80 not accessible on eth0 ... I could access websites. ... I configured the modem to be a bridge, ... After trying some different distributions (fedora up to 9, ...
    (Linux-Kernel)
  • Re: Spamassassin timing
    ... server, running Sendmail with SpamAssassin, 2 anti-virus tools and some ... is an example maillog entry showing the time a Fedora list message took ... Fedora GNU/Linux Core 2 on Athlon CPU kernel 2.6.6-1.435.2.3 ...
    (Fedora)