LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-13-2010, 04:00 AM   #1
DKLeader
LQ Newbie
 
Registered: Jun 2009
Location: Ishoej - Outside Copenhagen, Denmark
Distribution: Debian Lenny and Squeeze
Posts: 17

Rep: Reputation: 0
Sendmail - relaying denied


Hi,

I have installed Sendmail on my Debian box. I am running HostingController as my webhotel/domain system.
I have my own DNS servers running and working well. The HC is working well and creates domains, dns and ftp as it should. It is only the mail part that does not work fully.

When I try telnet mydomain 25 I get :
Quote:
Trying xx.xx.xx.xx...
Connected to mydomain.
Escape character is '^]'.
220 FTPServer.jg-data ESMTP Sendmail 8.14.3/8.14.3/Debian-5; Wed, 13 Jan 2010 10:44:21 +0100; (No UCE/UBE) logging access from: xx.xx.xx.xx.generic-hostname.arrownet.dk(OK)-xx.xx.xx.xx.generic-hostname.arrownet.dk [xx.xx.xx.xx]
And if I try telnet mydomain 110 I get :
Quote:
Trying xx.xx.xx.xx...
Connected to mydomain.
Escape character is '^]'.
+OK POP3 Server (Version 1.008) ready.
But if I try to send an email with Telnet mydomain port 25 I get this :
Quote:
HELO mydomain
250 FTPServer.jg-data Hello xx.xx.xx.xx.generic-hostname.arrownet.dk [xx.xx.xx.xx], pleased to meet you
MAIL FROM: oneof@mydomains.dk
250 2.1.0 oneof@mydomains.dk... Sender ok
RCPT TO: anotherof@mydomains.eu
550 5.7.1 anotherof@mydomains.eu... Relaying denied
I have tried using port 587 but with same result.

I have searched the net to try to find something describing why I get Relaing denied, but didnt come accross something solving my problem.
Anyone that has a clue to what I have done wrong?

Last edited by DKLeader; 01-13-2010 at 04:02 AM.
 
Old 01-13-2010, 04:19 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
well if you aren't sending to the local domain of the box clearly you need to tell it to relay for the additional domains. add them to /etc/mail/relay-domains
 
Old 01-13-2010, 07:25 AM   #3
DKLeader
LQ Newbie
 
Registered: Jun 2009
Location: Ishoej - Outside Copenhagen, Denmark
Distribution: Debian Lenny and Squeeze
Posts: 17

Original Poster
Rep: Reputation: 0
Hmm, dont have a /etc/mail/relay-domains and shouldnt hostingcontroller add these by itself when a domain is created if they were needed in that file?
 
  


Reply

Tags
debian, denied, relaying, sendmail


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
SuSe sendmail Relaying denied errors cavladim Linux - Newbie 2 10-03-2006 09:20 AM
Sendmail Relaying Denied, Tensionnnn pau_kacang Linux - Software 2 08-06-2005 04:17 AM
Sendmail.... Relaying denied. IP name lookup failed Krishna2412 Linux - Security 6 06-21-2005 01:01 AM
Relaying denied, Sendmail 8.12.9 grieseju Linux - Software 1 05-07-2003 09:10 AM
Sendmail Relaying Denied barDo Linux - Networking 2 11-07-2001 10:51 AM


All times are GMT -5. The time now is 03:39 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration