🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #313041

Re: Mixmaster spool directory

#313041
From: elvis-85781
Date: Sat, 30 Jan 2021 15:26
57 lines
2803 bytes
On 2021-01-29, Grant Taylor <gtaylor@tnetconsulting.net> wrote:

> In light of that comment, I'm somewhat inclined to see if these files 
> expire and are cleaned up next week.
>
> I've historically not looked inside Mixmaster's pool directory because 
> I've had no need to.  It was the recent thread about missing messages 
> that prompted me to look.


I have consulted the pool.c file (looh for the "mv" function) and I see
files starting 'e' are error files that get named that way if sending
by MTA fails.

Maybe renaming the files and retrying to send might work.

  40 /* Message pool:       Unix  DOS
  41  * latent messages:      l*  *.lat
  42  * pooled messages:      m*  *.msg
  43  * messages to be sent:  s*  *.snd
  44  * temporary files:      t*  *.tmp
  45  * files in user editor: x*
  46  * incoming mail:        i*  *.inf
  47  * partial messages:     p*  p*.*
  48  * error messages:       e*  *.err
  49  * outgoing messages:    out *.txt (to be used by external program)
  50  */


 388 void pool_dosend(void)
 389 {
 390   DIR *d;
 391   struct dirent *e;
 392   char path[PATHMAX];
 393 
 394   d = opendir(POOLDIR);
 395   if (d != NULL) {
 396     for (;;) {
 397       e = readdir(d);
 398       if (e == NULL)
 399         break;
 400       if (is(e->d_name, "snd")) {
 401         sendmail_begin();
 402         mv(e->d_name, "tmp");
 403         sprintf(path, "%s%c%s", POOLDIR, DIRSEP, e->d_name);
 404         if (msg_send(path) == 1)
 405           mv(e->d_name, "err");
 406       }
 407     }
 408     closedir(d);
 409   } else
 410     errlog(WARNING, "Error reading pool dir %s\n", POOLDIR);
 411   sendmail_end();
 412 }


Expiry is handled in rem.c with  "pool_packetexp".
Technical Details
Message-ID: <slrns1aulq.m5o.elvis-85781@notatla.org.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <run30j$nfh$1@tncsrv09.home.tnetconsulting.net> <slrns15406.knr.elvis-85781@notatla.org.uk> <ruuqir$t7l$1@tncsrv09.home.tnetconsulting.net> <MZFspvGtTqdvLHGlYKzbRjmpYVENkylt@news.usenet.farm> <slrns161gq.qvg.elvis-85781@notatla.org.uk> <ruvcv0$m6c$2@tncsrv09.home.tnetconsulting.net> <jWnMecZXbwXFFlkLpSTVEzcHbGSNEtkt@news.usenet.farm> <ruvpsv$gmf$1@tncsrv09.home.tnetconsulting.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrns1aulq.m5o.elvis-85781@notatla.org.uk>
Subject: Re: Mixmaster spool directory
Date: Sat, 30 Jan 2021 15:26:50 GMT
From: elvis-85781@notatla.org.uk
References: <run30j$nfh$1@tncsrv09.home.tnetconsulting.net> <slrns15406.knr.elvis-85781@notatla.org.uk> <ruuqir$t7l$1@tncsrv09.home.tnetconsulting.net> <MZFspvGtTqdvLHGlYKzbRjmpYVENkylt@news.usenet.farm> <slrns161gq.qvg.elvis-85781@notatla.org.uk> <ruvcv0$m6c$2@tncsrv09.home.tnetconsulting.net> <jWnMecZXbwXFFlkLpSTVEzcHbGSNEtkt@news.usenet.farm> <ruvpsv$gmf$1@tncsrv09.home.tnetconsulting.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: alt.privacy.anon-server
X-Noarchive: yes
X-No-Archive: yes
User-Agent: slrn/1.0.3 (Linux)
Lines: 57
X-Complaints-To: abuse@blocknews.net
Nntp-Posting-Date: Sat, 30 Jan 2021 15:26:50 UTC
Organization: blocknews - www.blocknews.net