output screen as you suggested output of netstat -tap is as under Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address Stat e PID/Program name tcp 0 0 *:32769 *:* LIST EN 2213/rpc.statd tcp 0 0 *:mysql *:* LIST EN 2477/mysqld tcp 0 0 *:sunrpc *:* LIST EN 2193/portmap tcp 0 0 *:auth *:* LIST EN 2414/xinetd tcp 0 0 rks.hpitr.com:ipp *:* LIST EN 30339/cupsd tcp 0 0 rks.hpitr.com:smtp *:* LIST EN 10863/sendmail: acc tcp 0 0 rks.hpitr.com:smtp rks.hpitr.com:39960 TIME _WAIT - tcp 0 0 rks.hpitr.com:mysql rks.hpitr.com:39868 ESTA BLISHED 2477/mysqld tcp 0 0 rks.hpitr.com:mysql rks.hpitr.com:39866 ESTA BLISHED 2477/mysqld tcp 0 0 rks.hpitr.com:mysql rks.hpitr.com:39867 ESTA BLISHED 2477/mysqld tcp 0 0 rks.hpitr.com:mysql rks.hpitr.com:39396 ESTA BLISHED 2477/mysqld tcp 0 0 rks.hpitr.com:mysql rks.hpitr.com:39397 ESTA BLISHED 2477/mysqld tcp 0 0 rks.hpitr.com:mysql rks.hpitr.com:39394 ESTA BLISHED 2477/mysqld tcp 0 0 rks.hpitr.com:mysql rks.hpitr.com:39395 ESTA BLISHED 2477/mysqld tcp 0 0 *:3820 *:* LIST EN 16549/java tcp 0 0 *:8686 *:* LIST EN 16549/java tcp 0 0 *:3920 *:* LIST EN 16549/java tcp 0 0 *:webcache *:* LIST EN 16549/java tcp 0 0 *:http *:* LIST EN 8295/httpd tcp 0 0 *:3700 *:* LIST EN 16549/java tcp 0 0 rks.hpitr.com:47316 *:* LIST EN 16549/java tcp 0 0 *:8181 *:* LIST EN 16549/java tcp 0 0 *:ssh *:* LIST EN 4520/sshd tcp 0 0 *:ms-sql-s *:* LIST EN 16549/java tcp 0 0 *:47323 *:* LIST EN 16549/java tcp 0 0 *:https *:* LIST EN 8295/httpd tcp 0 0 *:7676 *:* LIST EN 16549/java tcp 1 0 rks.hpitr.com:53911 rks.hpitr.com:mysql CLOS E_WAIT 16549/java tcp 0 0 www.hpitr.com:ms-sql-s 85.182.220.203.dial.dy:2742 ESTA BLISHED 16549/java tcp 1 0 rks.hpitr.com:47327 rks.hpitr.com:mysql CLOS E_WAIT 16549/java tcp 1 0 rks.hpitr.com:47328 rks.hpitr.com:mysql CLOS E_WAIT 16549/java tcp 1 0 rks.hpitr.com:47329 rks.hpitr.com:mysql CLOS E_WAIT 16549/java tcp 0 0 www.testbag.com:ms-sql-s ::ffff:221.2.206.226:56952 ESTA BLISHED 16549/java tcp 0 0 rks.hpitr.com:39868 rks.hpitr.com:mysql ESTA BLISHED 16549/java tcp 0 0 rks.hpitr.com:39867 rks.hpitr.com:mysql ESTA BLISHED 16549/java tcp 0 0 rks.hpitr.com:39866 rks.hpitr.com:mysql ESTA BLISHED 16549/java tcp 0 0 rks.hpitr.com:39397 rks.hpitr.com:mysql ESTA BLISHED 16549/java tcp 0 0 rks.hpitr.com:39396 rks.hpitr.com:mysql ESTA BLISHED 16549/java tcp 0 0 rks.hpitr.com:39395 rks.hpitr.com:mysql ESTA BLISHED 16549/java tcp 0 0 rks.hpitr.com:39394 rks.hpitr.com:mysql ESTA BLISHED 16549/java tcp 1 0 rks.hpitr.com:37152 rks.hpitr.com:mysql CLOS E_WAIT 16549/java tcp 1 0 rks.hpitr.com:38209 rks.hpitr.com:mysql CLOS E_WAIT 16549/java tcp 0 0 www.testbag.com:ssh ABTS-NCR-Static-019.0.:2195 ESTA BLISHED 9442/1 tcp 0 372 www.testbag.com:ssh ABTS-NCR-Static-019.0.:2446 ESTA BLISHED 9941/2 ouput of hosts.deny ALL : ALL VINO-SERVER: ALL EXCEPT 122.160.0.19 : ALLOW please now suggest how can i able to send mails from this server through my website hosted on this server. Vijay
still mails are not sending from server Dear Sir, I have done some changes in sendmail.mc file. but after that i have got following output while trying mail from send mail ========================================================= [root@rks mail]# sendmail -v [email protected] test email from testbag.com. . [email protected]... Connecting to [127.0.0.1] via relay... 220 rks.hpitr.com ESMTP Sendmail 8.13.1/8.13.1; Thu, 7 Aug 2008 20:13:08 +0530 >>> EHLO rks.hpitr.com 250-rks.hpitr.com Hello rks.hpitr.com [127.0.0.1], pleased to meet you 250 ENHANCEDSTATUSCODES >>> MAIL From:<[email protected]> 550 5.0.0 Access denied root... Using cached ESMTP connection to [127.0.0.1] via relay... >>> RSET 250 2.0.0 Reset state >>> MAIL From:<> 550 5.0.0 Access denied postmaster... Using cached ESMTP connection to [127.0.0.1] via relay... >>> RSET 250 2.0.0 Reset state >>> MAIL From:<> 550 5.0.0 Access denied Closing connection to [127.0.0.1] >>> QUIT 221 2.0.0 rks.hpitr.com closing connection ======================================================== this is the output of netstat command ==========================================================[root@rks mail]# netstat -an |grep :25 |grep tcp tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:25 127.0.0.1:46336 TIME_WAIT ========================================================== Please suggest what to do?
What'S the output of Code: netstat -tap | grep smtp ? Please make sure that your server isn't blacklisted: http://mxtoolbox.com/blacklists.aspx
output screen as you suggested Dear Sir, Thanks for your suggestions and help. below are the output of commands as you suggested ========================================================== [root@rks ~]# netstat -tap | grep smtp tcp 0 0 *:smtp *:* LIST EN 30167/sendmail: acc tcp 0 0 rks.hpitr.com:smtp rks.hpitr.com:49854 TIME _WAIT - =================================================== I have also checked our ip is not blacklisted anywhere. Is there this problem coming because of mx records. below are the mx record details MX Lookup Domain Name: testbag.com dns1.vsnl.com reports the following MX records: Preference Host Name IP Address TTL 0 mail.net4india.com 202.71.129.84 86400 Please suggest me what can be solution of this problem Regards, Vijay
This means that mails for your domain go to the mail.net4india.com server. If you want the mails to go to your server, you must change the MX record.
What entry i should do in mx record Thankyou for your findings. Sir, Tell should I enter server IP address in mx record? Regards, Vijay