LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-27-2007, 07:18 AM   #1
Raakh
Member
 
Registered: May 2007
Posts: 128

Rep: Reputation: 15
Email Setting Problem


My whole email messages are going to junk/bulk from my dedicated server. my OS is RHE. Is there any solution for it?

thanks & best regards
 
Old 12-28-2007, 04:30 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
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.

Peace,
JimBass
 
Old 12-29-2007, 10:27 AM   #3
Raakh
Member
 
Registered: May 2007
Posts: 128

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by JimBass View Post
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.

Peace,
JimBass
Please check the 209.62.76.34 and advise

thanks for your reply
 
Old 12-29-2007, 10:41 AM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
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.

Peace,
JimBass
 
Old 12-29-2007, 11:24 AM   #5
Raakh
Member
 
Registered: May 2007
Posts: 128

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by JimBass View Post
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?

thanks again & best regards

Last edited by Raakh; 10-14-2008 at 09:38 AM.
 
Old 12-29-2007, 11:44 AM   #6
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
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.

Peace,
JimBass
 
Old 12-29-2007, 12:01 PM   #7
Raakh
Member
 
Registered: May 2007
Posts: 128

Original Poster
Rep: Reputation: 15
thanks for your prompt reply
how can I know that the server itself has the actual address 209.62.76.34 or not?
 
Old 12-30-2007, 10:10 AM   #8
prasanta
Member
 
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368

Rep: Reputation: 37
Quote:
A PTR does exist for that IP, but it says nothing about being a mail server
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
 
Old 12-30-2007, 11:20 AM   #9
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Quote:
Originally Posted by Raakh View Post
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 View Post
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
 
Old 01-01-2008, 10:22 AM   #10
Raakh
Member
 
Registered: May 2007
Posts: 128

Original Poster
Rep: Reputation: 15
the output:
[root@server ~]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:19:B9:CD:F0:F3
inet addr:209.62.76.34 Bcast:209.62.76.47 Mask:255.255.255.240
inet6 addr: fe80::219:b9ff:fecd:f0f3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1050437 errors:0 dropped:0 overruns:0 frame:0
TX packets:1153372 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:125118715 (119.3 MiB) TX bytes:209583518 (199.8 MiB)
Interrupt:169 Memory:f8000000-f8011100

eth0:1 Link encap:Ethernet HWaddr 00:19:B9:CD:F0:F3
inet addr:209.62.76.35 Bcast:209.62.76.47 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169 Memory:f8000000-f8011100

eth0:2 Link encap:Ethernet HWaddr 00:19:B9:CD:F0:F3
inet addr:209.62.76.36 Bcast:209.62.76.47 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169 Memory:f8000000-f8011100

eth0:3 Link encap:Ethernet HWaddr 00:19:B9:CD:F0:F3
inet addr:209.62.76.37 Bcast:209.62.76.47 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169 Memory:f8000000-f8011100

eth0:4 Link encap:Ethernet HWaddr 00:19:B9:CD:F0:F3
inet addr:209.62.76.38 Bcast:209.62.76.47 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169 Memory:f8000000-f8011100

eth0:5 Link encap:Ethernet HWaddr 00:19:B9:CD:F0:F3
inet addr:209.62.76.39 Bcast:209.62.76.47 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169 Memory:f8000000-f8011100

eth0:6 Link encap:Ethernet HWaddr 00:19:B9:CD:F0:F3
inet addr:209.62.76.40 Bcast:209.62.76.47 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169 Memory:f8000000-f8011100

eth0:7 Link encap:Ethernet HWaddr 00:19:B9:CD:F0:F3
inet addr:209.62.76.41 Bcast:209.62.76.47 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169 Memory:f8000000-f8011100

eth0:8 Link encap:Ethernet HWaddr 00:19:B9:CD:F0:F3
inet addr:209.62.76.42 Bcast:209.62.76.47 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169 Memory:f8000000-f8011100

eth0:9 Link encap:Ethernet HWaddr 00:19:B9:CD:F0:F3
inet addr:209.62.76.43 Bcast:209.62.76.47 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169 Memory:f8000000-f8011100

eth0:10 Link encap:Ethernet HWaddr 00:19:B9:CD:F0:F3
inet addr:209.62.76.44 Bcast:209.62.76.47 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169 Memory:f8000000-f8011100

eth0:11 Link encap:Ethernet HWaddr 00:19:B9:CD:F0:F3
inet addr:209.62.76.45 Bcast:209.62.76.47 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169 Memory:f8000000-f8011100

eth0:12 Link encap:Ethernet HWaddr 00:19:B9:CD:F0:F3
inet addr:209.62.76.46 Bcast:209.62.76.47 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169 Memory:f8000000-f8011100

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:356899 errors:0 dropped:0 overruns:0 frame:0
TX packets:356899 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:103362325 (98.5 MiB) TX bytes:103362325 (98.5 MiB)

[root@server ~]#
 
Old 01-01-2008, 01:35 PM   #11
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
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.

Peace,
JimBass
 
Old 01-03-2008, 10:20 AM   #12
Raakh
Member
 
Registered: May 2007
Posts: 128

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by JimBass View Post
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?

Thanks again for favorable replies
Appreciated
 
Old 10-14-2008, 09:44 AM   #13
Raakh
Member
 
Registered: May 2007
Posts: 128

Original Poster
Rep: Reputation: 15
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

Thanks & kind regards
 
Old 10-15-2008, 09:01 AM   #14
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
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.

Peace,
JimBass
 
Old 10-18-2008, 06:27 AM   #15
Raakh
Member
 
Registered: May 2007
Posts: 128

Original Poster
Rep: Reputation: 15
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

Thanks & best regards
 
  


Reply



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
Help on setting up a email server zao Linux - Software 1 07-12-2006 02:19 AM
setting up email sycamorex Linux - Newbie 2 03-05-2006 06:44 AM
setting up email with new domain name mark_alfred Linux - General 4 12-02-2003 11:11 PM
setting up email with new domain name mark_alfred Linux - Networking 9 11-24-2003 08:14 PM
setting up email? sk8guitar Linux - General 3 07-25-2003 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:47 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration