[95645] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Email (sorry - again) (fwd)

daemon@ATHENA.MIT.EDU (Richard Rager)
Tue Oct 20 02:36:45 1998

Date: Tue, 20 Oct 1998 02:20:32 -0400 (EDT)
From: Richard Rager <redhat-list@actech.net>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com



---------- Forwarded message ----------
Date: Tue, 20 Oct 1998 02:19:52 -0400 (EDT)
From: Richard Rager <root@actech.net>
To: RedHat list <redhat-list@actech.net>
Subject: Re: Email (sorry - again) (fwd)



---------- Forwarded message ----------
Date: Tue, 20 Oct 1998 01:51:48 -0400 (EDT)
From: Richard Rager <root@actech.net>
To: Red Hat-List Mailing list <redhat-list@redhat.com>
Subject: Re: Email (sorry - again)



On Mon, 19 Oct 1998, Anthony S. Nixon wrote:

> Hello,
> 
> I am still having problems with email. Here is my setup. I have an RH5.0
> server running:
> 
> Primary DNS
> Sendmail
> Apache/FTP
> 
> I am using this server to host webpages and email accounts. It is the sole
> server in its domain. I have the MX record pointing to the server
> (server.foo.com):
> 
> foo.com.      IN    NS    server.foo.com.
> 
> server          IN    A    xxx.xxx.xxx.x (class C)
> foo.com.      IN    MX  10 server.foo.com.
> 
> www            IN    CNAME    server.foo.com.
> ftp                IN    CNAME    server.foo.com.
> 
> WWW and FTP works just fine. I can query with nslookup without problems.
> Here is my problem:
> 
> When I send an email from an outside domain to user@foo.com, I get returned
> email stating the "MX Record is pointing to itself"? At first, I got a "We
> do not relay" message. Why would I have gotten that? So, I added a line in
> relay_allow stating foo.com. Now I am getting the MX record message. I have
> no problems sending email, just receiving. To be honest, I really don't know
> that if it did receive inbound mail that sendmail would put it in it's
> proper place. I did receive an email to root (on server.foo.com) saying the
> same message as I got from my returned email. Can someone shed some light on
> this? I have put a .procmailrc file in my users directory and a .forward
> also (what is the format of .forward and do I really need these?) following
> the directions in the dot file generator. ALL help is greatly appreciated.
>

  Ok an easy one.  

look at your sendmail.cw file it should be 

here:

/etc/sendmail.cw
or 
/etc/mail/sendmail.cw

add this line

your.fqdn
any.other.fqdn.alais


loose the relay allow line.  Just use ip_allow.


Enjoy,

Richard Rager





-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post