• listserv.js

    From Bill McGarrity@VERT/TEQUILAM to All on Monday, December 08, 2014 18:21:00
    Hiya gang...

    I'm setting up a listserv group for a friend here. I already have one up and running so I know the configuration is correct. The issue I'm seeing is when someone "subscribes", the reply they're receiving is:

    TequilaMockingbird Online ListServ 1.39 Response:

    As you can see there is no message after response. If I'm not mistaken the line:

    response.body.push(subscription_control(cmd, list, address)) should be returned as much as

    TequilaMockingbird Online ListServ 1.39 Response: Subscribed, [listname], [address]

    Is there a possible bug in the javascript?

    Also, is there anywany of stripping the MIME content of incoming mail before it posts/gets distributed to other subscribers. A one line message works out to be 89 lines after all that MIME garbage is included.

    Thanks


    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
    Radio: radio.tequilamockingbirdonline.net:8010/live


    ... Look TWICE... Save a LIFE! Motorcycles are Everywhere!!
    --- MultiMail/Win32 v0.50
    þ Synchronet þ TequilaMockingbird Online - TELNET: tequilamockingbirdonline.net
  • From Digital Man@VERT to Bill McGarrity on Monday, December 08, 2014 17:15:02
    Re: listserv.js
    By: Bill McGarrity to All on Mon Dec 08 2014 06:21 pm

    Hiya gang...

    I'm setting up a listserv group for a friend here. I already have one up and running so I know the configuration is correct. The issue I'm seeing is when someone "subscribes", the reply they're receiving is:

    TequilaMockingbird Online ListServ 1.39 Response:

    As you can see there is no message after response. If I'm not mistaken the line:

    response.body.push(subscription_control(cmd, list, address)) should be returned as much as

    TequilaMockingbird Online ListServ 1.39 Response: Subscribed, [listname], [address]

    Is there a possible bug in the javascript?

    There's always the possibility of a bug. But if you're running the same version
    as your friend and if it's working correctly for you, then perhaps it's not a bug and instead a problem with the sender's mail content.

    How are they unsubscribing exactly - using the message subject?

    Also, is there anywany of stripping the MIME content of incoming mail
    before it posts/gets distributed to other subscribers. A one line message works out to be 89 lines after all that MIME garbage is included.

    There's no built-in MIME decoding feature in the list server, no. That sounds like a good idea for a potential new feature though.

    digital man

    Synchronet "Real Fact" #34:
    The irc.synchro.net network has more servers than users.
    Norco, CA WX: 73.4øF, 33.0% humidity, 0 mph W wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Bill McGarrity@VERT/TEQUILAM to Digital Man on Monday, December 08, 2014 23:12:00
    On 12-08-14 17:15, Digital Man wrote to Bill McGarrity <=-


    Hiya gang...

    I'm setting up a listserv group for a friend here. I already have one up and running so I know the configuration is correct. The issue I'm seeing is when someone "subscribes", the reply they're receiving is:

    TequilaMockingbird Online ListServ 1.39 Response:

    As you can see there is no message after response. If I'm not mistaken the line:

    response.body.push(subscription_control(cmd, list, address)) should be returned as much as

    TequilaMockingbird Online ListServ 1.39 Response: Subscribed, [listname], [address]

    Is there a possible bug in the javascript?

    There's always the possibility of a bug. But if you're running the same version as your friend and if it's working correctly for you, then
    perhaps it's not a bug and instead a problem with the sender's mail content.

    The listserv is on my system. He just asked me to set one up for him. Everything in the configuration is the same as the original one I've been running for years and even that one will not pass any response when either subscribing or unsubscribing as well.

    How are they unsubscribing exactly - using the message subject?

    Yes, that is activated.

    This is what I get when using "help" on the subject line:

    TequilaMockingbird Online ListServ 1.39 Response:

    Available commands:
    lists
    subscribe [address]
    unsubscribe [address]
    help
    end

    This is what I get when "lists" on the subject line:

    TequilaMockingbird Online ListServ 1.39 Response:

    List of lists:
    NJBC New Jersey Boxer Club
    SBI Superstition Boxers Information
    !Bad command: This
    Available commands:
    lists
    subscribe [address]
    unsubscribe [address]
    help
    end

    Why would it show a !Bad Command: This ??

    Also, is there anywany of stripping the MIME content of incoming mail
    before it posts/gets distributed to other subscribers. A one line message works out to be 89 lines after all that MIME garbage is included.

    There's no built-in MIME decoding feature in the list server, no. That sounds like a good idea for a potential new feature though.

    Great! Hopefully some good will comes out of this!!

    Thanks as always DM...


    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
    Radio: radio.tequilamockingbirdonline.net:8010/live


    ... Look TWICE... Save a LIFE! Motorcycles are Everywhere!!
    --- MultiMail/Win32 v0.50
    þ Synchronet þ TequilaMockingbird Online - TELNET: tequilamockingbirdonline.net
  • From Digital Man@VERT to Bill McGarrity on Monday, December 08, 2014 22:59:23
    Re: Re: listserv.js
    By: Bill McGarrity to Digital Man on Mon Dec 08 2014 11:12 pm

    Is there a possible bug in the javascript?

    There's always the possibility of a bug. But if you're running the
    same version as your friend and if it's working correctly for you,
    then perhaps it's not a bug and instead a problem with the sender's mail content.

    The listserv is on my system. He just asked me to set one up for him. Everything in the configuration is the same as the original one I've been running for years and even that one will not pass any response when either subscribing or unsubscribing as well.

    How are they unsubscribing exactly - using the message subject?

    Yes, that is activated.

    This is what I get when using "help" on the subject line:

    TequilaMockingbird Online ListServ 1.39 Response:

    Available commands:
    lists
    subscribe [address]
    unsubscribe [address]
    help
    end

    This is what I get when "lists" on the subject line:

    TequilaMockingbird Online ListServ 1.39 Response:

    List of lists:
    NJBC New Jersey Boxer Club
    SBI Superstition Boxers Information
    !Bad command: This
    Available commands:
    lists
    subscribe [address]
    unsubscribe [address]
    help
    end

    Why would it show a !Bad Command: This ??


    What was in the message body? The message body is processed as a sequence of commands as well, so you could have a command in the subject and more commands in the message body. My guess is that your message body contained "This". If you don't want to include commands in the message body, just leave it blank or put a tear line (---). Nothing after the tear line should be processed.

    digital man

    Synchronet "Real Fact" #10:
    DOVE-Net was originally an exclusive ("elite") WWIVnet network in O.C., Calif. Norco, CA WX: 62.6øF, 58.0% humidity, 4 mph NW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Bill McGarrity@VERT/TEQUILAM to Digital Man on Tuesday, December 09, 2014 08:16:00
    On 12-08-14 22:59, Digital Man wrote to Bill McGarrity <=-



    The listserv is on my system. He just asked me to set one up for him. Everything in the configuration is the same as the original one I've been running for years and even that one will not pass any response when either subscribing or unsubscribing as well.

    How are they unsubscribing exactly - using the message subject?

    Yes, that is activated.

    This is what I get when using "help" on the subject line:

    TequilaMockingbird Online ListServ 1.39 Response:

    Available commands:
    lists
    subscribe [address]
    unsubscribe [address]
    help
    end

    This is what I get when "lists" on the subject line:

    TequilaMockingbird Online ListServ 1.39 Response:

    List of lists:
    NJBC New Jersey Boxer Club
    SBI Superstition Boxers Information
    !Bad command: This
    Available commands:
    lists
    subscribe [address]
    unsubscribe [address]
    help
    end

    Why would it show a !Bad Command: This ??


    What was in the messaghge body? The message body is processed as a sequence of commands as well, so you could have a command in the
    subject and more commands in the message body. My guess is that your message body contained "This". If you don't want to include commands in the message body, just leave it blank or put a tear line (---). Nothing after the tear line should be processed.

    There was nothing in the body at all. Only thing I can think of is the possibility of the MIME being interpreted as "Then" even if using ---

    I was right... here is the first part of the message that appears in the message that is posted even though the body is blank with the tearline <--->

    [quote]

    This is a multipart message in MIME format.

    ------=_NextPart_000_013B_01D01314.288E9150
    Content-Type: multipart/alternative;
    boundary="----=_NextPart_001_013C_01D01314.288E9150"


    ------=_NextPart_001_013C_01D01314.288E9150
    Content-Type: text/plain;
    charset="us-ascii"
    Content-Transfer-Encoding: 7bit

    [end quote]


    Notice the "This" as the first word. So the MIME is causing issues...

    Thanks for your help...



    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
    Radio: radio.tequilamockingbirdonline.net:8010/live


    ... Look TWICE... Save a LIFE! Motorcycles are Everywhere!!
    --- MultiMail/Win32 v0.50
    þ Synchronet þ TequilaMockingbird Online - TELNET: tequilamockingbirdonline.net
  • From Digital Man@VERT to Bill McGarrity on Tuesday, December 09, 2014 22:25:13
    Re: Re: listserv.js
    By: Bill McGarrity to Digital Man on Tue Dec 09 2014 08:16 am

    On 12-08-14 22:59, Digital Man wrote to Bill McGarrity <=-



    The listserv is on my system. He just asked me to set one up for him. Everything in the configuration is the same as the original one I've
    been running for years and even that one will not pass any response when either subscribing or unsubscribing as well.

    How are they unsubscribing exactly - using the message subject?

    Yes, that is activated.

    This is what I get when using "help" on the subject line:

    TequilaMockingbird Online ListServ 1.39 Response:

    Available commands:
    lists
    subscribe [address]
    unsubscribe [address]
    help
    end

    This is what I get when "lists" on the subject line:

    TequilaMockingbird Online ListServ 1.39 Response:

    List of lists:
    NJBC New Jersey Boxer Club
    SBI Superstition Boxers Information
    !Bad command: This
    Available commands:
    lists
    subscribe [address]
    unsubscribe [address]
    help
    end

    Why would it show a !Bad Command: This ??


    What was in the messaghge body? The message body is processed as a sequence of commands as well, so you could have a command in the subject and more commands in the message body. My guess is that your message body contained "This". If you don't want to include commands
    in the message body, just leave it blank or put a tear line (---). Nothing after the tear line should be processed.

    There was nothing in the body at all. Only thing I can think of is the possibility of the MIME being interpreted as "Then" even if using ---

    I was right... here is the first part of the message that appears in the message that is posted even though the body is blank with the tearline
    <--->

    [quote]

    This is a multipart message in MIME format.

    ------=_NextPart_000_013B_01D01314.288E9150
    Content-Type: multipart/alternative;
    boundary="----=_NextPart_001_013C_01D01314.288E9150"


    ------=_NextPart_001_013C_01D01314.288E9150
    Content-Type: text/plain;
    charset="us-ascii"
    Content-Transfer-Encoding: 7bit

    [end quote]


    Notice the "This" as the first word. So the MIME is causing issues...

    Thanks for your help...

    Ah, that's a good clue. Try getting the latest listserver.js from http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/exec/listserver.js and set BodyCommand=false in your ctrl/listserver.ini file. This will allow command
    *only* in the subject (assuming SubjCommand=true) and thus ignore any MIME-encoded body text in control messages.

    Let me know how that works for ya,

    digital man

    Synchronet "Real Fact" #10:
    DOVE-Net was originally an exclusive ("elite") WWIVnet network in O.C., Calif. Norco, CA WX: 62.3øF, 61.0% humidity, 3 mph NNW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Bill McGarrity@VERT/TEQUILAM to Digital Man on Wednesday, December 10, 2014 14:44:00
    On 12-09-14 22:25, Digital Man wrote to Bill McGarrity <=-

    Hiya DM...

    On 12-08-14 22:59, Digital Man wrote to Bill McGarrity <=-



    The listserv is on my system. He just asked me to set one up for him. Everything in the configuration is the same as the original one I've
    been running for years and even that one will not pass any response when either subscribing or unsubscribing as well.
    [snip]

    There was nothing in the body at all. Only thing I can think of is the possibility of the MIME being interpreted as "Then" even if using ---

    I was right... here is the first part of the message that appears in the message that is posted even though the body is blank with the tearline
    <--->

    [quote]

    This is a multipart message in MIME format.

    ------=_NextPart_000_013B_01D01314.288E9150
    Content-Type: multipart/alternative;
    boundary="----=_NextPart_001_013C_01D01314.288E9150"


    ------=_NextPart_001_013C_01D01314.288E9150
    Content-Type: text/plain;
    charset="us-ascii"
    Content-Transfer-Encoding: 7bit

    [end quote]


    Notice the "This" as the first word. So the MIME is causing issues...

    Thanks for your help...

    Ah, that's a good clue. Try getting the latest listserver.js from http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/exec/listserver.js
    and
    set BodyCommand=false in your ctrl/listserver.ini file. This will allow command *only* in the subject (assuming SubjCommand=true) and thus
    ignore any MIME-encoded body text in control messages.

    Let me know how that works for ya,

    OK... updated everything as you requested and no longer do I get the "!Bad Message" in the body when using the subject line commands. I still don't get a full response for either subscribe or unsubscribe though...


    TequilaMockingbird Online ListServ 1.42 Response:


    Now to filter out that MIME. A one line post winds up to have 65 lines of non-sense.. lol!!

    Thanks DM for everything.


    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
    Radio: radio.tequilamockingbirdonline.net:8010/live


    ... Look TWICE... Save a LIFE! Motorcycles are Everywhere!!
    --- MultiMail/Win32 v0.50
    þ Synchronet þ TequilaMockingbird Online - TELNET: tequilamockingbirdonline.net
  • From Digital Man@VERT to Bill McGarrity on Wednesday, December 10, 2014 16:23:33
    Re: Re: listserv.js
    By: Bill McGarrity to Digital Man on Wed Dec 10 2014 02:44 pm

    Let me know how that works for ya,

    OK... updated everything as you requested and no longer do I get the "!Bad Message" in the body when using the subject line commands. I still don't get a full response for either subscribe or unsubscribe though...

    Okay, the lack of a response to the subscribe and unsub commands has been fixed
    (in mailsrvr.c, rev 1.574).

    digital man

    Synchronet "Real Fact" #59:
    Free dynamic yourbbs.synchro.net hostnames were made first available in 2003. Norco, CA WX: 67.5øF, 58.0% humidity, 1 mph ESE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net