Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #21  
Old 4th August 2008, 13:42
vijay_ps vijay_ps is offline
Junior Member
 
Join Date: Aug 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #22  
Old 5th August 2008, 15:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
tcp 0 0 rks.hpitr.com:smtp *:* LIST EN 10863/sendmail: acc
Can you configure Sendmail to listen on all interfaces?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #23  
Old 5th August 2008, 15:46
vijay_ps vijay_ps is offline
Junior Member
 
Join Date: Aug 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Post please tell me

Please tell me how to do this ?
Reply With Quote
  #24  
Old 6th August 2008, 14:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

I think you can enable this somewhere in /etc/mail/sendmail.cf.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #25  
Old 7th August 2008, 16:57
vijay_ps vijay_ps is offline
Junior Member
 
Join Date: Aug 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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 vijay_ps@yahoo.com
test email from testbag.com.
.
vijay_ps@yahoo.com... 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:<root@rks.hpitr.com>
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?
Reply With Quote
  #26  
Old 8th August 2008, 16:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

What'S the output of
Code:
netstat -tap | grep smtp
?

Please make sure that your server isn't blacklisted: http://mxtoolbox.com/blacklists.aspx
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #27  
Old 9th August 2008, 10:25
vijay_ps vijay_ps is offline
Junior Member
 
Join Date: Aug 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Post 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
Reply With Quote
  #28  
Old 10th August 2008, 12:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by vijay_ps View Post
Preference Host Name IP Address TTL
0 mail.net4india.com 202.71.129.84 86400
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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #29  
Old 12th August 2008, 11:47
vijay_ps vijay_ps is offline
Junior Member
 
Join Date: Aug 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
  #30  
Old 13th August 2008, 16:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
 
Default

No. You must use an A record (i.e., an FQDN) in the MX record, not an IP address.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mail for aol.com loops back to myself CODAC Installation/Configuration 15 7th October 2009 14:36
Postfix & mail forwarding loop varnik Server Operation 21 9th December 2008 15:13
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
Server name change stops webmail working shajazzi Installation/Configuration 3 16th May 2006 16:00
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47


All times are GMT +2. The time now is 22:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.