[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] [2.0][PATCH] log objectionable Message-ID in



Jeff Grossman <jeff@xxxxxxxxxxx> writes:

> on 7/15/02 12:21 AM, Ralf Wildenhues at wildenhu@xxxxxxxxxxxxxxx wrote:
>
>> Against 2.0b8_ma10pre3.3:
>> 
>> --- leafnode-2.0b8_ma10pre3.3/nntpd.orig.c    Mon Jul 15 09:14:31 2002
>> +++ leafnode-2.0b8_ma10pre3.3/nntpd.c    Mon Jul 15 09:13:21 2002
>> @@ -1486,6 +1486,7 @@
>> if (havemessageid) {
>>    struct stat st;
>> 
>> +        ln_log(LNLOG_SDEBUG, LNLOG_CARTICLE, "debug Message-ID: %s", mid);
>>    if (!validate_messageid(mid)) {
>> nntpprintf("441 Invalid Message-ID: header, article not posted");
>> log_unlink(inname);
>> 
>> 
> Thank you.  I will give it a try later tonight when I get home.  One quick
> question.  I don't use patch much, what is the command to patch the above?

Save the mail body of Ralf's (or my) mail, then cd to your leafnode
source directory, then:

       patch -p1 </where/you/saved/this/mail
       rm nntpd.o
       make
       su -c 'make install'

I'm not sure if the "rm nntpd.o" is necessary, it may be if you did not
give the --enable-maintainer-mode option to ./configure. With "rm
nntpd.o", you are on the safe side.

-- 
Matthias Andree

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list