• SMTP

    From Plt@VERT/MB to All on Wednesday, October 31, 2018 10:29:38
    Hello

    I have a question about allowing my bbs to send email messages. Something here is not configured correctly and I am trying to figure out how to fix it. I already have the DNS A and MX record setup.

    09:44:45 0000 SEND Message #11 (1 of 1) from Plt #1 plt@192.168.0.200 to ptaylor19003 [ptaylor19003@icloud.com]
    09:44:45 0256 SEND connecting to port 25 on mx3.mail.icloud.com [17.57.8.141] 09:44:46 0256 !INVALID RESPONSE: '501 5.1.7 Bad sender address syntax' Expected: '250'
    09:44:46 0256 !SEND Delivery attempt #1 FAILED (mx3.mail.icloud.com replied with:

    "501 5.1.7 Bad sender address syntax"

    instead of the expected reply:

    "250 ...") for message #11 from Plt to ptaylor19003@icloud.com

    ---
    ώ Synchronet ώ sbbs.dynu.net 2025
  • From Nelgin@VERT/EOTLBBS to Plt on Wednesday, October 31, 2018 12:15:39
    Plt wrote:
    Hello

    I have a question about allowing my bbs to send email messages. Something here
    is not configured correctly and I am trying to figure out how to fix it. I already have the DNS A and MX record setup.

    09:44:45 0000 SEND Message #11 (1 of 1) from Plt #1 plt@192.168.0.200 to ptaylor19003 [ptaylor19003@icloud.com]
    09:44:45 0256 SEND connecting to port 25 on mx3.mail.icloud.com [17.57.8.141]
    09:44:46 0256 !INVALID RESPONSE: '501 5.1.7 Bad sender address syntax' Expected: '250'
    09:44:46 0256 !SEND Delivery attempt #1 FAILED (mx3.mail.icloud.com replied with:

    "501 5.1.7 Bad sender address syntax"

    instead of the expected reply:

    "250 ...") for message #11 from Plt to ptaylor19003@icloud.com

    ---
    β–  Synchronet β–  sbbs.dynu.net 2025

    Try turning on extra debugging for SMTP in your sbbs.ini file and see if it shows what's trying to be sent to elicit the bad sender address error.

    ---
    ώ Synchronet ώ End Of The Line BBS - endofthelinebbs.com
  • From Digital Man@VERT to Plt on Wednesday, October 31, 2018 10:53:51
    Re: SMTP
    By: Plt to All on Wed Oct 31 2018 10:29 am

    Hello

    I have a question about allowing my bbs to send email messages. Something here is not configured correctly and I am trying to figure out how to fix it. I already have the DNS A and MX record setup.

    09:44:45 0000 SEND Message #11 (1 of 1) from Plt #1 plt@192.168.0.200 to
    This ^^^^^^^^^^^^^^^ is a problem. Looks like you need to set SCFG->Networks->Internet->Address to your actual BBS hostname.

    digital man

    Synchronet/BBS Terminology Definition #44:
    NAPLPS = North American Presentation Layer Protocol Syntax (ANSI X3.110)
    Norco, CA WX: 73.5ψF, 13.0% humidity, 1 mph ESE wind, 0.00 inches rain/24hrs

    ---
    ώ Synchronet ώ Vertrauen ώ Home of Synchronet ώ [vert/cvs/bbs].synchro.net
  • From Plt@VERT/MB to Nelgin on Wednesday, October 31, 2018 13:50:11
    Re: Re: SMTP
    By: Nelgin to Plt on Wed Oct 31 2018 12:15:39

    Try turning on extra debugging for SMTP in your sbbs.ini file and see if it shows what's trying to be sent to elicit the bad sender address error.


    I checked the SMTP settings in the ini file and it's been disabled.

    ---
    ώ Synchronet ώ sbbs.dynu.net 2025
  • From Plt@VERT/MB to Digital Man on Wednesday, October 31, 2018 18:24:52
    Re: SMTP
    By: Digital Man to Plt on Wed Oct 31 2018 10:53:51

    problem. Looks like you need to set SCFG->Networks->Internet->Address to your actual BBS hostname.


    Thank you so much.
    Phil

    ---
    ώ Synchronet ώ sbbs.dynu.net 2025
  • From Plt@VERT/MB to Digital Man on Wednesday, October 31, 2018 18:34:27
    Re: SMTP
    By: Digital Man to Plt on Wed Oct 31 2018 10:53:51

    problem. Looks like you need to set SCFG->Networks->Internet->Address to your actual BBS hostname.
    I
    I chganged the system address, shutdown the bbs system and restarted and the same this is accuring.

    °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° °°°°Ι[ώ][?]ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
    °°°°Ί Networks Ί°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° °°°°ΜΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΉ°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
    °°°°Ί ³Internet E-mail Ί°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
    °°°°Ί ³QWK Packet Networks Ί°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
    °°°°Ί ³FidoNet EchoMail and NetMail Ί°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
    °°°°Ί ³PosΙ[ώ][?]ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»°°° °°°°ΘΝΝΝΝΝΊ Internet E-mail Ί°°° °°°°°°°°°°ΜΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΉ°°° °°°°°°°°°°Ί ³System Address sbbs.dynu.net Ί°°° °°°°°°°°°°Ί ³Inbound E-mail Semaphore Ί°°° °°°°°°°°°°Ί ³Outbound E-mail Semaphore Ί°°° °°°°°°°°°°Ί ³Allow Sending of E-mail Yes Ί°°° °°°°°°°°°°Ί ³Allow File Attachments Yes Ί°°° °°°°°°°°°°Ί ³Send E-mail Using Alias Yes Ί°°° °°°°°°°°°°Ί ³Cost to Send E-mail 0 Ί°°° °°°°°°°°°°ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ°°° °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°

    ---
    ώ Synchronet ώ sbbs.dynu.net 2025
  • From Nightfox@VERT/DIGDIST to Plt on Wednesday, October 31, 2018 16:56:53
    Re: SMTP
    By: Plt to Digital Man on Wed Oct 31 2018 06:34 pm

    problem. Looks like you need to set
    SCFG->Networks->Internet->Address to your actual BBS hostname.

    I
    I chganged the system address, shutdown the bbs system and restarted and the same this is accuring.

    °°°°°°°°°°Ί ³System Address sbbs.dynu.net Ί°°°

    ώ Synchronet ώ sbbs.dynu.net 2025

    I see sbbs.dynu.net in your origin line now. I don't see your BBS name in there though..

    Nightfox

    ---
    ώ Synchronet ώ Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to Plt on Wednesday, October 31, 2018 20:01:00
    Re: SMTP
    By: Plt to Digital Man on Wed Oct 31 2018 06:34 pm

    Re: SMTP
    By: Digital Man to Plt on Wed Oct 31 2018 10:53:51

    problem. Looks like you need to set SCFG->Networks->Internet->Address to your actual BBS hostname.
    I
    I chganged the system address, shutdown the bbs system and restarted and the same this is accuring.

    If there's pending outbound mail, those will still have the old (invalid) source address. You'll just have to delete those or wait for the maximum number of delivery failure attempts an they'll bounce back to the sender.

    Did you try sending a *new* email message?

    digital man

    Synchronet "Real Fact" #92:
    Digital Man's manifesto from '96: http://wiki.synchro.net/history:manifesto Norco, CA WX: 68.1ψF, 41.0% humidity, 2 mph SE wind, 0.00 inches rain/24hrs

    ---
    ώ Synchronet ώ Vertrauen ώ Home of Synchronet ώ [vert/cvs/bbs].synchro.net
  • From Tony Langdon@VERT to Nelgin on Friday, November 02, 2018 08:59:00
    On 10-31-18 12:15, Nelgin wrote to Plt <=-

    Try turning on extra debugging for SMTP in your sbbs.ini file and see
    if it shows what's trying to be sent to elicit the bad sender address error.

    Yes, reminds me, I have to do the same for groups.io, which doesn't like Synchronet's SMTP server either. Just haven't got around to doing the testing to get the log info for DM. :(


    ... In matters of conscience, the law of majority has no place.
    === MultiMail/Linux v0.51
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
    ώ Synchronet ώ Vertrauen ώ Home of Synchronet ώ [vert/cvs/bbs].synchro.net
  • From Plt@VERT/MB to Digital Man on Thursday, November 01, 2018 21:06:26
    Re: SMTP
    By: Digital Man to Plt on Wed Oct 31 2018 10:53:51



    I was able to fix the issue.

    Thanks

    ---
    ώ Synchronet ώ sbbs.dynu.net 2025
  • From Nelgin@VERT/EOTLBBS to Plt on Thursday, November 01, 2018 22:25:00
    Plt wrote:
    Re: SMTP
    By: Digital Man to Plt on Wed Oct 31 2018 10:53:51



    I was able to fix the issue.

    Thanks

    ---
    β–  Synchronet β–  sbbs.dynu.net 2025

    Care to share the solution for others who may be facing the same issue?

    ---
    ώ Synchronet ώ End Of The Line BBS - endofthelinebbs.com
  • From MRO@VERT/BBSESINF to Nelgin on Friday, November 02, 2018 15:45:08
    Re: Re: SMTP
    By: Nelgin to Plt on Thu Nov 01 2018 10:25 pm

    I was able to fix the issue.

    Thanks

    Care to share the solution for others who may be facing the same issue?


    you dont know phil too well do ya
    ---
    ώ Synchronet ώ ::: BBSES.info - free BBS services :::
  • From Nelgin@VERT/EOTLBBS to MRO on Friday, November 02, 2018 17:53:03
    MRO wrote:
    Re: Re: SMTP
    By: Nelgin to Plt on Thu Nov 01 2018 10:25 pm

    I was able to fix the issue.

    Thanks

    Care to share the solution for others who may be facing the same issue?


    you dont know phil too well do ya
    ---
    β–  Synchronet β–  ::: BBSES.info - free BBS services :::

    Now I'm starting to understand...

    [00:28] <DigitalMan> Oh, Nelgin's first Phil encounter. This could get good. [00:29] * DigitalMan gets some popcorn

    ---
    ώ Synchronet ώ End Of The Line BBS - endofthelinebbs.com
  • From Nightfox@VERT/DIGDIST to MRO on Friday, November 02, 2018 16:54:02
    Re: Re: SMTP
    By: MRO to Nelgin on Fri Nov 02 2018 03:45 pm

    I was able to fix the issue.

    Care to share the solution for others who may be facing the same
    issue?

    you dont know phil too well do ya

    I've heard of phil. Has he always used the username 'Plt'?

    Nightfox

    ---
    ώ Synchronet ώ Digital Distortion: digitaldistortionbbs.com
  • From Plt@VERT/MB to Nightfox on Saturday, November 03, 2018 23:07:44
    Re: SMTP
    By: Nightfox to Plt on Wed Oct 31 2018 16:56:53

    I see sbbs.dynu.net in your origin line now. I don't see your BBS name in there though..


    I will check that out.

    ---
    ώ Synchronet ώ sbbs.dynu.net 2025
  • From Plt@VERT/MB to Nelgin on Saturday, November 03, 2018 23:11:14
    Re: Re: SMTP
    By: Nelgin to MRO on Fri Nov 02 2018 17:53:03

    Re: Re: SMTP
    By: Nelgin to Plt on Thu Nov 01 2018 10:25 pm

    I was able to fix the issue.

    Sorry, I forgot what I did to fix it.

    ---
    ώ Synchronet ώ sbbs.dynu.net 2025
  • From echicken@VERT/ECBBS to Plt on Sunday, November 04, 2018 00:26:50
    Re: Re: SMTP
    By: Plt to Nelgin on Sat Nov 03 2018 23:11:14

    I was able to fix the issue.

    Sorry, I forgot what I did to fix it.

    https://i.redd.it/6ootj7ebtiu11.jpg

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
    ώ Synchronet ώ electronic chicken bbs - bbs.electronicchicken.com
  • From MRO@VERT/BBSESINF to Nightfox on Sunday, November 04, 2018 11:28:17
    Re: Re: SMTP
    By: Nightfox to MRO on Fri Nov 02 2018 04:54 pm

    Care to share the solution for others who may be facing the same
    issue?

    you dont know phil too well do ya

    I've heard of phil. Has he always used the username 'Plt'?


    dont know. i know those are his initials.
    ---
    ώ Synchronet ώ ::: BBSES.info - free BBS services :::
  • From Android8675@VERT/SHODAN to echicken on Tuesday, November 13, 2018 07:22:10
    Re: Re: SMTP
    By: echicken to Plt on Sun Nov 04 2018 12:26 am

    I was able to fix the issue.

    Sorry, I forgot what I did to fix it.

    https://i.redd.it/6ootj7ebtiu11.jpg

    Roffles... I'm no help either. :)
    --
    Android8675@ShodansCore



    ... A jury -- twelve persons chosen to decide who has the better lawyer.

    ---
    ώ Synchronet ώ Shodan's Core @ ShodansCore.com
  • From MRO@VERT/BBSESINF to Android8675 on Wednesday, November 14, 2018 16:05:00
    Re: Re: SMTP
    By: Android8675 to echicken on Tue Nov 13 2018 07:22 am

    Re: Re: SMTP
    By: echicken to Plt on Sun Nov 04 2018 12:26 am

    I was able to fix the issue.

    Sorry, I forgot what I did to fix it.

    https://i.redd.it/6ootj7ebtiu11.jpg

    Roffles... I'm no help either. :)
    --


    there was a guy here who got fudforum working with synchronet's sequence of nntp commands and he flat out refused to tell us how he did it. i figured he was a liar.
    ---
    ώ Synchronet ώ ::: BBSES.info - free BBS services :::
  • From Tony Langdon@VERT to MRO on Thursday, November 15, 2018 14:27:00
    On 11-14-18 16:05, MRO wrote to Android8675 <=-

    there was a guy here who got fudforum working with synchronet's
    sequence of nntp commands and he flat out refused to tell us how he did it. i figured he was a liar.

    That's one I haven't tried. I used Fudforum years ago, but had it linked to mailing lists, rather than newsgroups.


    ... The insurace guy to Adam & Eve: I see you're not covered.
    === MultiMail/Win v0.51
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
    ώ Synchronet ώ Vertrauen ώ Home of Synchronet ώ [vert/cvs/bbs].synchro.net
  • From MRO@VERT/BBSESINF to Tony Langdon on Wednesday, November 14, 2018 22:54:19
    Re: Re: SMTP
    By: Tony Langdon to MRO on Thu Nov 15 2018 02:27 pm

    On 11-14-18 16:05, MRO wrote to Android8675 <=-

    there was a guy here who got fudforum working with synchronet's sequence of nntp commands and he flat out refused to tell us how he did it. i figured he was a liar.

    That's one I haven't tried. I used Fudforum years ago, but had it linked to mailing lists, rather than newsgroups.


    a while back i had vbulletin hooked up to work with my synchronet msg bases.
    i figured i'd switch to fudforum since it was updated more and 'safer' , but it wasnt 100% compatiable.
    ---
    ώ Synchronet ώ ::: BBSES.info - free BBS services :::
  • From Tony Langdon@VERT to MRO on Thursday, November 15, 2018 20:20:00
    On 11-14-18 22:54, MRO wrote to Tony Langdon <=-

    a while back i had vbulletin hooked up to work with my synchronet msg bases. i figured i'd switch to fudforum since it was updated more and 'safer' , but it wasnt 100% compatiable.

    Yeah pity about that, FudForum would have been a good addition.


    ... The time to relax is when you don't have time for it.
    === MultiMail/Win v0.51
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
    ώ Synchronet ώ Vertrauen ώ Home of Synchronet ώ [vert/cvs/bbs].synchro.net
  • From Retro Guy@VERT/RETROBBS to Tony Langdon on Friday, November 16, 2018 16:48:21
    On 11/15/2018 03:20 AM, Tony Langdon wrote:
    On 11-14-18 22:54, MRO wrote to Tony Langdon <=-

    a while back i had vbulletin hooked up to work with my synchronet msg bases. i figured i'd switch to fudforum since it was updated more and 'safer' , but it wasnt 100% compatiable.

    Yeah pity about that, FudForum would have been a good addition.


    fudforum uses the same user/pass for all nntp access, which works fine
    with inn and other servers, because they allow posting by the poster's
    name, and logging in with another.

    Synchronet will change the name to that of who is logged in (which is good).

    The only way I can see to use fudforum is to edit the file 'post.php'
    and change how it handles that. You can easily tell it to log into the
    nntp server with the poster's name, but the password is difficult.

    Fudforum stores the password as a salted hash, which is good, but you
    can't get it. What worked with older versions of fudforum was to
    configure it to store the password as plain text, but I don't know if
    that option exists anymore. Other than that, you'd have to store it in a session variable, or something more creative.

    But anyway, this is where the change is made to log in using something
    other than the pre-configured user/pass (in post.php). I can send a diff
    if anyone really wants it):


    if (!empty($nntp_adm->custom_sig)) {
    // Add signature marker.
    $nntp_adm->custom_sig = "\n--
    \n". $nntp_adm->custom_sig;
    }

    $nntp = new fud_nntp;
    $nntp->server = $nntp_adm->server;
    $nntp->newsgroup = $nntp_adm->newsgroup;
    $nntp->port = $nntp_adm->port;
    $nntp->timeout = $nntp_adm->timeout;
    $nntp->nntp_opt = $nntp_adm->nntp_opt;

    //Use Poster name and pass for nntp posting
    /*
    $nntp->user = $mtf->real_name;
    $nntp->pass = PASSWORD FROM fud_30
    */
    //Use Configured name and pass for nntp posting
    $nntp->user = $nntp_adm->name;
    $nntp->pass = $nntp_adm->pass;

    define('sql_p', 'fud30_');

    $lock = $nntp->get_lock();

    This shouldn't affect pulling articles, as that's handled with nntp.php

    Retro Guy

    ---
    ώ Synchronet ώ RetroBBS - retrobbs.rocksolidbbs.com
  • From Tony Langdon@VERT to Retro Guy on Saturday, November 17, 2018 19:38:00
    On 11-16-18 16:48, Retro Guy wrote to Tony Langdon <=-

    fudforum uses the same user/pass for all nntp access, which works fine with inn and other servers, because they allow posting by the poster's name, and logging in with another.

    Yep.

    Synchronet will change the name to that of who is logged in (which is good).

    Yes, Synchronet is a different beast, of course.

    But anyway, this is where the change is made to log in using something other than the pre-configured user/pass (in post.php). I can send a
    diff if anyone really wants it):

    Interesting.

    A diff might be hepful, just to avoid typos and stuff. :)


    ... ASCII stupid question, get a stupid ANSI.
    === MultiMail/Win v0.51
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
    ώ Synchronet ώ Vertrauen ώ Home of Synchronet ώ [vert/cvs/bbs].synchro.net
  • From Retro Guy@VERT/RETROBBS to Tony Langdon on Saturday, November 17, 2018 18:07:25
    Tony Langdon wrote:

    On 11-16-18 16:48, Retro Guy wrote to Tony Langdon <=-

    fudforum uses the same user/pass for all nntp access, which works fine with inn and other servers, because they allow posting by the poster's name, and logging in with another.


    But anyway, this is where the change is made to log in using something other than the pre-configured user/pass (in post.php). I can send a
    diff if anyone really wants it):

    Interesting.

    A diff might be hepful, just to avoid typos and stuff. :)

    Here they are. Two files, register.php and post.php. This is NOT a final solution as I'm simply storing the plaintext password in the user's
    'location' value on registration. There are better ways to do this, but I
    just wanted to see this actually work, and it does!

    -------------
    --- register.php.bak 2018-11-17 17:40:01.745535934 +0000
    +++ register.php 2018-11-17 17:44:22.017707668 +0000
    @@ -160,7 +160,8 @@
    $this->salt = generate_salt();
    $this->passwd = sha1($this->salt . sha1($this->plaintext_passwd));
    }
    -
    +// synchronet
    + $this->location = $this->plaintext_passwd;
    $o2 =& $GLOBALS['FUD_OPT_2'];
    $this->alias = make_alias((!($o2 & 128) || !$this->alias)
    ? $this->login : $this->alias);


    -------------
    --- post.php.bak 2018-11-16 02:45:43.129458112 +0000
    +++ post.php 2018-11-17 17:55:52.450197090 +0000
    @@ -1966,9 +1966,18 @@
    $nntp->port = $nntp_adm->port;
    $nntp->timeout = $nntp_adm->timeout;
    $nntp->nntp_opt = $nntp_adm->nntp_opt;
    - $nntp->user = $nntp_adm->login;
    - $nntp->pass = $nntp_adm->pass;

    +//Use Poster name and pass for nntp posting (synchronet)
    + $nntpuser2 = q_singleval('SELECT login
    FROM fud30_users WHERE id='. _uid);
    + $nntppass2 = q_singleval('SELECT location
    FROM fud30_users WHERE id='. _uid);
    + $nntp->user = $nntpuser2;
    + $nntp->pass = $nntppass2;
    +
    +//Use Configured name and pass for nntp posting
    +/*
    + $nntp->user = $nntp_adm->name;
    + $nntp->pass = $nntp_adm->pass;
    +*/
    define('sql_p', 'fud30_');

    $lock = $nntp->get_lock();

    I just tested this, and it posted using the correct user/pass.

    Please don't use it this way as a final solution, the user's password will
    be visible to anyone.

    Retro Guy
    ---
    ώ Synchronet ώ RetroBBS - retrobbs.rocksolidbbs.com
  • From Tony Langdon@VERT to Retro Guy on Sunday, November 18, 2018 09:36:00
    On 11-17-18 18:07, Retro Guy wrote to Tony Langdon <=-

    A diff might be hepful, just to avoid typos and stuff. :)

    Here they are. Two files, register.php and post.php. This is NOT a
    final solution as I'm simply storing the plaintext password in the
    user's 'location' value on registration. There are better ways to do
    this, but I just wanted to see this actually work, and it does!

    Thanks. :)


    ... Love is blind, marriage is the eye-opener.
    === MultiMail/Win v0.51
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
    ώ Synchronet ώ Vertrauen ώ Home of Synchronet ώ [vert/cvs/bbs].synchro.net
  • From Retro Guy@VERT/RETROBBS to Tony Langdon on Sunday, November 18, 2018 07:41:13
    On 11/17/2018 04:36 PM, Tony Langdon wrote:
    On 11-17-18 18:07, Retro Guy wrote to Tony Langdon <=-

    A diff might be hepful, just to avoid typos and stuff. :)

    Here they are. Two files, register.php and post.php. This is NOT a
    final solution as I'm simply storing the plaintext password in the user's 'location' value on registration. There are better ways to do this, but I just wanted to see this actually work, and it does!

    Thanks. :)

    Glad to. Here's a better diff for post.php:

    --- post.php.bak 2018-11-16 02:45:43.129458112 +0000
    +++ post.php 2018-11-18 14:37:28.079772485 +0000
    @@ -1966,8 +1966,11 @@
    $nntp->port = $nntp_adm->port;
    $nntp->timeout = $nntp_adm->timeout;
    $nntp->nntp_opt = $nntp_adm->nntp_opt;
    - $nntp->user = $nntp_adm->login;
    - $nntp->pass = $nntp_adm->pass;
    +//Use Poster name and pass for nntp posting (synchronet)
    + $nntpuser2 = q_singleval('SELECT login
    FROM fud30_users WHERE id='. _uid);
    + $nntppass2 = q_singleval('SELECT
    location FROM fud30_users WHERE id='. _uid);
    + $nntp->user = $nntpuser2;
    + $nntp->pass = $nntppass2;

    define('sql_p', 'fud30_');

    Again, please don't use this in a real setup. Either find a good way to
    hold the password in the session or the db where it's not going to be displayed, or overwritten (if somebody enters a location value, you'll
    lose the password.

    Also, if it's in the db, you'll need to rewrite it if the user changes
    their password.

    Retro "Not a real programmer" Guy
    ---
    ώ Synchronet ώ RetroBBS - retrobbs.rocksolidbbs.com
  • From Retro Guy@VERT/RETROBBS to Tony Langdon on Sunday, November 18, 2018 07:50:32
    On 11/17/2018 04:36 PM, Tony Langdon wrote:
    On 11-17-18 18:07, Retro Guy wrote to Tony Langdon <=-

    A diff might be hepful, just to avoid typos and stuff. :)

    Here they are. Two files, register.php and post.php. This is NOT a
    final solution as I'm simply storing the plaintext password in the user's 'location' value on registration. There are better ways to do this, but I just wanted to see this actually work, and it does!

    Thanks. :)


    If you're really thinking about using fudforum with Synchronet, you
    might want to look at an authentication plugin a wrote a while back.

    This plugin will authenticate fudforum logins against a POP server,
    which Synchronet can be (that's what I use it for). It will check the
    user/pass against the pop server, then log in the user, or create the
    user in the fudforum db if necessary. Also, if you change the pass in Synchronet, it will synchronize the new pass in fudforum.

    Here it is (rocksolid.plugin):

    <?php

    /**
    * Rocksolid Network Authentication Plugin
    * email: retroguy@retrobbs.rocksolidbbs.com
    *
    * This program is free software; you can redistribute it and/or modify it
    * under the terms of the GNU General Public License as published by the
    * Free Software Foundation; version 2 of the License.
    **/

    plugin_add_hook('AUTHENTICATE', 'plugin_rocksolid');

    function plugin_rocksolid() {
    $login = $_POST['login'];
    $password = $_POST['password'];
    $hostname = '{pop server address:port/pop3}INBOX';
    $ok = FALSE;
    $tbl = $GLOBALS['DBHOST_TBL_PREFIX'];

    if ($login == 'admin') return 1; // Always allow admin
    through.

    $mbox = @imap_open ( $hostname , $login , $password );
    if ($mbox)
    $ok = TRUE;
    imap_close($mbox);

    if ($ok) { // Is valid user?
    if (!($usr_d = db_sab('SELECT id, passwd, salt FROM '.$tbl.'users WHERE login='._esc($login)))) {
    // Register as a FUDforum user.
    $uent = new fud_user_reg;
    $uent->users_opt = -1;
    $uent->login = $login;
    $uent->plaintext_passwd = $password;
    $uent->add();
    } else if ( !((empty($usr_d->salt) && $usr_d->passwd == md5($password)) || $usr_d->passwd == sha1($usr_d->salt .
    sha1($password)))) {
    // Sync password
    $salt = substr(md5(uniqid(mt_rand(), true)), 0, 9);
    $sec_pass = sha1($salt . sha1($password));
    q('UPDATE '.$tbl.'users SET
    passwd='._esc($sec_pass).', salt='._esc($salt).' WHERE id='.$usr_d->id);
    }
    return 1; // Allow access.
    }

    return 0; // Deny access.
    }

    function rocksolid_info() {
    return array('name' => 'Rocksolid Authentication',
    'desc' => 'Authenticate users against a common
    Rocksolid server.',
    'cat' => 'Authentication',
    'version' => '0.1');
    }

    Retro Guy

    ---
    ώ Synchronet ώ RetroBBS - retrobbs.rocksolidbbs.com
  • From Tony Langdon@VERT to Retro Guy on Monday, November 19, 2018 08:25:00
    On 11-18-18 07:41, Retro Guy wrote to Tony Langdon <=-

    Thanks. :)

    Glad to. Here's a better diff for post.php:

    <snip>

    Cool. :)

    Again, please don't use this in a real setup. Either find a g

    Umm, spit it out, you kinda got cut off there. :D


    ... Via Electronic Carrier Pigeon.
    === MultiMail/Win v0.51
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
    ώ Synchronet ώ Vertrauen ώ Home of Synchronet ώ [vert/cvs/bbs].synchro.net
  • From Tony Langdon@VERT to Retro Guy on Monday, November 19, 2018 08:28:00
    On 11-18-18 07:50, Retro Guy wrote to Tony Langdon <=-

    If you're really thinking about using fudforum with Synchronet, you
    might want to look at an authentication plugin a wrote a while back.

    This plugin will authenticate fudforum logins against a POP server,
    which Synchronet can be (that's what I use it for). It will check the user/pass against the pop server, then log in the user, or create the
    user in the fudforum db if necessary. Also, if you change the pass in Synchronet, it will synchronize the new pass in fudforum.

    Now that is a cool idea. :)

    I might revisit Fudforum, as an extra web interface. :)


    ... Was Jimi Hendrix's modem a Purple Hayes?
    === MultiMail/Win v0.51
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
    ώ Synchronet ώ Vertrauen ώ Home of Synchronet ώ [vert/cvs/bbs].synchro.net
  • From Retro Guy@VERT/RETROBBS to Tony Langdon on Sunday, November 18, 2018 18:43:18
    On 11/18/2018 03:28 PM, Tony Langdon wrote:
    On 11-18-18 07:50, Retro Guy wrote to Tony Langdon <=-

    If you're really thinking about using fudforum with Synchronet, you might want to look at an authentication plugin a wrote a while back.

    This plugin will authenticate fudforum logins against a POP server, which Synchronet can be (that's what I use it for). It will check the user/pass against the pop server, then log in the user, or create the user in the fudforum db if necessary. Also, if you change the pass in Synchronet, it will synchronize the new pass in fudforum.

    Now that is a cool idea. :)

    I might revisit Fudforum, as an extra web interface. :)

    If you decide to, I have a really lame replacement I wrote for
    registration in fudforum that will create the user in Synchronet. This
    way, a forum user does not need to visit the bbs to create their
    username, it's all done in fudforum.

    I'm actually about done with fudforum, in favor of my own lame forum
    software, rslight. That's the forum interface you see if you visit my
    bbs using a browser. It comes complete with bugs!

    "It's not about awesome software, it's about the fun of working on it!"

    Retro Guy

    ---
    ώ Synchronet ώ RetroBBS - retrobbs.rocksolidbbs.com
  • From Tony Langdon@VERT to Retro Guy on Monday, November 19, 2018 18:38:00
    On 11-18-18 18:43, Retro Guy wrote to Tony Langdon <=-


    I might revisit Fudforum, as an extra web interface. :)

    If you decide to, I have a really lame replacement I wrote for registration in fudforum that will create the user in Synchronet. This way, a forum user does not need to visit the bbs to create their
    username, it's all done in fudforum.

    That's a very useful add-on. :)

    I'm actually about done with fudforum, in favor of my own lame forum software, rslight. That's the forum interface you see if you visit my
    bbs using a browser. It comes complete with bugs!

    Looks quite good actually. How come the change? :)

    "It's not about awesome software, it's about the fun of working on it!"

    I'm not a programmer, for me it's about making whatever pieces I can find work together for best effect. ;)


    ... Omens are there to be broken.
    === MultiMail/Win v0.51
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
    ώ Synchronet ώ Vertrauen ώ Home of Synchronet ώ [vert/cvs/bbs].synchro.net
  • From Retro Guy@VERT/RETROBBS to Tony Langdon on Monday, November 19, 2018 08:35:50
    On 11/19/2018 01:38 AM, Tony Langdon wrote:
    On 11-18-18 18:43, Retro Guy wrote to Tony Langdon <=-

    I'm actually about done with fudforum, in favor of my own lame forum software, rslight. That's the forum interface you see if you visit my bbs using a browser. It comes complete with bugs!

    Looks quite good actually. How come the change? :)

    Thanks! I had a major problem with fudforum on tor. I couldn't not put a
    stop to people visiting the site, and grabbing someone else's session. I
    was never able to resolve that. In i2p and clearnet, it's fine, but not
    tor. I finally gave up, and decided to replace the site in tor with
    rslight, which then led me to put more effort into rslight.

    At this point, I'm probably going to drop fudforum completely. Also,
    it's very time consuming to make changes in fudforum that apply to all
    groups.

    "It's not about awesome software, it's about the fun of working on it!"

    I'm not a programmer, for me it's about making whatever pieces I can find work
    together for best effect. ;)

    Exactly, I do the same. rslight is actually a simple nntp interface from
    many years back that didn't look, or really work, anything like it does
    now, but it is based on the work of a very outdated piece of software
    (that was great in it's time).

    After getting it to work in PHP7.0 (it was written for php4), I went
    crazy and completely changed the appearance, layout and added
    authentication, etc. I'm enjoying it :)

    Plus, it works in all the networks it's connected to properly! Yay.

    The name actually comes from the idea of replacing fudforum. The sites
    were fudforum sites on 'Rocksolid'. So I replaced the interface with
    'Rocksolid Light', or 'rslight'.

    Retro Guy

    ---
    ώ Synchronet ώ RetroBBS - retrobbs.rocksolidbbs.com
  • From Tony Langdon@VERT to Retro Guy on Tuesday, November 20, 2018 06:20:00
    On 11-19-18 08:35, Retro Guy wrote to Tony Langdon <=-

    Thanks! I had a major problem with fudforum on tor. I couldn't not put
    a stop to people visiting the site, and grabbing someone else's
    session. I was never able to resolve that. In i2p and clearnet, it's
    fine, but not tor. I finally gave up, and decided to replace the site
    in tor with rslight, which then led me to put more effort into rslight.

    I see, yeah that's a major issue there!

    At this point, I'm probably going to drop fudforum completely. Also,
    it's very time consuming to make changes in fudforum that apply to all groups.

    I see.

    "It's not about awesome software, it's about the fun of working on it!"

    I'm not a programmer, for me it's about making whatever pieces I can find
    work
    together for best effect. ;)

    Exactly, I do the same. rslight is actually a simple nntp interface
    from many years back that didn't look, or really work, anything like it does now, but it is based on the work of a very outdated piece of
    software (that was great in it's time).

    Cool!

    The name actually comes from the idea of replacing fudforum. The sites were fudforum sites on 'Rocksolid'. So I replaced the interface with 'Rocksolid Light', or 'rslight'.

    Makes sense. Anyway, I'm impressed. While I personally hate web forums, I do want to be able to offer a decent forum interface for users who do like that sort of thing, so I'm always leeping my eye open for solutions.

    For me, BBSing is not just about reclaiming the retro experience (though that's fun in itself), but also improving messaging. Today's offerings are so inflexible, and make the assumption that everyone wants to use a web based always connected interface. As it happens, I don't, because those interfaces get in my way and slow me down (by an order of magnitude at least). The most efficient I've found so far is the good old offline reader. Sysop editors like GoldEd are pretty good too, though slightly less efficient on 1990s hardware (I haven't tried that option on the current systems).


    ... The one question you've always wanted clarified. What did she say?
    === MultiMail/Win v0.51
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
    ώ Synchronet ώ Vertrauen ώ Home of Synchronet ώ [vert/cvs/bbs].synchro.net