[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: cfengine doesn't send mail

From: Martin, Jason H
Subject: RE: cfengine doesn't send mail
Date: Mon, 22 Aug 2005 08:28:58 -0700

Do you have any 'groups' statements that would cause any sort of output
to stdout? I've seen cases where the following seems to confuse the mail

Somegroup = ( ReturnsZero(/usr/bin/grep foobar /some/file) )

The better way is:
Somegroup = ( ReturnsZero(/usr/bin/grep foobar /some/file >/dev/null
2>&1) )

I'm guessing that the 'early' output is confusing the smtp client; I
haven't debugged it to the code level yet.

-Jason Martin

-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Jamie Wilkinson
Sent: Monday, August 22, 2005 1:33 AM
To: address@hidden
Subject: Re: cfengine doesn't send mail

This one time, at band camp, Bruno Bonfils wrote:
>Hi all,
>I'm using cfengine (GNU cfengine 2.1.15) running on Solaris 10 with the

>following lines include in cfagent.conf :
>        smtpserver = ( )
>        sysadm = ( address@hidden )
>But cfengine never send mail, with automatically cfagent neither 
>manually with cfrun.
>Can you tell me if I miss something ?

You want cfexecd, which is the program that does the sending.


  cfexecd -F

from command line or cron, or without the -F to run as a daemon.

Help-cfengine mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]