Babu Kalakrishnan [Friday, March 02, 2001 6:14 PM]:

On Fri, Mar 02, 2001 at 05:16:49PM +0530, Ramasubramani typed:
> Since you don't seem to be providing the DNS for your machine,
> there's nothing you can on your machine to achieve this.
> Reading the Sendmail FAQ should point you in the right direction.
>(Or perhaps Suresh :)) -

I would normally point the person right at the sendmail FAQ, where this
"relaying denied" is the topmost error message.

> could be the lack of an entry like  "Cw cyberleadonline.com"
> in your sendmail.cf file).

Mani, please dont meddle with the sendmail.cf file - even if you know what
you are doing ... not just me, the good folks at sendmail.org tell you to
edit .mc files and regenerate sendmail.cf

In this case, it's the matter of adding your domain name (and all domains
you receive mail for) in sendmail.cw (or /etc/mail/local-host-names in
sendmail 8.10.x and above).

However, the error message you posted here is a QMAIL error message, not a
sendmail error message.  So, someone else (hutchcity, say) is handling your
MX server.  Have them add your domain name into the appropriate file in
/var/qmail/controls (the file is called domain I think - i dont know qmail
myself)

> [kala@ganga] ~$ telnet cyberleadonline.com 25
> 220 cyberleadonline ESMTP Sendmail 8.9.3/8.9.3; Fri, 2 Mar 2001
[snip]
> rcpt to: [EMAIL PROTECTED]
> 550 [EMAIL PROTECTED] Relaying denied

While trying this, please telnet to port 25 of his MX server.  His MX is
running qmail I expect, and that's what has generated the error he posted.

For example, our webserver is oyeindia.com and our MX record points at a
totally different machine - mail.oyeindia.com.  If you try to telnet to
oyeindia.com port 25 and do a RCPT TO: <[EMAIL PROTECTED]> you will
naturally get a relaying denied message, because that box is not set up to
handle mail for the domain oyeindia.com

Some broken 'doze MTAs such as IMail do this (use a gethostbyname() or
equivalent)  and choose to ignore MX records.  They also block MAIL FROM:<>
so that the bounces dont get delivered, leaving them frozen in my mail queue
@$^#$^#&^#%&^

        -s

--
Suresh Ramasubramanian < > mallet <at> efn dot org
EMail Sturmbannfuhrer, Lower Middle Class Sysadmin


----------------------------------------------
Find out more about this and other Linux India 
mailing lists at http://lists.linux-india.org/

Reply via email to