Re: Forwaring mail with sendmail. Was: Which RedHat disto works best with GreyLi

Brent Meshier <[email protected]> Tue, 7 Feb 2006 20:22:13 -0500
Newsgroups gmane.mail.spam.greylist.user
Message-ID <[email protected]>
Followed your directions exactly, but my linux server issues a
"relaying denied" when trying to pass along the mail to my real mail
server:

from /var/log/maillog

Feb  7 20:16:33 tools sendmail[1100]: k181GXep001100:
ruleset=check_rcpt, arg1=<[email protected]>,
relay=some.mail.server [123.45.67.89], reject=550 5.7.1
<[email protected]>... Relaying denied
Feb  7 20:16:33 tools sendmail[1100]: k181GXep001100:
from=<[email protected]>, size=346, class=0, nrcpts=0, proto=ESMTP,
daemon=MTA, relay=some.mail.server [123.45.67.89]

How would I make this work without making my server an open relay?

--Brent

On 2/7/06, Dennis Wynne <[email protected]> wrote:
> If I can point out a couple of things (there were not obvious to me).
>
> You need to edit the sendmail.mc file (in /etc/mail/) and comment out the
> line that has: