1 (edited by tentas 2010-03-18 03:31:37)

Topic: cron errors policyd

Hi, thanks again for your great work. I have some minor questions to do,
my mail server is working pretty good into a real environment with newsletters and sometimes heavy traffic.

In my  policyd mail account, I keep getting cron errors of my system.
basically two of them>
    Cron <policyd@domain.com> -c /etc/postfix-policyd_sender_throttle.conf
           Cron <policyd@domain.com> -c /etc/postfix-policyd.conf

with the same body:  /bin/sh: Illegal option -

found cronjob code under /var/spool/cron
1       */2       *       *       *        -c /etc/postfix-policyd.conf

What is this -c option. Don't get it.

I have intalled my postfixpolicyd database manually,(had some problems with the apt packages) and seems working, because records are being inserted into tables.

Any help very appreciated


Get fast and professional support from iRedMail developers:


Re: cron errors policyd

That's caused by your failed policyd installation. You can prepend path of policyd-cleanup manually. like this:

/usr/sbin/postfix-policyd-cleanup -c /etc/postfix-policyd.conf

Fixed this in iRedMail -current moment ago by hardcoded path, thanks for your report smile
http://code.google.com/p/iredmail/sourc … 1767c31af9


Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

3 (edited by tentas 2010-03-18 18:26:33)

Re: cron errors policyd

/usr/sbin/postfix-policyd-cleanup -c /etc/postfix-policyd.conf

This route does not exist in my system. It has not been installed postfix-policyd-cleanup.

The suggestion is to make these changes commented  here http://code.google.com/p/iredmail/sourc … 1767c31af9?

My problem is that executing policy_service.sh nothing happens.