Operating System - Linux
1828354 Members
3084 Online
109976 Solutions
New Discussion

Re: sendmail configuration

 
Nick D'Angelo
Super Advisor

sendmail configuration

I host a web site running Redhat 7.1 on an HP Kayak PC and act as their mail server. But I have one problem, sending mail.

I have configured my mail services so that the client, I'll call them farside, can remotely pick up their mail no problem.

The problem is if they want to send mail. Their email connection is refused at my end.

Can I set the farside up to send mail through my Redhat box as I am the mail server?

What happens if I get some additional remote clients that need mail also and they will probably be dynamic addresses?

Do I need to setup some sort of trust with that remote client?

I appreciate your help,

ND

Always learning
2 REPLIES 2
I_M
Honored Contributor

Re: sendmail configuration

Hi

If you are using sendmail.cf from RedHat,
that configuration file include following line which refuse to connect to sendmail from other than 127.0.0.1

# SMTP daemon options

O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA

Regards,

masanari iida
Jeffrey S. Sims
Trusted Contributor

Re: sendmail configuration

If the "farside" machines are on another network (ie subnet) you can designate who is allowed to relay by putting the IP address of the relaying machine in /etc/mail/relay.allow file.

There should be an entry similar to:

FR/etc/mail/relay.allow

in your sendmail.cf file. Check the documentation for your release for the exact syntax but this should get you going in the right direction.

Hope it helps