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.

Reject Invalid Recipients In SMTP Transaction

Discussion in 'E-mail Discussions' started by Huminie, Nov 29, 2003.

  1. Huminie

    Huminie Member

    Joined:
    Nov 24, 2003
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Is it possible to configure Exim to reject messages to invalid recipients during the initial SMTP session?

    For example:

    telnet mail.domain.com 25
    220-my.server.com ESMTP Exim 4.24 #1 [Date/Time]
    helo domain.com
    250 my.server.com Hello domain.com [xx.xx.xx.xx]
    mail from:<me@domain.com>
    250 OK
    rcpt to:<reallybogususer@mydomain.com>
    550 No such user

    From my testing it seems as though Exim accepts everything (250 OK rather than the 550 above) and then either sends to the default user/rejects/blackholes later. I am thinking this is actually against RFC.

    I want my mail server to only accept email from valid users set up on the server. Can this be configured?
     
  2. cyberspirit

    cyberspirit BANNED

    Joined:
    Jun 27, 2003
    Messages:
    293
    Likes Received:
    0
    Trophy Points:
    0
    Check here under the cpanel section for a sticky thread that I started. It tells you everything you need to know to make the change to reject messages for invalid recipients before accepting the message. The current method is not against RFC, it just uses unnecessary cpu time and bandwidth.
     
  3. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    I can vouch for cyberspirit's recommendations. My mail queue went from over 2000 to about 175 and it's still declining. I have had no complaints from any of my users either.
     
Loading...

Share This Page