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



Yes,

This works good; port 25 is now open on my box.

Now, I'm stumped by another obstacle.

When I send e-mail to the host,
it bounces:

PERM_FAILURE: SMTP Error (state 9): 550 5.7.1
<root@xxxxxxxxxxxxxxx<dbikle@xxxxxxxxx>>...
Relaying denied

This smells like another configuration issue in my sendmail.mc

I'm not sure what to change though.

How do I relay e-mail to my host?

On 2/19/07, Brian Truter <mail-lists@xxxxxxxxxxxxxx> wrote:

> 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 =)

--
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

Relevant Pages

  • Re: Need help configuring smart_host relaying
    ... either the port specification is wrong in the authinfo file or that the ... connection is being refused because it's not SSL/TLS. ... or how to get the SSL/TLS mechanism into sendmail. ... dnl Cwstrider.rgmhome.net localhost rgmhome.homeunix.net ...
    (comp.mail.sendmail)
  • Re: Best practice: sendmail and SMTP auth
    ... I am considering setting up SMTP auth on a number of sendmail ... A good solution to this is to use port 587 for Authenticated new mail ... dnl ## Set SASL options ...
    (freebsd-questions)
  • Re: Need help configuring smart_host relaying
    ... either the port specification is wrong in the authinfo file or that the ... connection is being refused because it's not SSL/TLS. ... or how to get the SSL/TLS mechanism into sendmail. ... dnl Cwstrider.rgmhome.net localhost rgmhome.homeunix.net ...
    (comp.mail.sendmail)
  • Re: How I "turn-on" e-mail?
    ... 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 ... 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 ...
    (Fedora)
  • Re: Cant "telnet mail-host 25"
    ... :>:think it is sendmail) serves the port 25, while in the second form, ... :> loopback address, as in this excerpt from sendmail.mc: ... :> dnl # 127.0.0.1 and not on any other network devices. ...
    (linux.redhat.misc)