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.

Blocking large messages

Discussion in 'General Discussion' started by pubwvj, Feb 23, 2005.

  1. pubwvj

    pubwvj Active Member

    Joined:
    Mar 15, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    In the Mountains of Vermont
    Any ways to block large messages?

    Spammers on occasion (daily?) send huge (250KB and greater) email. Usually it is an attachment.
    I can block the IP's of them but that is not enough.

    Anyone one have good ways of blocking these?

    Ideally I would like to block all attachments and messages larger than say 50KB unless they are from a whitelisted person. I don't see any SpamAssassin tests for message size. That would be handy.
     
  2. clickelement

    clickelement Member

    Joined:
    Nov 26, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I am also looking to block large INCOMING attachments. I know how to use the "message_size_limit" directive in exim to limit the size but it limits both the incoming and outgoing message sizes. I only want to limit the incoming message size. Can anyone shed any light?

    pubwvj, if you want to limit both incoming and outgoing to 50k add this line to your exim configuration in WHM:

    #!!# Limits the maximum message size.

    message_size_limit = 50000
     
  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
    You can probably do it in an ACL or router. Unless someone has an idea, you'll have to pop on over to the exim site and have a search and/or post to the exim mailing list.
     
Loading...

Share This Page