The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Exim - reject invalid recipients after RCTP TO command.

Discussion in 'E-mail Discussions' started by Adelante, Dec 5, 2012.

  1. Adelante

    Adelante Registered

    Joined:
    Feb 7, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    By Default exim on cpanel accounts the message for an invalid recipient and then after it has accepted the message, it processes it, gets the "No Such User Here" and then sends back a mail delivery failed message to the sender.

    Is there a way to reject invalid recipients at smtp level (in the RCPT TO command - I know postfix and qmail do this).

    The current way creates such unnecessary overhead on the email queue when it can just be rejected after the RCPT TO command. In addition we run a 3rd party anti-spam solution which checks for valid recipients before it will accept the mail and this is obviously not working since exim is accept email for any recipient, valid or not.

    There are a couple of posts I've found while goggling for an answer, but they all seem to be related to an older version of cpanel / exim. Does anyone have a solution for 11.34 ?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,468
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. cobenterprises

    cobenterprises Registered

    Joined:
    Feb 23, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi, I have always had my server set to :fail: and it always rejected invalid recipients - until today (well I mean I discovered it was not working correctly today). It appeared to be working last week - any ideas?
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,468
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    No way of knowing, you don't mention anything about why you think its not working.
     
  5. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    I was testing this and it's indeed sending a bounce message.

    EDIT:
    Correcting myself.
    The cPanel server is NOT sending a bounce, it's rejecting the mail, the bounce I got was generated by Google (I sent the email through gmail).
     
    #5 quietFinn, Feb 24, 2013
    Last edited: Feb 24, 2013
Loading...

Share This Page