Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Problem: Emails with invalid user delivers to server

Discussion in 'E-mail Discussion' started by REXNET, Feb 1, 2012.

  1. REXNET

    REXNET Member

    Joined:
    Jan 31, 2012
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    San Francisco
    cPanel Access Level:
    Root Administrator
    I was programming an email validation script and while testing I found that emails with an invalid users deliver to the server successfully and it make my script to report that email address "IS VALID" ! I tried on several domains and all of them were okay but mine.

    Is there any special configuration on EXIM to not accepting wrong emails and reject them?!
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,517
    Likes Received:
    425
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    In the cPanel account that accepted the email, find the icon titled Default Address. Whats are these settings set to?
    Preferred would be: Discard with error to sender (at SMTP time)

    In WHM > Server Configuration > Tweak Settings, Mail tab, find this setting:
    Initial default/catch-all forwarder destination
    And set it proper as well. I believe this is what you seek. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. REXNET

    REXNET Member

    Joined:
    Jan 31, 2012
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    San Francisco
    cPanel Access Level:
    Root Administrator
    Thanks for reply. The "Default Address" is set on "Forward to your system account" , I've fixed Tweak settings and set the value on "Fail" but the "Default Address" didn't change, And the problem still exists.
     
  4. REXNET

    REXNET Member

    Joined:
    Jan 31, 2012
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    San Francisco
    cPanel Access Level:
    Root Administrator
    I changed the client setting manually and set it to "Discard with error to sender (at SMTP time)" and now my script work well, The server is rejecting invalid user emails. How can i fix all exists Host Accounts following same settings as default ?!
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,517
    Likes Received:
    425
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. REXNET

    REXNET Member

    Joined:
    Jan 31, 2012
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    San Francisco
    cPanel Access Level:
    Root Administrator
    Thank you!
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice