JB> Specifically, I want to blackhole any messages largerJB> than size
X, unless the List-Id field is set to A,B, or C in whichJB> case I'd
like the limit raised to Y.
DL> Well, he did say 'blackhole', so in the data acl, a discard stanza can
DL> be added that tests for the size > X and list id != what he's looking
DL> for.

Exactly. Can I entice someone to provide configuration syntax? My
current exim4 configuration looks like this.

# Stop large messages.
MESSAGE_SIZE_LIMIT = 60K

# We want to silently discard large messages, not reject. Thus comment
# out the following section.
#.ifdef MESSAGE_SIZE_LIMIT
#message_size_limit = MESSAGE_SIZE_LIMIT
#.endif

2011-10-25 20:02:50 1RItlQ-0004Xi-M1 => blackhole (DATA ACL discarded
recipients): Message size 3389749 is larger than 60K

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to