I've just set this up and it works very well if I cheat and execute it as root. If I try to execute as the zimbra user, I get the following:
Code:
zimbra@zimbra:/home/zimbra> fetchmail -v -c -f opt/zimbra/conf/my_fetchrc
/opt/zimbra/.fetchmail.pid: Permission denied
fetchmail: lock creation failed.
The permissions on the my_fetchrc are zimbra:zimba and 710 (set the ownership to root to test it as root.
Any idea what I've done wrong?