🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57895

Re: [inn2.3.2] '441 From: address not in Internet syntax'

#57895
From: Jeffrey M. Vinocur
Date: Wed, 03 Apr 2002 17:16
42 lines
2203 bytes
In article <a8fcjp$30cj$1@ijustice.itsc.cuhk.edu.hk>,
Johnson Lau <johnson@siukeung.com> wrote:
>
>"Jeffrey M. Vinocur" <jeff@litech.org> ���g��l��s�D
>:a8f7ve$ipm$1@marduk.litech.org...
>> In article <a8evip$2ngp$1@ijustice.itsc.cuhk.edu.hk>,
>> Johnson Lau <johnson@siukeung.com> wrote:
>> >how can i remove this rule? thx
>>
>> You'd need to patch the source and recompile.
>>
>> I can tell you where if you like, it's not complicated.
>
>i think i need your help.
>i don't even know which file should i modify,

In nnrpd/post.c, lines 972 through 986.  You could simply delete
those lines, which are:


    p = strchr(frombuf, '@');
    if (p) {
        strcpy(frombuf, p+1);
        p = strrchr(frombuf, '.');
        if (!p) {
            if (modgroup)
                DISPOSE(modgroup);
            return "From: address not in Internet syntax";
        }
    }
    else {
        if (modgroup)
            DISPOSE(modgroup);
        return "From: address not in Internet syntax";
    }



-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <a8fddj$n4r$1@marduk.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail
References: <a8evip$2ngp$1@ijustice.itsc.cuhk.edu.hk> <a8f7ve$ipm$1@marduk.litech.org> <a8fcjp$30cj$1@ijustice.itsc.cuhk.edu.hk>

Show Full Headers
Complete Article Headers
Message-ID: <a8fddj$n4r$1@marduk.litech.org>
Subject: Re: [inn2.3.2] '441 From: address not in Internet syntax'
Date: Wed, 03 Apr 2002 17:16:35 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <a8evip$2ngp$1@ijustice.itsc.cuhk.edu.hk> <a8f7ve$ipm$1@marduk.litech.org> <a8fcjp$30cj$1@ijustice.itsc.cuhk.edu.hk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Lithium Technologies
Lines: 41
Sender: jeff@litech.org
NNTP-Posting-Host: marduk.litech.org
X-Trace: marduk.litech.org 1017854195 23707 128.84.154.54 (3 Apr 2002 17:16:35 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Wed, 3 Apr 2002 17:16:35 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)