On Mon, 27 Nov 2000, Paul Fontenot wrote:

> I have several scripts that run and mail the output to root for analyses.
> These scripts were using a line such as:
> 
> cron_job | mail -s "Log file output" root
> 
> I think I must have missed something in the docs, since making the change
> to tcpserver, qmail and Maildir from postfix I know get none of these
> mailings and when run from the command line I receive these errors:
> 
> send-mail: fatal: open /etc/postfix/main.cf: No such file or directory

mail is obviously trying to call a postfix executable (or it might be
a postfix executable itself. Change the cron jobs to:

    cron_job | /var/qmail/bin/mailsubj "Log file output" root

-- 
Regards
Peter
----------
Peter Samuel                            [EMAIL PROTECTED]
http://www.e-smith.org (development)    http://www.e-smith.com (corporate)
Phone: +1 613 368 4398                  Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"

Reply via email to