Re: How I "turn-on" e-mail?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> About 2 years ago,
> I tinkered with sendmail.
>
> I remember that I edited files and then typed make.
>
> Make would then read my edited files and then generate others and
> then sendmail would react to the generated files.
>
> Is this recollection correct?
>
> Where do I specify that sendmail will listen on other devices
> besides localhost??
>
> -Bob
>
> On 2/19/07, Brian Truter <mail-lists@xxxxxxxxxxxxxx> wrote:
>>
>> > People,
>> >
>> > I'm on FC5.
>> >
>> > I'm a Linux newbie.
>> >
>> > I can see sendmail running on my host:
>> >
>> > bash sb2 root /etc/mail 61 # ps -ef|grep -i send
>> > root      4606     1  0 Jan31 ?        00:00:00 sendmail: accepting
>> > connections
>> > smmsp     4614     1  0 Jan31 ?        00:00:00 sendmail: Queue
>> > runner@01:00:00
>> > for /var/spool/clientmqueue
>> > root      1302   736  0 14:25 pts/2    00:00:00 grep -i send
>> > bash sb2 root /etc/mail 62 #
>> >
>> > And I can connect to port 25 on localhost:
>> >
>> > bash sb2 root /etc/sysconfig 24 # telnet sb2.local 25
>> > Trying 127.0.0.1...
>> > Connected to localhost.localdomain (127.0.0.1).
>> > Escape character is '^]'.
>> > 220 sb2.local ESMTP Sendmail 8.13.6/8.13.6; Mon, 19 Feb 2007 13:55:50
>> > -0800
>> >
>> > But...
>> > I cannot connect to port 25 when I come from other hosts.
>> >
>> > I'm looking for some general advice on how to configure this host so
>> > it will receive e-mail.
>> >
>> > I assume that in that advice will be some clues on how to turn on
>> > port 25 to other hosts.
>> >
>> > How do I "turn-on" in-coming mail?
>> >
>> > -Bob
>> > sinbuzz@xxxxxxxxxxx
>> > --
>> > fedora-list mailing list
>> > fedora-list@xxxxxxxxxx
>> > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>>
>> Sendmail is configured by default to only listen on the loopback device.
>> You will need to reconfigure it to listen for connections on your
>> network
>> connection. You will need the sendmail-cf package to do this.
>>
>> --
>> fedora-list mailing list
>> fedora-list@xxxxxxxxxx
>> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Look in your /etc/mail/sendmail.mc file for something like the following:

dnl # The following causes sendmail to only listen on the IPv4 loopback
address
dnl # 127.0.0.1 and not on any other network devices. Remove the loopback
dnl # address restriction to accept email from the internet or intranet.
dnl #
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
dnl #

The line that binds it to loopback is the DAEMON_OPTIONS line. comment it
out like this:

dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

Save that change, and you should be able to run "make -C /etc/mail" and
restart sendmail. Thats it =)


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux