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.

"set default address" question

Discussion in 'General Discussion' started by dennisre3, Nov 24, 2004.

  1. dennisre3

    dennisre3 Member

    Joined:
    Nov 24, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Actually I do not want to use a default address, because most viruses send to random_user@myserver.com. If I set the default user to ":fail: no such user", it causes high server load because of many, many bounce message deliveries. Isnt it possible that exim gives an SMTP error when the account doesnt exsit?

    thanks
     
  2. dennisre3

    dennisre3 Member

    Joined:
    Nov 24, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    BTW: using :blackhole: is not good, because real users who try to send an e-mail and miss-spelled the address, wont be informed that their message wasnt delivered.
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That's exactly what :fail: does. Either you haven't implemented it correctly, or you're using an old and out of date exim configuration. Make sure that you have the following somewhere in the second textbox of the first triplet of boxes in the WHM > Exim Configuration Editor:

    Code:
      #recipient verifications are required for all messages that are not sent to the local machine
      #this was done at multiple users requests
    
      message = "The recipient cannot be verified.  Please check all recipients of this message to verify they are valid."
      verify = recipient
    If not, you might want to run:

    /scripts/exim4 --latest

    Also, if you're using :fail: you might want to use a dictionary attack ACL:
    http://www.webumake.com/free/eximdeny.htm
     
  4. dennisre3

    dennisre3 Member

    Joined:
    Nov 24, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    I updated WHM and it now seams to work, but in outlookexpress I get an unknown error if the account doesnt exisit. I think there is an SMTP error code for "no such account". I wonder why it is not used.

    Also updating exim, doesnt update the configuration, does it? how to get the latest configuration?
     
  5. dennisre3

    dennisre3 Member

    Joined:
    Nov 24, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    it still bounces

    it still bounces the messages. In the queue:


    1CWlcK-0004D2-O2-D
    This message was created automatically by mail delivery software.

    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:

    info@mysercer.com
    no such address here

    ------ This is a copy of the message, including all the headers. ------



    It also bounces messages rejected by SpamAssasin:

    1CWdn6-0003Im-7u-D
    This message was created automatically by mail delivery software.

    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:

    support@myserveer.com
    This message has been rejected because it has
    a potentially executable attachment "your_website.pif"
    This form of attachment has been used by
    recent viruses or other malware.
    If you meant to send this file then please
    package it up as a zip file and resend it.

    ------ This is a copy of the message, including all the headers. ------

    dont want it to bounce
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That last one is not :fail: creating the bounce, that's /etc/antivirus.exim. You can tell this from the error you mentioned:

    "This message has been rejected because it has
    a potentially executable attachment "your_website.pif""

    Personally, I don't like /etc/antivirus.exim and simply empty that file. You could try emptying out antivirus.exim and see if that works for you:

    cat /dev/null > /etc/antivirus.exim
     
Loading...

Share This Page