Article View: alt.privacy.anon-server
Article #303985YAMN config problem
From: inwtx
Date: Wed, 24 Apr 2019 14:31
Date: Wed, 24 Apr 2019 14:31
50 lines
2437 bytes
2437 bytes
I have tried every conceivable way to exec yamn with a different config file without success.
The code that is kicking it out is below. Can any one see what is wrong with the config parameter?
I have also moved everything to C:/ and get the same results.
<[Owner.anonymous] â?¤ ./ZaxsX64RemailerYamn.exe -config="yamn2.cfg" -m -S -s "Testing YAMN 24" -t john@inwtx.net -l yamn2 < message.txt >
Unable to read yamn2.cfg
<[Owner.anonymous] â?¤ ./ZaxsX64RemailerYamn.exe -config="U:\YAMN\yamn2.cfg" -m -S -s "Testing YAMN 24" -t john@inwtx.net -l yamn2 < message.txt >
Unable to read U:\AMisc\ANewPgms\YAMN\yamn2.cfg
<[Owner.anonymous] â?¤ ./ZaxsX64RemailerYamn.exe --config="yamn2.cfg" -m -S -s "Testing YAMN 24" -t john@inwtx.net -l yamn2 < message.txt >
Unable to read yamn2.cfg
<[Owner.anonymous] â?¤ ./ZaxsX64RemailerYamn.exe --config="U:\YAMN\yamn2.cfg" -m -S -s "Testing YAMN 24" -t john@inwtx.net -l yamn2 < message.txt >
Unable to read U:\AMisc\ANewPgms\YAMN\yamn2.cfg
<[Owner.anonymous] â?¤ ./ZaxsX64RemailerYamn.exe --config="U:/YAMN/yamn2.cfg" -m -S -s "Testing YAMN 24" -t john@inwtx.net -l yamn2 < message.txt >
Unable to read U:/AMisc/ANewPgms/YAMN/yamn2.cfg
func flags() {
var err error
flag.Parse()
flag_args = flag.Args()
setDefaultConfig()
if flag_config != "" {
err = gcfg.ReadFileInto(&cfg, flag_config)
if err != nil {
fmt.Fprintf(
os.Stderr, "Unable to read %s\n", flag_config)
os.Exit(1)
}
} else if os.Getenv("YAMNCFG") != "" {
err = gcfg.ReadFileInto(&cfg, os.Getenv("YAMNCFG"))
if err != nil {
fmt.Fprintf(
os.Stderr, "Unable to read %s\n", flag_config)
os.Exit(1)
}
} else {
fn := path.Join(flag_basedir, "yamn.cfg")
err = gcfg.ReadFileInto(&cfg, fn)
if err != nil {
if !flag_client {
fmt.Println(err)
}
fmt.Println("Using internal, default config.")
}
}
Technical Details
Message-ID:
<q9ps0p$m3k$1@news.mixmin.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-mailShow Full Headers
Complete Article Headers
Message-ID: <q9ps0p$m3k$1@news.mixmin.net> Subject: YAMN config problem Date: Wed, 24 Apr 2019 09:31:54 -0500 From: "inwtx" <noreply@inwtx.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 Injection-Date: Wed, 24 Apr 2019 14:31:54 -0000 (UTC) Organization: Mixmin X-Received-Bytes: 2435 X-Received-Body-Crc: 1345171638