[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cfengine fails to send email
From: |
Thomas Glanzmann |
Subject: |
Re: cfengine fails to send email |
Date: |
Fri, 6 Aug 2004 11:24:32 +0200 |
User-agent: |
Mutt/1.5.6i |
Hello Uwe,
* Uwe Zeisberger <address@hidden> [040805 23:12]:
> From: cfengine@<hostname>.
looks like a missconfiguration of your hostsystem for me. What does
(faui03) [/var/tmp/cfengine-2.1.8] /var/cfengine/bin/cfagent -d -j classes -q
-v 2> /dev/null | grep -i 'fully qualified'
Fully qualified hostname is: faui03.informatik.uni-erlangen.de
say for you?
> I tried to find the problem in the sources, but was not able to find it.
see at src/cfexecd.c line 775 (MailResult) for me it looks sane:
sprintf(VBUFF,"From: address@hidden",VFQNAME);
sprintf(VBUFF,"MAIL FROM: <address@hidden>\r\n",VFQNAME);
of course VFQNAME in cfagent and cfexecd could be different, but I don't
believe so. But if the above command gives you also the FQDN than you
can add some extra code to src/cfexecd.c to verify it.
Thomas