LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-06-2003, 02:32 AM   #1
ongxanga
Member
 
Registered: Sep 2003
Posts: 31

Rep: Reputation: 15
Relaying denied


Hi all,

my sendmail able to send to yahoo mail. But not work the other way. Here the error message from yahoo mail box when I send to my sendmail. My domain is bloodhound.vnclassified.com. My dns ok, my MX record is ok too.

Please note: can not send to user@hostname.bloodhound.vnclassified.com

Here the message from yahoo mail

Message from yahoo.com.
Unable to deliver message to the following address(es).

<root@bloodhound.vnclassified.com>:
207.45.41.182 does not like recipient.
Remote host said: 550 5.7.1 <root@bloodhound.vnclassified.com>...
Relaying denied
Giving up on 207.45.41.182.

thanks.
 
Old 11-06-2003, 04:07 AM   #2
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
When you send an email is that how it looks in the sender field:


user@hostname.bloodhound.vnclassified.com

with the hostname bit?

If so you probably tell sendmail that it's working for bloodhound.vnclassified.com rather than hostname.bloodhound.vnclassified.com

There's a line in sendmail.cf like

#my official domain name
#define only if sendmail cannot automatically determin your domain
#Dj$w.Foo.COM

change it too (your meant to use the sendmail.mc process but...)

Djbloodhound.vnclassified.com


where bloodhound.vnclassifed.com is what your dns is set up for restart sendmail

May help if this is the problem
 
Old 11-06-2003, 10:25 AM   #3
ongxanga
Member
 
Registered: Sep 2003
Posts: 31

Original Poster
Rep: Reputation: 15
I send with both sender user@domain.com or user@hostname.domain.com.
Both give me the error message that I post in above.

When I get mail bound back. It alway refer to user@hostname.domain.com

Also when I send mail to yahoo. The From field is user@hostname.domain.com. Which I want it like user@domain.com

I did not tell sendmail about my domain yet. I will try out your suggestion and hopefully it will solve the problem.

I will let you know. Thanks
 
Old 11-06-2003, 03:30 PM   #4
lambmt
Member
 
Registered: Sep 2003
Distribution: RedHat 9
Posts: 44

Rep: Reputation: 15
it will send it and we can get it when we email to hostname.subdomain.vnclassified.com but not when we send it to subdomain.vnclassified.com
do we need to be able to ping subdomain.vnclassified.com for it to work if so where do we put that in in the config
 
Old 11-06-2003, 03:50 PM   #5
lambmt
Member
 
Registered: Sep 2003
Distribution: RedHat 9
Posts: 44

Rep: Reputation: 15
we tried every thing but didnt get it to work ... finally i thougth... i cant send someone something without an address so in the bind-conf i put in the address for the domain which is OPTIONAL and now i can recieve mail from yahoo... i can ping lamb.vnclassified.com within the lamb subdomain but not from ns1.vnclassified.com ns1 being the name server for vnclass.... also i cant ping from above vnclassified....ie diff domain how can i set the address for vnclassified.com on the name server which is a windows box if ne one knows....
 
Old 11-06-2003, 03:58 PM   #6
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
When I was using sendmail I used a DNS forwarding service, pointed the MX record to
smtp.mydomaim.com which resolved to the ip address of the machine that was hosting sendmail (just an example) I could then ping and telnet into that server from anywhere on the internet.

I had the adding hostname.smtp.mydomain.com problem and resolved it using the method
I stated up above.


Whatever you are calling your mail server the name should resolve one way or the other to an ip address whether that be a public ip address on a machine connected directly to the internet or the address of another machine/router forwarding to it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Relaying Denied timnew Linux - Networking 2 05-17-2003 09:51 AM
relaying denied ssrikant Linux - Networking 2 05-08-2003 07:51 AM
Relaying denied, Sendmail 8.12.9 grieseju Linux - Software 1 05-07-2003 09:10 AM
relaying denied linuxwannabe Linux - General 3 05-29-2002 12:46 PM
Sendmail Relaying Denied barDo Linux - Networking 2 11-07-2001 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration