1

Topic: Enable.Throttling/FreeBSD 8.1

Hi,

After following
http://www.iredmail.org/wiki/index.php? … ng/FreeBSD

i get the following error:

Server# /usr/local/etc/rc.d/policyd_sender_throttle restart ; tail -f /var/log/messages
postfix_policyd_sf not running? (check /var/run/policyd_sender_throttle.pid).
/usr/local/etc/rc.d/policyd_sender_throttle: WARNING: run_rc_command: cannot run /usr/local/sbin/policyd_sender_throttle
Oct  4 11:45:15 vms1 rein: /usr/local/etc/rc.d/policyd_sender_throttle: WARNING: run_rc_command: cannot run /usr/local/sbin/policyd_sender_throttle

Any help would be appreciated.

2

Re: Enable.Throttling/FreeBSD 8.1

WARNING: run_rc_command: cannot run /usr/local/sbin/policyd_sender_throttle

This command should be "/usr/local/sbin/postfix-policyd-sf". It's my mistake.

Thanks very much for your feedback. smile

3

Re: Enable.Throttling/FreeBSD 8.1

You can simply fix it by running below command:

# perl -pi -e 's#^(command=).*#${1}/usr/local/sbin/postfix-policyd-sf#' /usr/local/etc/rc.d/policyd_sender_throttle

4

Re: Enable.Throttling/FreeBSD 8.1

Hi Zhang,

would you like to emphasize how this could be fixed, i wish to enable the throttling feature.

5

Re: Enable.Throttling/FreeBSD 8.1

You can simply fix it by running below command:

# perl -pi -e 's#^(command=).*#${1}/usr/local/sbin/postfix-policyd-sf#' /usr/local/etc/rc.d/policyd_sender_throttle