procmail
[Top] [All Lists]

Re: Periodically mail procmail's log, without cron?

1999-04-21 15:01:42
I can't tell from your message; perhaps you've already contacted your
ISP. If not, don't rule out using cron just because you're using a shell 
account at your ISP.  Try running 'crontab -l' and see what happens.

'bash: /usr/bin/crontab: Permission denied' :(

Hmmm. Perhaps you should consider setting up a file retrieval recipe. This 
would allow you to retrieve the contents of your log file at will simply by 
sending to yourself an e-mail with an arbitrarily defined subject line.  
The procmailex man page offers the following example:

:0
* !^From +YOUR_USERNAME
* !^Subject:.*Re:
* !^FROM_DAEMON
* ^Subject:.*retrieve
| (formail -r ; cat info_file) | $SENDMAIL -oi
-t