LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Help in maintaining Mail Server. (http://www.linuxquestions.org/questions/linux-server-73/help-in-maintaining-mail-server-752069/)

varun2109 09-02-2009 08:10 AM

Help in maintaining Mail Server.
 
Hi all,

I am working on a linux mail server,
i need help in maintaining it,
what processes should i run to ensure the smooth running of my server.

these are some of the errors i usually get for the mails that remain in queue:

1)Service unavailable
2)Deferred
3)Host unknown (Name server: xyz.com.:host not found)
4)Deferred: 451 Timeout waiting for command, terminating connection
5)Deferred: Connection refused by xyz.com.


I want to know whether these problems are from my side or the client side.
Also,there are some clients that receive same mails twice or thrice,

Please shed some light on the above.

Thank You All.

Varun

Cottsay 09-02-2009 12:34 PM

Hello! Can you give a little more information, please, such as which distribution you're using, which mail program you're using (most commonly sendmail or postfix) and maybe an excerpt from your mail log. I, personally, have seen "service unavailable" responses being sent from my server when it determines that the incoming transmission is from a "spam" server, as well as for the "host unknown" response. Pretty sure number 4 is not your fault :)

--scott

varun2109 09-03-2009 03:30 AM

Quote:

Originally Posted by Cottsay (Post 3667049)
Hello! Can you give a little more information, please, such as which distribution you're using, which mail program you're using (most commonly sendmail or postfix) and maybe an excerpt from your mail log. I, personally, have seen "service unavailable" responses being sent from my server when it determines that the incoming transmission is from a "spam" server, as well as for the "host unknown" response. Pretty sure number 4 is not your fault :)

--scott



Hey thanks for reply,

i usually get 3-5% mails in queue and 2-3% mails in bounce

i am using CentOS 5.2 dist and sendmail for mailing....

maillog file:


Sep 2 04:05:27 linux sendmail[27502]: n82MVOru027500: to=<abc@axyz.net>, delay=00:04:02, xdelay=00:04:02, mailer=esmtp, pri=144078, relay=mail1.xyz.net. [ip.ip.ip.ip], dsn=4.0.0, stat=Deferred: Connection timed out with mail1.xyz.net.

Sep 2 04:05:28 linux sendmail[26509]: n82MNR7E026507: to=<abc@def.com>, delay=00:12:01, xdelay=00:12:01, mailer=esmtp, pri=143051, relay=def-com-bk.mr.ddd.com. [208.36.123.200], dsn=4.0.0, stat=Deferred: Connection timed out with def-com-bk.mr.ddd.com.



Thanks You,

Regards,
Varun

your_shadow03 09-03-2009 03:57 AM

It seems that SMTP is not allowing your mail to reach few machines.
Can you confirm if the SMTP Port is enabled on all the Relay and Other Machines you are trying mail to.

Deffered Messages gets displayed if SMTP Port seems to have some problem allowing it to reach destined MTA.


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