LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Sendmail - relaying denied (https://www.linuxquestions.org/questions/linux-server-73/sendmail-relaying-denied-781899/)

DKLeader 01-13-2010 04:00 AM

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?

acid_kewpie 01-13-2010 04:19 AM

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

DKLeader 01-13-2010 07:25 AM

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?


All times are GMT -5. The time now is 05:37 AM.