[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cfengine-2.0.a14 - cfexecd - mailing of reports
From: |
Bruce Wm Folliott |
Subject: |
cfengine-2.0.a14 - cfexecd - mailing of reports |
Date: |
Thu, 15 Nov 2001 12:13:01 -0700 |
User-agent: |
Mutt/1.2.5i |
I made these changes to cfengine-2.0.a14/cfexecd.c
in order to compile and to have cfexecd complete
a successfull smtp session to our mailer.
465d464
< //snprintf(cmd,bufsize-1,"/bin/ls");
617c616
< sprintf(VBUFF,"MAIL FROM: cfengine@%s\n",VFQNAME);
> sprintf(VBUFF,"MAIL FROM: <cfengine@%s>\n",VFQNAME);
620c619
< sprintf(VBUFF,"RCPT TO: %s\n",to);
> sprintf(VBUFF,"RCPT TO: <%s>\n",to);
The smtpserver we use is picky and requires
that email addresses be enclosed in <..>'s.
`cfexecd -F --verbose --debug` showed this:
SENT(27)->HELO sundog.cs.ualberta.ca
SENT(42)->MAIL FROM: cfengine@sundog.cs.ualberta.ca
SENT(33)->RCPT TO: cfengine@cs.ualberta.ca
SENT(5)->DATA
SENT(2)->.
SENT(5)->QUIT
Our mailer demands this:
MAIL FROM: <cfengine@sundog.cs.ualberta.ca>
--
Bruce Wm Folliott
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- cfengine-2.0.a14 - cfexecd - mailing of reports,
Bruce Wm Folliott <=