Re: Re:Relaying denied

"Linux" <[email protected]> Tue, 23 Apr 2002 23:51:04 +0200
Newsgroups gmane.linux.redhat.security.server
Organization --> www.tuffy.dk <--
Message-ID <[email protected]>
Hi,

I'll think that i have the solution for your problem.

Try this:
Logon as root.

cd /etc/mail
makemap hash /etc/mail/access < /etc/mail/access

This will "recompile" your access.db file and look in your access file, and make the changes.


An exampel of my access file

# Check the /usr/share/doc/sendmail-8.11.6/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail-8.11.6/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost...
localhost.localdomain           RELAY
localhost                       RELAY
127.0.0.1                       RELAY
192.168.1.30                    RELAY
192.168.1.50                    RELAY
192.168.1.70                    RELAY
[email protected]                 550 Your mail is not allowed here!!!
[email protected]               550 Your mail is not allowed here!!!
[email protected]             550 Your mail is not allowed here!!!
[email protected]                550 Your mail is not allowed here!!!

Every time i make and adjustment in my /etc/mail/access file, i run the above command, and it works for me.

Regards Tuffy


----- Original Message ----- 
From: "Kurt Seifried" <[email protected]>
To: <[email protected]>
Sent: Tuesday, April 23, 2002 11:30 AM
Subject: Re: Re:Relaying denied


> http://seifried.org/security/os/linux/redhat/20011031-rh72-sendmail.html
> 
> and then make sure your access file is setup right, i.e.:
> 
> 10.0.0. RELAY (or OK)
> 
> 
> Kurt Seifried, [email protected]
> A15B BEE5 B391 B9AD B0EF
> AEB0 AD63 0B4E AD56 E574
> http://seifried.org/security/
> 
> 
> ----- Original Message -----
> From: "Luis Jaime Gómez" <[email protected]>
> To: <[email protected]>
> Sent: Tuesday, April 23, 2002 3:26 AM
> Subject: Re:Relaying denied
> 
> 
> >
> > I've de same problem...
> >
> > Apr 23 10:10:48 server sendmail[11025]: g3NBAmu11025: ruleset=check_rcpt,
> > arg1=<[email protected]>, relay=[xxx.xxx.xxx.xxx], reject=550 5.7.1
> > <[email protected]>... Relaying denied. IP name lookup failed
> [xxx.xxx.xxx.xxx]
> >
> > I`ve changed the parameter of the SMTP Daemon Option en /etc/sendmail.cf,
> > but I don't know if it's correct, because the modification didn't changed
> > the message.
> >
> > # SMTP daemon options
> >
> > # Modificado por Luis para ver si esto abre las conexiones en todos los
> > servidores a 0.0.0.0
> > # Vuelvo a modificarlo ya que no me deja resolver los dominios
> > #O DaemonPortOptions=Port=smtp,Addr=0.0.0.0, Name=MTA
> >
> > # SMTP daemon options
> > O DaemonPortOptions=Name=MTA
> > # he cambiado el Port=587 por Port=smtp
> > O DaemonPortOptions=Port=587, Name=MSA, M=E
> >
> > Please could you help me too??
> >
> >
> > Etham
> >
> >
> >
> > _______________________________________________
> > Redhat-secure-server mailing list
> > [email protected]
> > https://listman.redhat.com/mailman/listinfo/redhat-secure-server
> >
> 
> 
> 
> _______________________________________________
> Redhat-secure-server mailing list
> [email protected]
> https://listman.redhat.com/mailman/listinfo/redhat-secure-server
>