Worked great:
Oct 14 09:51:56 hns1 milter-greylist: [ID 799890 mail.error] dumpfd =
116
Oct 14 09:51:56 hns1 milter-greylist: [ID 799890 mail.error] dumpfd =
116
Oct 14 09:51:56 hns1 milter-greylist: [ID 799890 mail.error] dumpfd =
116
Oct 14 09:51:56 hns1 milter-greylist: [ID 799890 mail.error] dumpfd =
116
________________________________
From: Sutherland, James
Sent: Thursday, October 14, 2004 9:38 AM
To: 'milter-greylist@yahoogroups.com'
Subject: RE: [milter-greylist] RE: Volume
Done and done. So this way it should dump that to the log each time the
DB file gets dumped, correct?
-James
________________________________
From: Cyril Guibourg [mailto:cg+milter-greylist@...]
Sent: Thursday, October 14, 2004 9:01 AM
To: milter-greylist@yahoogroups.com
Subject: Re: [milter-greylist] RE: Volume
"Sutherland, James" <jsutherl@...> writes:
> OK, that code is in. I recompiled and it's running. I haven't seen
any
> output from it yet. However I'm a C nincompoop, so let me know if the
> syntax is correct here:
>
> if ((dumpfd = mkstemp(newdumpfile)) == -1) {
> syslog(LOG_ERR, "mkstemp(\"%s\") failed: %s",
> newdumpfile, strerror(errno));
> syslog(LOG_INFO, "dumpfd = %d", dumpfd);
> exit(EX_OSERR);
> }
James,
The syntax is correct but you will not see anything until
milter-greylist
reaches the error condition. I suggest to put the the syslog() call
suggested
by Emmanuel out of the if { ... } block.
Yahoo! Groups Sponsor
ADVERTISEMENT
click here
<http://us.ard.yahoo.com/SIG=1290krfrf/M=315388.5497957.6576270.3001176/
D=groups/S=1707281942:HM/EXP=1097856096/A=2372354/R=0/SIG=12id813k2/*htt
ps://www.orchardbank.com/hcs/hcsapplication?pf=PLApply&media=EMYHNL40F21
004SS>
<http://us.adserver.yahoo.com/l?M=315388.5497957.6576270.3001176/D=group
s/S=:HM/A=2372354/rand=695104259>
________________________________
Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/milter-greylist/
* To unsubscribe from this group, send an email to:
milter-greylist-unsubscribe@yahoogroups.com
<mailto:milter-greylist-unsubscribe@yahoogroups.com?subject=Unsubscribe>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .Message
RE: [milter-greylist] RE: Volume
2004-10-14 by Sutherland, James
Attachments
- No local attachments were found for this message.