How is define the maisl subject of cf_execd
Jerome Jean Verleyen <[email protected]> Tue, 21 Oct 2025 17:52:27 -0700 (PDT)
| Newsgroups | gmane.comp.sysutils.cfengine.general |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_25100_405148528.1761094347568
Content-Type: multipart/alternative;
boundary="----=_Part_25101_749223380.1761094347568"
------=_Part_25101_749223380.1761094347568
Content-Type: text/plain; charset="UTF-8"
Dear all
I've installed a cfengine on some server. Every change of state i'll
received an email, thank's to postfix configured by.... cfenegine :-)
What i'v notice is that the subject of the email is of the following format:
[hostname / ip address]
Which IP address is using cf_execd? That's seems to be the first one
present as a result of "ip a" command (excluding localhost, that's normal).
It is a way to define some proper subjet? The documentation about that is
not very clear to me:
body executor control { mailsubject => "CFEngine report ($(sys.fqhost))"; }
Where should i write this code?
Thank's a lot!
--
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/help-cfengine/204fb8e3-fd91-4382-8031-76ae643dad30n%40googlegroups.com.
------=_Part_25101_749223380.1761094347568
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div>Dear all</div><div>I've installed a cfengine on some server. Every cha=
nge of state i'll received an email, thank's to postfix configured by.... c=
fenegine :-)</div><div><br /></div><div>What i'v notice is that the subject=
of the email is of the following format:</div><div><br /></div><div>[hostn=
ame / ip address]</div><div><br /></div><div>Which IP address is using cf_e=
xecd? That's seems to be the first one present as a result of "ip a" comman=
d (excluding localhost, that's normal).</div><div><br /></div><div>It is a =
way to define some proper subjet? The documentation about that is not very =
clear to me:</div><div><br /></div><div><span><span><span>body</span><span>=
</span><span>executor</span><span> </span><span>control</span><span></span=
>
<span>{</span><span></span>
<span> </span><span>mailsubject</span><span> </span><span>=3D></span>=
<span>"CFEngine report (</span><span>$(sys.fqhost)</span><span>)"</span><s=
pan>;</span><span></span>
<span>}</span></span></span></div><div><span><span><span><br /></span></spa=
n></span></div><div><span><span><span>Where should i write this code?</span=
></span></span></div><div><span><span><span><br /></span></span></span></di=
v><div><span><span><span>Thank's a lot!</span></span></span></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;help-cfengine" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">help-=
[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
help-cfengine/204fb8e3-fd91-4382-8031-76ae643dad30n%40googlegroups.com?utm_=
medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/help-=
cfengine/204fb8e3-fd91-4382-8031-76ae643dad30n%40googlegroups.com</a>.<br /=
>
------=_Part_25101_749223380.1761094347568--
------=_Part_25100_405148528.1761094347568--