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 08-22-2009, 01:11 AM   #1
varun2109
LQ Newbie
 
Registered: Apr 2008
Posts: 27

Rep: Reputation: 15
Service Unavailable : Mail IS Not Delivered


Hi everyone,
i have a mailing server setup,
its currently working on sendmail,
there are some email id's on which mails keep bouncing repeatedly,
the error message i get is "Service Unavailable".

The log of one of these mails is:

/Aug 22 08:12:35 mycompany2 sendmail[1513]: n7M2gY6a001513: from=<customercare@mycompany.com>, size=529144, class=0, nrcpts=1, msgid=<20090822-08334957-890-0@pc382.myc.com>, proto=ESMTP, daemon=MTA, relay=linux4.mycompany.com [127.0.0.1]
Aug 22 08:12:37 mycompany2 sendmail[1515]: STARTTLS=client, relay=flyabove.com., version=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA, bits=256/256
Aug 22 08:12:39 mycompany sendmail[1510]: n7M2gPVN001508: to=<eguser@eusebios.pt>, delay=00:00:13, xdelay=00:00:12, mailer=esmtp, pri=767703, relay=mail.eusebios.pt. [62.28.89.32], dsn=5.0.0, stat=Service unavailable/

Also,i think i might be blacklisted on some domains,my mail server does not have reverse DNS and sometimes the Recipient blacklists my company's domain,is there any way to avoid this,i had read somewhere about implementing SMARTHOST in Sendmail but i have no idea how to implement it.
Please shed some light on this....
Also Please help with the 'Service Unavailable' ERROR.

THANKS In Advance.
VARUN.
 
Old 08-22-2009, 06:43 PM   #2
walruz
Member
 
Registered: Aug 2009
Location: Buenos Aires
Distribution: Debian/GNU Linux
Posts: 35

Rep: Reputation: 17
Service Unavailable = service is unavailable. If you read the logs, you'll see that you contact the server, but the mail is not being delivered (could be miryad of reasons, from settings errors, maintenance downtime, messed up system, and so on). Try to contact the postmaster on the remote host to see what's going on..

Regarding your second question, the reverse DNS stuff, it's a countermeasure against spam implemented by many ISP which will deny mail delivery by servers that do not have a reverse DNS record (PTR record), which most spammy hosts/zombies lack. If you have a static IP address, try to contact your ISP and ask them for a PTR record assigment for your IP, preferably your hostname.
 
Old 08-24-2009, 12:41 AM   #3
varun2109
LQ Newbie
 
Registered: Apr 2008
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks Walruz,

but apart from these error a lot of emails are queued everyday & these are the erros i get....

1) Deferred: Connection timed out with abc.xyz.org.
2) Host unknown (Name server: xyz.com.: host not found)

please help me out with this as this is really frustrating to check each & every message getting queued.
 
Old 08-24-2009, 11:35 AM   #4
walruz
Member
 
Registered: Aug 2009
Location: Buenos Aires
Distribution: Debian/GNU Linux
Posts: 35

Rep: Reputation: 17
I'm a postmaster myself, and when checking for logs on a medium sized mailserver (around 10K mails each day) you see those everyday

1) Connection timed out with domain.tld: this means that there's something wrong on that server. Either it's down, the service is down, refusing connections, not updated MX for a domain, etc
2) Host unknown: if someone in your domain sends a mail to joe@fake.inexistant.domain.which.may.exist.com, there's a big chance that these domain (or subdomain) doesn't exist. Or if it exists, it doesn't have a mail server. Most of this errors are just mistyped mail addresses or old mail addresses from old contact lists.

You'll see MANY errors, in quantity & variety while checking a mailserver log. Don't panic, the fact that you work hard to keep your mailserver working & functional, doesn't mean that the people managing x.y.z mailserver puts the same hard work on their servers.
 
Old 08-25-2009, 12:11 AM   #5
varun2109
LQ Newbie
 
Registered: Apr 2008
Posts: 27

Original Poster
Rep: Reputation: 15
thanks Walruz ,

please give me some tips to help improve the performance of my mail server....as i am a ,

thanks again.
 
  


Reply

Tags
error, service


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
CUPS error : Service unavailable cjagdish69 Linux - Server 3 02-06-2009 01:32 AM
[SOLVED] sendmail, mail is not getting delivered, getting an return mail procfs Linux - Newbie 2 05-22-2007 11:49 PM
PHP mail() function and sendmail: stat=Service unavailable xpucto Linux - Server 1 03-22-2007 10:25 AM
qmail log says mail delivered, mail nowhere to be found svartrev Linux - Software 0 03-24-2004 05:12 PM
Service unavailable tintin Linux - Newbie 2 11-25-2002 06:45 AM


All times are GMT -5. The time now is 07:28 PM.

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