Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] RE: Volume

2004-10-14 by Cyril Guibourg

"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.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.