Section One BBS

Welcome, Guest.


Subject: imsg on incoming echomail Date: Sat Jan 18 2025 04:18 pm
From: Digital Man To: deon

  Re: imsg on incoming echomail
  By: deon to Digital Man on Sun Jan 19 2025 11:00 am

 >   Re: imsg on incoming echomail
 >   By: Digital Man to deon on Sat Jan 18 2025 03:10 am
 >
 > Howdy,
 >
 >  > ... so seems to still be working.
 >
 > So how do I turn up logging to see that SBBSecho is creating the file.
 >
 > Because I know its not (I've looked), and I'll like to figure out why.
 >
 > My method has been, send a test message to my clrghouz mailer, log off,
 > watch sbbsecho process the reply packet, no data/msgs/0001.msg is created.

Here's the relevant code in sbbsecho.c, feel free to add more lprintf() calls or
 maybe step through with a debugger if you're so inclined:

   if (result == SMB_SUCCESS) {       /* Successful import */
       user_t user;
       if (i != cfg.badecho && cfg.echomail_notify
           && (user.number = lookup_user(&scfg, &user_list, hdr.to)) != 0
           && getuserdat(&scfg, &user) == 0
           && user_can_read_sub(&scfg, cfg.area[i].sub, &user, NULL)) {
           char tmp[128];
           safe_snprintf(str, sizeof(str), text[FidoEchoMailReceived]
               , timestr(&scfg, time32(NULL), tmp)
               , hdr.from
               , scfg.grp[scfg.sub[cfg.area[i].sub]->grp]->sname
               , scfg.sub[cfg.area[i].sub]->sname);
           putsmsg(&scfg, user.number, str);
        }
-- 
                                            digital man (rob)

Breaking Bad quote #47:
He said he'll break my legs, he meant It... he gave me the dead mackerel eyes.
Norco, CA WX: 61.7°F, 52.0% humidity, 1 mph SSW wind, 0.00 inches rain/24hrs
---
 ■ SynchronetVertrauen Home of Synchronet [vert/cvs/bbs].synchro.net

Previous Message       Next Message
In Reply To: imsg on incoming echomail (deon)