Results 1 to 11 of 11
  1. #1

    Email server setup on centos 6

    hi,

    i setup the email server on centos 6 following the guideline from https://www.digitalocean.com/communi...ix-on-centos-6
    i am able to send out email from mailx terminal to my gmail. however, when i reply from gmail to my linux email account, i get bounced back."Undelivered Mail Returned to Sender"
    is there anything i missed out here?

    thanks in advance,

  2. #2
    what do you mean?
    i replied directly from my gmail account, and it bounced back.
    seems like it didn't how to route to my mail server.

    the dns already my domain to my server IP....

  3. #3
    Please make sure that you have proper MX record set for your domain name and also make sure that you have set up rDNS record for your mail server. You can not set rDNS from your side, you will have to contact your data center people to set it up for you.

  4. #4
    Join Date
    Oct 2011
    Location
    Redding, CA
    Posts
    62
    Also might want to check that the 'reply-to' on your outgoing mail is correct. Many times the hostname isn't resolvable in messages generated by mail clients, so email will go out looking like 'someone@locahost.localdomain'.
    <<< Please see Forum Guidelines for signature setup. >>>

  5. #5
    i checked the DNS of the domain has been setup for this server ip.
    From outside, i am able to go to www.domain.com. and i am able to ping domain.com from outside.

    not sure do i need the rDNS? i assume that if i was able to ping my domainname from internet, it should have been 'resolved' to this IP.

    and i double check the reply to. it's the someone@domain.com which is the original address which i got in my gmail when i sent out from mailx for testing purpose.

  6. #6
    Join Date
    Aug 2001
    Location
    Boston
    Posts
    1,568
    Quote Originally Posted by ivany View Post
    i checked the DNS of the domain has been setup for this server ip.
    From outside, i am able to go to www.domain.com. and i am able to ping domain.com from outside.

    not sure do i need the rDNS? i assume that if i was able to ping my domainname from internet, it should have been 'resolved' to this IP.

    and i double check the reply to. it's the someone@domain.com which is the original address which i got in my gmail when i sent out from mailx for testing purpose.
    It sounds like you didn't set up any MX records in DNS.
    InterNich LLC
    Founder

    Bringing you PicResize.com (More than 95 million pictures resized since 2005)

  7. #7
    Hi Nich.

    i checked my DNS config. Under the MX section

    Mail Servers (MX Records) help

    Note: Mail Servers are listed in rank order

    domain.com

    Edit MX Records

    my domain is already listed there.

  8. #8
    Join Date
    Oct 2011
    Location
    Redding, CA
    Posts
    62
    Quote Originally Posted by ivany View Post
    Hi Nich.

    i checked my DNS config. Under the MX section

    Mail Servers (MX Records) help

    Note: Mail Servers are listed in rank order

    domain.com

    Edit MX Records

    my domain is already listed there.
    Right, but that doesn't mean it's live on the rest of the internet. What's the actual domain so we can look for you?
    <<< Please see Forum Guidelines for signature setup. >>>

  9. #9

    main problem

    there is a problem with your RDNS you cant set it through your pannel, contact with your service provider and tell him to set it asap.

  10. #10
    you're right maxwell. I updated the PTR record for rdns and my mail server working perfectly.

    thankss

  11. #11
    Join Date
    Mar 2003
    Location
    /root
    Posts
    23,990
    Moved > Hosting Security and Technology.

    Specially 4 U
    Reseller Hosting: Boost Your Websites | Fully Managed KVM VPS: 3.20 - 5.00 Ghz, Pure Dedicated Power
    JoneSolutions.Com is on the net 24/7 providing stable and reliable web hosting solutions, server management and services since 2001
    Debian|Ubuntu|cPanel|DirectAdmin|Enhance|Webuzo|Acronis|Estela|BitNinja|Nginx

Similar Threads

  1. Email problem in centos/cpanel server
    By irfan-EyHost in forum Managed Hosting and Services
    Replies: 11
    Last Post: 10-11-2012, 03:25 PM
  2. Email relay to an outside smtp service provider from our Centos server
    By p2prockz in forum Employment / Job Offers
    Replies: 2
    Last Post: 08-26-2012, 10:43 AM
  3. My CentOS server being used for sending email spam
    By gf2011 in forum Hosting Software and Control Panels
    Replies: 3
    Last Post: 02-23-2012, 06:06 PM
  4. Dedi, CentOS 5.5 server setup Help
    By MarkEliasen in forum Hosting Security and Technology
    Replies: 4
    Last Post: 10-12-2010, 04:58 AM
  5. Setup a Centos dedicated server
    By fateless1 in forum Employment / Job Offers
    Replies: 6
    Last Post: 12-24-2005, 11:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •