[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

strange sendmail problem (dsn=5.0.0, stat=Service unavailable)

Posted on 2013-11-06
7
Medium Priority
?
4,885 Views
Last Modified: 2016-02-11
Hi there,
I've got a strange problem regarding sendmail. I have a freebsd server running groupware with domain: domain.nl . At the office they have an exchange server also using domain.nl emailaddresses. Email is forwarded to the right server by an external mailserver and local email is handled by the virtusertable.
This is working well for about 100 users on the groupware server but I have one user who is unable to mail to the exchange server. All other users can do that, except this one. he gets an "dsn=5.0.0, stat=Service unavailable" error.
When I make a telnet connection to the exchange server from the groupware server it accepts the mail.
0
Comment
Question by:rogerberger
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 

Author Comment

by:rogerberger
ID: 39627089
Some extra info:
Nov  6 08:33:34 s3 sm-mta[41717]: rA67XX7Y041715: to=<wilko@domain.nl>, delay=00:00:01, xdelay=00:00:00, mailer=esmtp, pri=33802, relay=mail.domain.com. [213.125.155.154], dsn=2.0.0, stat=Sent ( <73127ACE71E2A2479C9E4DC436AA3BC0AED941@mainserver.domain.local> Queued mail for delivery)
Nov  6 12:42:23 s3 sm-mta[73607]: rA6BgGM4073605: to=<wilko@domain.nl>, ctladdr=<loredanacannas@domain.nl> (1013/1938), delay=00:00:07, xdelay=00:00:07, mailer=esmtp, pri=32306, relay=mail.domain.com. [213.125.155.154], dsn=5.0.0, stat=Service unavailable

and from prompt:

s3# telnet 213.125.155.154 25
Trying 213.125.155.154...
Connected to mail.domain.com.
Escape character is '^]'.
220 domain.nl Microsoft ESMTP MAIL Service, Version: 6.0.3790.4675 ready at  Wed, 6 Nov 2013 13:01:55 +0100
helo domain.nl
250 domain.nl Hello [83.96.158.162]
mail from: loredanacannas@domain.nl
250 2.1.0 loredanacannas@domain.nl....Sender OK
rcpt to: wilkotrenning@domain.nl
250 2.1.5 wilkotrenning@domain.nl
data
354 Start mail input; end with <CRLF>.<CRLF>
test4
.
250 2.6.0 <MAINSERVERrNKBqujsc00000031@domain.nl> Queued mail for delivery
quit
221 2.0.0 domain.nl Service closing transmission channel
Connection closed by foreign host.
0
 
LVL 20

Expert Comment

by:carlmd
ID: 39627305
Do you have a setup that says for whom your mail server will relay mail, and if so is the ip address of the problem pc in that list?
0
 

Author Comment

by:rogerberger
ID: 39627340
Yes,

I have a relay-domains file containing the IP and domainname of the exchange server. But that is working, all other users can send mail without a problem. It's just this one user who can't.
And it's not the exchange server because I can send email from this user from prompt (telnet port 25).
0
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 
LVL 20

Expert Comment

by:carlmd
ID: 39627370
Did this ever work from this pc?

Have you checked the mail client (outlook?) settings?

Do you have a setting for the mailserver in the hosts file on that pc?

Does your sendmail configuration use any of the .db configurations or milters?
0
 

Author Comment

by:rogerberger
ID: 39629505
No, it's not a PC with Outlook. the sendmail side is a groupware server (egroupware) with 100 users and the other side is an exchange 2003 server.
secretariaat@domain.nl is located on the exchange server and so forwarded in the virtusertable on the groupware server.
What I forgot to mention is that for routing the mail to the correct server, I am using domain.com also on the exchange server.
only one user of these 100 groupware users gets an error 5.0.0 sending mail to secretariaat@domain.nl

Sendmail has a mostly standard configuration.

Thanks,
Roger
0
 

Accepted Solution

by:
rogerberger earned 0 total points
ID: 39632939
Well it was the spam filter on exchange which blocked the mail. Strange thing is that it didn't block the mail when I sent it from prompt using telnet.
0
 

Author Closing Comment

by:rogerberger
ID: 39641181
I found the problem myself and it wasn't really in sendmail but in exchange.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question