Hi,

I want to use policyd to place on HOLD any messages that have more
than 15 recipients specified (either in To:, CC: or Bcc:), so I can
investigate the legitimacy of these messages before allowing them to
be delivered.  Can I do this?

I see in some threads[1][2] that "the next release will allow you to decide your
action: HOLD,REJECT,DEFER etc..", but looking in the source and the
policyd.conf file, the only options are:

#   select temp reject (4xx) or hard reject (5xx) on quota exceeded
#
#                                                     1=4xx  0=5xx
QUOTA_EXCEEDED_TEMP_REJECT=1

Is there a HOLD option?

Also, would this be a correct way to specify all users (so that each
user has a 15 recipient limit per 2 minutes)?

INSERT INTO throttle \
(_from,_count_max,_quota_max,_time_limit,_mail_size,_date,_priority)
VALUES ('%',
           10,                # maximum messages per time unit
          2097152,           # size in bytes (2 megs)
          300,               # time unit in seconds (5 mins)
          3145728,           # maximum message size (3 megs)
          UNIX_TIMESTAMP(),  # current time
          1);                # priority of record

Thanks,
Micah

1. http://tinyurl.com/3b6yeb
2. http://tinyurl.com/3yjbqz

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
policyd-users mailing list
policyd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to