Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sendmail rejects my doimain.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
5xl
n00b
n00b


Joined: 08 Aug 2004
Posts: 27
Location: Gaithersburg, MD, US

PostPosted: Sun Apr 03, 2005 11:35 pm    Post subject: Sendmail rejects my doimain. Reply with quote

I am trying to accept email on my mail server for two domains, domain1.com and domain2.net. I can sucessfully send and recieve email to any user at domain1.com but when I try and send an email from my yahoo account to the same user at domain2.net I get the following:

Code:
Hi. This is the qmail-send program at yahoo.com.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<user@domain2.net>:
XX.XXX.XXX.XX does not like recipient.
Remote host said: 553 sorry, relaying denied from your location
[XXX.XXX.XXX.XXX] (#5.7.1)
Giving up on XX.XXX.XXX.XX.

--- Below this line is a copy of the message.
etc, etc...


My sendmail /etc/mail/local-host-names file reads:
Code:
domain1.com
www.domain1.com
mail.domain1.com
zeus.domain1.com
zues.domain2.net
domain2.net
www.domain2.net
mail.domain2.net


My /etc/hosts reads:
Code:
127.0.0.1               zues.domain1.com zues
127.0.0.1               zues.domain2.net zues


The output of `domainname -f` from my mail server is:
Code:
zues.domain1.com


There is no output from /var/log/mail that would indicate any problem. Just typical status and seccess messages.

The only thing that I can think that is possibly wrong is that the domain for my server needs to be domain2.net. If this is the case how can I have two domain names for a single machine? Why will only one of my domains work? Oh yeah, I am using sendmail-8.12.
_________________
--------------------
*Gentoo 2004.3*
Athlon XP 3200+ OC'ed 3350
Liquid Cooled CPU GPU Northbridge
GB DDR400, 240 SATA, 230 PATA
And Windoze is still slow...
Back to top
View user's profile Send private message
acasto
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 236
Location: Durka-Durka-Stan

PostPosted: Mon Apr 04, 2005 2:08 am    Post subject: Reply with quote

Just to make sure, did you run 'makemap' on the local-host-names file? Also, do you have VIRTUSER_DOMAIN_FILE(`/etc/mail/local-host-names')dnl in your configuration file?


- Adam
_________________
Leerrroooooyyyyyyyy JENKINS!!!!1111...................

"You know the Nazi's had pieces of flare.. that they made the Jews wear."
Back to top
View user's profile Send private message
5xl
n00b
n00b


Joined: 08 Aug 2004
Posts: 27
Location: Gaithersburg, MD, US

PostPosted: Mon Apr 04, 2005 5:40 pm    Post subject: SOLVED Reply with quote

Forgot to set the DNS servers on the registrar. Problem solved!
_________________
--------------------
*Gentoo 2004.3*
Athlon XP 3200+ OC'ed 3350
Liquid Cooled CPU GPU Northbridge
GB DDR400, 240 SATA, 230 PATA
And Windoze is still slow...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum