20 Sep
2004
20 Sep
'04
23:38
The Monday 2004-09-20 at 12:37 -0400, LRivas@oxiquim.cl wrote:
I dont want to be running postfix all the time, but id like to use some cron jobs to send mail messages to somewhere else (for example a crontab for /usr/local/bin/rootkit | mail mymail@anorherdomain.com -s "Chkrootkit check" ) is there some command to postfix just send this then die?
A mail program calling the sendmail binary (which is provided by postfix) should work. I don't know if it will work, but you can try. However, delivery to the outside by this method is "risky". If the first attempt fails, it will be queued, but as the daemon is not running, it will never try again. -- Cheers, Carlos Robinson