Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You probably don't have a PTR, which is a reverse DNS record. Without seeing the domain name, I can't tell you who to ask for the PTR, but odds are very good it will either be your hosting provider, or the upstream ISP.
You probably don't have a PTR, which is a reverse DNS record. Without seeing the domain name, I can't tell you who to ask for the PTR, but odds are very good it will either be your hosting provider, or the upstream ISP.
A PTR does exist for that IP, but it says nothing about being a mail server -
Code:
jim@jimsworktop:~$ dig -x 209.62.76.34
; <<>> DiG 9.4.2 <<>> -x 209.62.76.34
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37502
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;34.76.62.209.in-addr.arpa. IN PTR
;; ANSWER SECTION:
34.76.62.209.in-addr.arpa. 86400 IN PTR globalsteelweb.com.
;; AUTHORITY SECTION:
76.62.209.in-addr.arpa. 259200 IN NS ns2.ev1servers.net.
76.62.209.in-addr.arpa. 259200 IN NS ns1.ev1servers.net.
;; ADDITIONAL SECTION:
ns1.ev1servers.net. 172800 IN A 207.218.245.135
ns2.ev1servers.net. 172800 IN A 207.218.247.135
;; Query time: 257 msec
;; SERVER: 192.168.68.103#53(192.168.68.103)
;; WHEN: Sat Dec 29 11:37:08 2007
;; MSG SIZE rcvd: 157
So officially (according to ev1servers.net, who are responsible for that IP), that IP belongs to something called globalsteelweb.com. If that is your domain, that is at least a step in the right direction. However, if you have only 1 IP and you're running both a webserver and a mailserver on the same single IP, you'll have to decide if you want the PTR name to match the mailserver name or the webserver name. To make a change, you'd have to contact ev1servers.net, who I'm guessing is your hosting provider.
A PTR does exist for that IP, but it says nothing about being a mail server -
So officially (according to ev1servers.net, who are responsible for that IP), that IP belongs to something called mydomain.com. If that is your domain, that is at least a step in the right direction. However, if you have only 1 IP and you're running both a webserver and a mailserver on the same single IP, you'll have to decide if you want the PTR name to match the mailserver name or the webserver name. To make a change, you'd have to contact ev1servers.net, who I'm guessing is your hosting provider.
Peace,
JimBass
Thanks for your reply.
You are very right about the hosting company and my domain name.
I have 15 extra IPs. on my dedicated server apache is running with mod_jk connectors to tomcat and am using the oracle with java servlet.
by default Qmail is configured but am using the JavaMail. Can you please let me know as to how can I assign different dedicated IP to my mail/webserver?
It depends on many different things. If the server itself has the actual address 209.62.76.34, that makes it difficult. If that is the public address of the server, and traffic gets routed to it through a firewall, that is much easier for making the change. If the server itself has an address like 192.168.0.10, 172.16.3.4, or 10.0.5.6, it will be much easier to do. In that case, you simply make mail.globalsteelweb.com point to 209.62.76.35 (if it isn't in use already) and have the hosting provider setup a PTR for mail to that address. Then have the firewall forward all traffic directed at 209.62.76.35 to your LAN address. Then any smtp traffic (at port 25) coming from your machine should go out as 209.62.76.35, and any web traffic should go out as 209.62.76.34.
If the server itself has the address 209.62.76.34, then it gets trickier, because you'd have to have special routing/firewall rules set on the server, because you can't have 2 gateways on the same machine. You'd have to configure the machine to know all mail traffic should go out on one address, and all web traffic on another.
thanks for your prompt reply
how can I know that the server itself has the actual address 209.62.76.34 or not?
Try the command /sbin/ifconfig. It should give you the address of the machine as set on the server. Sorry I didn't respond to that earlier.
Quote:
Originally Posted by prasanta
They do have a mail server pointing to 209.62.76.34. Domain name is mail.globalsteelweb.com.
I think that we can have one server IP address which can handle all the both http traffic as well as mail.
--
Prasanta
You can have any number of services on one address. It isn't the forward addresses we're talking about (globalsteelweb.com, mail.globalsteelweb.com), it is the reverse, the PTR address. When you do a reverse lookup of 209.62.76.34, you get only that the address belongs to globalsteelweb.com, not mail.globalsteelweb.com. See below:
Code:
jim@jimsworktop:~$ dig -x 209.62.76.34
; <<>> DiG 9.4.2 <<>> -x 209.62.76.34
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35971
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;34.76.62.209.in-addr.arpa. IN PTR
;; ANSWER SECTION:
34.76.62.209.in-addr.arpa. 86400 IN PTR globalsteelweb.com.
;; AUTHORITY SECTION:
76.62.209.in-addr.arpa. 170944 IN NS ns2.ev1servers.net.
76.62.209.in-addr.arpa. 170944 IN NS ns1.ev1servers.net.
;; ADDITIONAL SECTION:
ns1.ev1servers.net. 84544 IN A 207.218.245.135
ns2.ev1servers.net. 84544 IN A 207.218.247.135
;; Query time: 101 msec
;; SERVER: 192.168.68.103#53(192.168.68.103)
;; WHEN: Sun Dec 30 12:08:08 2007
;; MSG SIZE rcvd: 157
The original post asked why his outgoing emails were tagged as spam. The Getting the PTR to say mail.globalsteelweb.com instead of globalsteelweb.com will help with getting trapped as spam. Setting the mail to one public address and the webserver to another would be better still, that way each can have a correct PTR. Really, there is not much use for a PTR to a website, but they are super important to mail servers.
Your talking about apples when the question was about oranges. You can have 10 million services on one IP address, but if one of those services is a mail server, you very much want a PTR.
Peace,
JimBass
Last edited by JimBass; 12-30-2007 at 03:42 PM.
Reason: Forgot to answer a valid question from the OP
Ok, that is not too bad of a situation. Your server has the real world addresses already set up on the NIC, so all you would need to do is set your mail server to listen on any of the alternate addresses that you already have (209.62.76.35, 209.62.76.36, 209.62.76.37, etc). Once you have the mail server listening on that address (I'll use 209.62.76.35 as an example), you just request a PTR for mail.globalstellweb.com on that address 209.62.76.35, and then you'll be a legitimate mail server. That should stop your outgoing mail from being tagged as spam.
That assumes of course that you aren't actually sending out spam. If you are sending out spam, no amount of configuration can stop that from being tagged as spam.
you would need to do is set your mail server to listen on any of the alternate addresses that you already have (209.62.76.35, 209.62.76.36, 209.62.76.37, etc). Once you have the mail server listening on that address (I'll use 209.62.76.35 as an example), you just request a PTR for mail.globalstellweb.com on that address 209.62.76.35, and then you'll be a legitimate mail server. That should stop your outgoing mail from being tagged as spam.
That assumes of course that you aren't actually sending out spam. If you are sending out spam, no amount of configuration can stop that from being tagged as spam.
Peace,
JimBass
The Plesk is installed on the dedicated server and is controlling the mails with Qmail. Will I make changes first into Qmail Setting, if so, then what/how I'll make changes? or just I request a PTR for mail.globalstellweb.com on a dedicated IP address?
Dear Jib Boss I requested you repeatedly that please change my company name to domainName.com as the search engines are showing this thread when anybody is trying to search via our company name that is not good gesture for me
Can you please change my company name to domainName.com??
I am thankful to you for your favorable replies and really will appreciate your help
You have asked repeatedly, and I have refused repeatedly. You can't easily troubleshoot DNS without domain names to work with. If you checked the BIND/DNS mailing lists, every time somebody posts with a question about "domain.com" or "example.com", they are told to post back with the real name. In its current form, this thread could help somebody to troubleshoot problems they are having with SPAM email or PTR issues. If I change all of my posts to hide your domain name, it does a great disservice to the people searching for info. I will not change my posts to hide your domain name. You asked for help on a public forum, and that help was provided on a public forum. The answers are therefor exposed to the public. If you wanted some secret help where nobody knew what was happening, then you should have hired someone to fix your problem and not asked on a public forum.
I realize to ask help in public forum but believe me there will be no effect if you change just domain name in the thread this will neither reduce your expertise nor make any sort of dishonesty with this forum
I strongly request you to please change it. That will be your kind enough
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.