1820071 Members
2441 Online
109608 Solutions
New Discussion юеВ

send mail configuration

 
SOLVED
Go to solution
Nick D'Angelo
Super Advisor

send mail 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
3 REPLIES 3
Jeffrey S. Sims
Trusted Contributor

Re: send mail configuration

I would think that you need to add them to your /etc/mail/access file, an entry such as:

name@domain.com RELAY

should do the trick. If they have a static ip or fall within a range and you want to open it up to that network address then you can add the ip to the /etc/mail/relay.allow file.

If you go with the /etc/amil/access file then the line:

Kaccess hash /etc/mail/access

should be in your sendmail.cf file. The /etc/mail/relay.allow is enabled by the line:

FR/etc/mail/relay.allow

in the sendmail.cf file. Either one of these methods should help you give the appropriate relay access.

Hope it helps.
Albert E. Whale, CISSP
Honored Contributor

Re: send mail configuration

Nick,

Just caught your Sendmail Issue, would be glad to help if you still need it.

In my configuration I make use of the /etc/aliases/relay-domains configuration file.

My configuration file is enabled vi the setting in the sendmail.cf (mine is in /etc/sendmail.cf), Look for something like the following in the config file.

# Hosts that will permit relaying ($=R)
FR-o /etc/mail/relay-domains

In this file, place the IP Address RELAY,
Domain Name RELAY

Or however you specify the name of the relaying systems, followed by a space and the work RELAY.

Hope that helps.
Sr. Systems Consultant @ ABS Computer Technology, Inc. http://www.abs-comptech.com/aewhale.html & http://www.ancegroup.com
Stephen Suen
New Member
Solution

Re: send mail configuration

Nick,

If you wanna give support to your dynamic remote client for sending mail, there are two solutions for you: SMTP-After-POP3 and SMTP AUTH, and I suggest SMTP AUTH to you.

sendmail 8.10-8.12 support SMTP AUTH as defined in RFC 2554 which is based on SASL. Here are some resources for you:
http://www.sendmail.org/~ca/email/auth.html
http://www.asp.ogi.edu/people/paja/linux/sendmail/

Hope that helps.