sendmail DSN: Service unavailable

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

darkwave
Posts: 35
Joined: Tue Aug 21, 2007 3:47 am

sendmail DSN: Service unavailable

Postby darkwave » Wed Jan 23, 2008 7:34 am

Hi @ all

I just installed scalix 11.3 on fedora 7. Everything works perfect, except sending emails over a smarthost to an other domain as the smarthost's domain name.

I used this howto http://www.scalix.com/wiki/index.php?ti ... ntegration

The funny thing is, that i can send mails to users who has the same domain name as my smarthost. to other domains like gmx or hotmail the following error appears: (/var/log/maillog)

Jan 23 03:21:34 scalix sendmail[3163]: m0N8LUvv003157: to=<to@domain.ch>, delay=00:00:03, xdelay=00:00:03, mailer=esmtp, pri=120446, relay=mgw2.interway.ch. [194.246.118.68], dsn=5.7.1, stat=Service unavailable
Jan 23 03:21:34 scalix sendmail[3163]: m0N8LUvv003157: m0N8LYvv003163: DSN: Service unavailable
Jan 23 03:21:34 scalix sendmail[3163]: m0N8LYvv003163: to=<from@domain.ch>, delay=00:00:00, xdelay=00:00:00, mailer=scalix_mime, pri=31662, relay=scalix, dsn=2.0.0, stat=Sent (Ok)
Jan 23 03:21:35 scalix sendmail[3174]: m0N8LZaN003174: from=<from@domain.ch>, size=456, class=0, nrcpts=1, msgid=<1201072766.7902.2.camel@fedora>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]


Then I receive an email from the submailer system with this content:

Code: Select all

The original message was received at Wed, 23 Jan 2008 04:05:56 -0500
from localhost [127.0.0.1]

   ----- The following addresses had permanent fatal errors -----
<to@domain.ch>
    (reason: 554 5.7.1 <73-101.5-85.cust.bluewin.ch[85.5.101.73]>:
Client host rejected: Your access priviledges have been revoked, ACCESS
DENIED)

   ----- Transcript of session follows -----
... while talking to mgw2.interway.ch.:
>>> DATA
<<< 554 5.7.1 <73-101.5-85.cust.bluewin.ch[85.5.101.73]>: Client host
rejected: Your access priviledges have been revoked, ACCESS DENIED
554 5.0.0 Service unavailable
<<< 554 5.5.1 Error: no valid recipients

p.s. to@domain.ch and from@domain.ch are substitutes.


The mail transfer inside my scalix (intranet) works fine.

Any ideas?

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Wed Jan 23, 2008 7:56 am

Is this only on outgoing mail? It looks like the relay is not allowing you to send email. You need to find out whether you can send through that host, or if you need to authenticate.

darkwave
Posts: 35
Joined: Tue Aug 21, 2007 3:47 am

Postby darkwave » Wed Jan 23, 2008 8:51 am

Thanks for your quick reply

It's for outgoing and incoming emails. The fetch of the mails from this smarthost (with fetchmail) works fine.
If I don't use scalix, but outlook with the pure smtp information, I have to authenticate first on the smarthost but then, I can send emails without any problems.

But you're right, it seems that the authentications is wrong. I made it exactly how it's written in here: http://www.scalix.com/wiki/index.php?ti ... ntegration and this is with authentication as well. Isn't it?

p.s. The password and username are correct!

p.s.s. Even if I try an other smarthost like mail.gmx.net with correct username and password, the same error appears... So, the failure can't be on the smarhosts site...

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Wed Jan 23, 2008 9:54 am

That page does include the auth stuff as well - /etc/mail/authinfo.

The reply is from mgw2.interway.ch, this is the machine giving the error and refusing the message. I suspect from the name that this is the gateway machine. Try sending a mail with mail on the command line and see if that goes out, if not, you need to check your sendmail authentication info.

darkwave
Posts: 35
Joined: Tue Aug 21, 2007 3:47 am

Postby darkwave » Wed Jan 23, 2008 1:14 pm

Okey.
How can I do this?
I tried with: echo "test" | mail -s test to@domain.ch
but I think, this is only for local mailing and doesn't takes sendmail.

Can you please explain me how to send mails from the command line over the scalix-sendmail to the smarthost?

thanks in advice.
darkwave

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Thu Jan 24, 2008 3:25 am

There should be only one copy of sendmail running (on a standard install, if you tweaked that, you will have to adapt your configs). So mail and Scalix should be using the same route to send out.

If you want to be completely sure, use sendmail -bs (the sendmail submission listener) and send it a full SMTP envelope and email message, then track it via the sendmail logs.

darkwave
Posts: 35
Joined: Tue Aug 21, 2007 3:47 am

Postby darkwave » Thu Jan 24, 2008 4:43 am

Sorry, about my silly questions, but I don't no specifically what you mean ;)
I am new with linux and scalix and I just want to test scalix for an future installation in my company.
Can you please explain it in a way that even a dummy can follow it ;)

p.s. the mail which I get back to the local root account looks like this:

Code: Select all

--m0NI9WDO002642.1201111772/scalix.mydomain.ch
Content-Type: message/delivery-status

Reporting-MTA: dns; scalix.mydomain.ch
Received-From-MTA: DNS; localhost
Arrival-Date: Wed, 23 Jan 2008 13:09:31 -0500

Final-Recipient: RFC822; tester@gmx.ch
Action: failed
Status: 5.7.1
Remote-MTA: DNS; malta.interway.ch
Diagnostic-Code: SMTP; 554 5.7.1 <73-101.5-85.cust.bluewin.ch[85.5.101.73]>: Client host rejected: Your access priviledges have been revoked, ACCESS DENIED
Last-Attempt-Date: Wed, 23 Jan 2008 13:09:32 -0500

--m0NI9WDO002642.1201111772/scalix.mydomain.ch
Content-Type: message/rfc822

Return-Path: <root@scalix.mydomain.ch>
Received: from scalix.mydomain.ch (localhost [127.0.0.1])
        by scalix.mydomain.ch (8.14.1/8.14.1) with ESMTP id m0NI9VDO002636
        for <tester@gmx.ch>; Wed, 23 Jan 2008 13:09:31 -0500
Received: (from root@localhost)
        by scalix.mydomain.ch (8.14.1/8.14.1/Submit) id m0NI9VPV002635
        for tester@gmx.ch; Wed, 23 Jan 2008 13:09:31 -0500
Date: Wed, 23 Jan 2008 13:09:31 -0500
From: root <root@scalix.mydomain.ch>
Message-Id: <200801231809.m0NI9VPV002635@scalix.mydomain.ch>
To: tester@gmx.ch
Subject: tester

test


It looks like a problem with my provider "bluewin.ch". I have a local DNS-Server. Do I have to add some mx records or stuff like that??
Sending mails with outlook without scalix works fine...

darkwave
Posts: 35
Joined: Tue Aug 21, 2007 3:47 am

Postby darkwave » Fri Jan 25, 2008 4:29 am

no one out there who can help me??

darkwave
Posts: 35
Joined: Tue Aug 21, 2007 3:47 am

Postby darkwave » Sat Jan 26, 2008 1:35 pm

Hi. I've been trying the whole day, but I can't solve the problem.
While googling I saw a couple of hints that there is no reverse dns configured at my local site. (with other words: my scalix-server can not be resolved from the internet). Thats seems to be logical. But why should it has to be??

An other thing that I saw:
Jan 23 03:21:34 scalix sendmail[3163]: m0N8LUvv003157: to=<to@domain.ch>, delay=00:00:03, xdelay=00:00:03, mailer=esmtp, pri=120446, relay=mgw2.interway.ch. [194.246.118.68], dsn=5.7.1, stat=Service unavailable
Jan 23 03:21:34 scalix sendmail[3163]: m0N8LUvv003157: m0N8LYvv003163: DSN: Service unavailable
Jan 23 03:21:34 scalix sendmail[3163]: m0N8LYvv003163: to=<from@domain.ch>, delay=00:00:00, xdelay=00:00:00, mailer=scalix_mime, pri=31662, relay=scalix, dsn=2.0.0, stat=Sent (Ok)
Jan 23 03:21:35 scalix sendmail[3174]: m0N8LZaN003174: from=<from@domain.ch>, size=456, class=0, nrcpts=1, msgid=<1201072766.7902.2.camel@fedora>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]


Is it normal that the relay station (on the log above) is set to "localhost.localdomain?" or "mgw2.interway.ch"?
Why is there not the smarthost which I configured?

Please help me....

darkwave
Posts: 35
Joined: Tue Aug 21, 2007 3:47 am

Postby darkwave » Sat Jan 26, 2008 3:59 pm

:twisted: :twisted: :twisted: :twisted:
yeah, i just found the failure. don't know if I should be happy or angry ;)
I forgot to type a "P:" in front of the Password Parameter in the AuthInfo - File. That's all !!!

Sorry about the circumstances.
But maybe it can be helpful for someone else :oops:

darkwave


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 11 guests

cron