Article View: alt.privacy.anon-server
Article #217824Re: Mixmaster Windows Binary
From: Christian Danner
Date: Thu, 05 Jul 2007 12:46
Date: Thu, 05 Jul 2007 12:46
138 lines
6009 bytes
6009 bytes
Zax <admin@bananasplit.info> wrote:
>>>Try setting:
>>>SENDMAIL outfile
>>>This should write messages to out*.txt instead of sending them. I
>>>thought this was the default on Windows but perhaps not.
>>
>> Right, that would do it. But without the SMTPRELAY line MM aborts
>> after creating the files and a dialog window opens with the offer to
>> tell MiserySoft about it:
>
>Yes, I get the same problem here. Can you confirm if this worked in
>previous versions of mixmaster?
It does with 2.0.4b46-reliable and with 2.9b38msvc (Disastry), which I
kindly got from Richard.
After storing the message to send in the Mixmaster subfolder 'mix\om'
OmniMix calls mix.exe from within the mixmaster directory with a
mix.cfg file like
NUMCOPIES 4
CHAIN *,*,*,*
MINREL 98
RELFINAL 100
MAXLAT 1
DISTANCE 4
and a command line like
mix.exe -m -c 6 -l *,*,*,*,*,* om\0.mxt
The binary output is then retrieved from the pool directory 'mix\pool'
and converted to a text that can be forwarded.
>> No, they aren't. Such preconditions make an installation mandatory and
>> leave traces I'd like to avoid. IMHO Mixmaster has to stay stickware,
>> as OmniMix does. ;-) Moreover, you get into trouble if several
>> applications deal with their private MM instances (different config
>> files, separate message pools etc.). AFAIK QS for example changes
>> MIXPATH / MixDir to its own MM 2.9 directory, and who can guarantee
>> that it gets on well with a systemwide MM 3.0 installation. Reading
>> the sources it doesn't look too complicated to add a base directory
>> option. I'm sure that's the way to go.
>
>I'll raise this as a feature request. I think it's true for Posix
>systems as well as Windows. There currently isn't a way to avoid an
>installation.
According to the source code there's at least no chance to prevent
Mixmaster from creating a special folder and later on complaining
about missing random number / statistics files within that folder.
Only the creation of that folder had to be avoided in order to set the
current directory as the base folder.
Here's the concerning note from with mix.c / mix_config():
/* find our base directory
*
* first match wins.
*
* - what the MIXPATH environment variable points to, if it is set.
* - On WIN32, HKEY_CURRENT_USER\Software\Mixmaster\MixDir, if it
exists
* - whatever is compiled in with -DSPOOL
* - On Win32 %APPDATA%\Mixmaster
* - on POSIX, ~/Mix (or ~/<HOMEMIXDIR>)
* - the current working directory
*/
But it doesn't behave that way.
#ifdef WIN32
if (err == -1) {
LPMALLOC lpmalloc;
ITEMIDLIST *itemidlist;
if (SUCCEEDED(SHGetMalloc(&lpmalloc)))
{
SHGetSpecialFolderLocation(0,CSIDL_APPDATA,&itemidlist);
SHGetPathFromIDList(itemidlist,line);
lpmalloc->lpVtbl->Free(lpmalloc,&itemidlist);
lpmalloc->lpVtbl->Release(lpmalloc);
strcatn(line, "\\Mixmaster", PATHMAX);
err = mixdir(line, 1);
}
}
#endif /* WIN32 */
If %APPDATA%\Mixmaster with its path stored in 'line' isn't already
there, then it's inevitably created in mixdir():
static int mixdir(char *d, int create)
{
int err;
struct stat buf;
if (d != MIXDIR)
strncpy(MIXDIR, d, PATHMAX);
if (MIXDIR[strlen(MIXDIR) - 1] == DIRSEP)
MIXDIR[strlen(MIXDIR) - 1] = '\0';
err = stat(MIXDIR, &buf);
if (err == -1) {
if (create) {
#ifndef POSIX
err = mkdir(MIXDIR);
#else /* end of not POSIX */
err = mkdir(MIXDIR, S_IRWXU);
#endif /* else if POSIX */
if (err == 0)
errlog(NOTICE, "Creating directory %s.\n", MIXDIR);
} else
err = 1;
} else if (!S_ISDIR(buf.st_mode))
err = -1;
if (err == 0)
strcatn(MIXDIR, DIRSEPSTR, PATHMAX);
return (err);
}
>> I tried copying the concerning DLLs (msvc*80.dll) to the 'mix' folder.
>> But after uninstalling the package Mixmaster didn't work any longer.
>> Maybe I missed something. I don't know.
>
>Unfortunately I don't have a clean Windows PC to play with. Perhaps
>someone else can figure out what the additional requirements might be.
>I don't want everyone to have to install that enormous package!
ACK. Only 2,6 MB, but in my view it's not about the size.
Kind regards
Christian
--
OmniMix .. protect your privacy
http://www.danner-net.de/om.htm
Technical Details
Message-ID:
<39ffa75db44d9f32ced17059fe6f7be6@pseudo.borked.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.n-ix.net!news2.arglkargh.de!news.bananasplit.info!mail2news.mixmin.netReferences:
<f6159h$trt$1@bananasplit.info> <0284f40bffb198934c0c660c0c214043@pseudo.borked.net> <f6g778$jrs$1@bananasplit.info> <3e8e1a8921708d58c87fc844341a1ed9@pseudo.borked.net> <f6gk3v$go$1@bananasplit.info> <46815efdcb986547b518246de1131911@pseudo.borked.net> <f6ieh0$547$1@bananasplit.info>Show Full Headers
Complete Article Headers
Message-ID: <39ffa75db44d9f32ced17059fe6f7be6@pseudo.borked.net> Subject: Re: Mixmaster Windows Binary Date: Thu, 05 Jul 2007 12:46:17 +0000 From: Christian Danner <---@---.---> References: <f6159h$trt$1@bananasplit.info> <0284f40bffb198934c0c660c0c214043@pseudo.borked.net> <f6g778$jrs$1@bananasplit.info> <3e8e1a8921708d58c87fc844341a1ed9@pseudo.borked.net> <f6gk3v$go$1@bananasplit.info> <46815efdcb986547b518246de1131911@pseudo.borked.net> <f6ieh0$547$1@bananasplit.info> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.n-ix.net!news2.arglkargh.de!news.bananasplit.info!mail2news.mixmin.net Newsgroups: alt.privacy.anon-server Organization: Bananasplit Lines: 138 Sender: Borked Pseudo Mailed <nobody@pseudo.borked.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@bananasplit.info NNTP-Posting-Date: Thu, 5 Jul 2007 12:46:23 +0000 (UTC) Comments: This message did not originate from the Sender address above. It was remailed automatically by anonymizing remailer software. Please report problems or inappropriate use to the remailer administrator at <admin@pseudo.borked.net>. X-Abuse-Contact: abuse@bananasplit.info