[Nym3-devel] nym server configuration

remop at hermetix.org remop at hermetix.org
Fri Aug 31 04:16:45 CEST 2007


On Thu, Aug 30, 2007 at 08:18:30PM -0400, remop+minion at hermetix.org wrote:
> Hi,
> I'm setting up nymbaron on hermetix.
> I'm having problems figuring out how to get mail to it or when I'm supposed to use -m or -d
> 
> The man page is kind of confusing about that:
> 
> | 2. Chose an email domain that will host the nymuser email addresses. It's better to have a different domain that the
> |   regular domain used for the host. Configure your MTA to deliver emails for this domain to:
> |   as user nymbaron. If you're not familiar with your MTA, you will want to look for something named "pipe delivery" or
> |   similar. Please see the example configurations in the contrib directory.
> |
> |   nymbarond -d account
> 
> I understand that I need to pipe mail for nym at hermetix.org into "nymbarond -d nym"
> but I'm not sure what "deliver emails for this domain to: as user nymbaron" means.
> (running as user nym, in my case, I guessed)
> 
> | 3. Arrange for control message delivery.
> 
> What are those anyway? (pings?)
> 
> | The recommanded way is to assign a mixminion mailbox and route it to the nymserver
> |   user on localhost. The server address you will have to advertise will look like "mbox:nymuser at nodename".
> 
> Ok so in my case something like mbox:nym at hermetix -> nym at hermetix.org (local) would be obvious but this confuses me:
> 
> | If you choose
> |   to host a nymbaron server without running a mixminion node you can advertise the nymserver user email address directly.
> |   Make sure emails sent to this address are piped through the command
> 
> |   nymbarond -m
> 
> Is this for all control message delivery or just in case you advertised the nymserver user email address directly?
> 
> Do I need to pipe control messages through a different command (line) than nym messages?
> 
> | 4. Configure the nymserver. Copy the nymbaronrc file supplied in the contrib directory and adjust the variables to your
> |   needs.
> 
> Where does nymbarond look for this file? I would guess in the user home dir, but still it's unclear.
 
I see, it's hardcoded as /etc/nymbaron/nymbarond.conf in nymbaron.Server.Config.py

> BTW why is it better to use a different domain name? I plan to use the same so I will only pipe mail for a user, not
> a domain. I will use different names for user and addresses, of course.

I understand why, finally. It's in case I don't want all the nyms to clash
with the main domain emails. Good. I'll use nym.hermetix.org then.

So now I relay mail like this at the MTA level:

@nym.hermetix.org	nym

I have something like this in my mixminion aliases

nym:	nym at hermetix.org

I have a .forward in nym's home containing this:

"|/usr/bin/nymbarond -d nym"

So I went on and tryed to create a test account on the server, heres the
transcript of the session (with backtrace):

| nobody at hermes ~ $ nymbaron create
| How do you want to name this account: test at nym.hermetix.org
| At which server do you want to register this account: nym.hermetix.org
| You need a username for this account.
| Enter several choices, one per line, finish by a blank line: test
| 
| What is the default email address for returning messages: nobody at hermetix.org
| Please wait, generating keys for this account...
| Please enter a passphrase to protect your secret keyring: 
| Again: 
| Mixminion version 0.0.8alpha2
| This software is for testing purposes only.  Anonymity is not guaranteed.
| Traceback (most recent call last):
|   File "/usr/local/bin/mixminion", line 10, in ?
|     mixminion.Main.main(sys.argv)
|   File "/usr/local/lib64/python2.4/site-packages/mixminion/Main.py", line 335, in main
|     func(commandStr, args[2:])
|   File "/usr/local/lib64/python2.4/site-packages/mixminion/ClientMain.py", line 1845, in generateSURB
|     parser.init()
|   File "/usr/local/lib64/python2.4/site-packages/mixminion/ClientMain.py", line 973, in init
|     self.directory = mixminion.ClientDirectory.ClientDirectory(
|   File "/usr/local/lib64/python2.4/site-packages/mixminion/ClientDirectory.py", line 740, in __init__
|     self.store = loadCachingDescriptorSource(config)
|   File "/usr/local/lib64/python2.4/site-packages/mixminion/ClientDirectory.py", line 703, in loadCachingDescriptorSource
|     store.save()
|   File "/usr/local/lib64/python2.4/site-packages/mixminion/ClientDirectory.py", line 648, in save
|     writePickled(self.cacheFile, self)
|   File "/usr/local/lib64/python2.4/site-packages/mixminion/Common.py", line 644, in writePickled
|     cPickle.dump(obj, f, -1)
| cPickle.PicklingError: Can't pickle mixminion.mixminion.ClientDirectory.CachingDescriptorSource: it's not the same object as mixminion.mixminion.ClientDirectory.CachingDescriptorSource
| Traceback (most recent call last):
|   File "/usr/bin/nymbaron", line 6, in ?
|     nymbaron.Client.Main.main(sys.argv)
|   File "/usr/lib/python2.4/site-packages/nymbaron/Client/Main.py", line 813, in main
|     emailAddress = options.email, nickname = options.nickname)
|   File "/usr/lib/python2.4/site-packages/nymbaron/Client/Main.py", line 410, in setupAccount
|     surbc.fromData(account.generateSurbs(7))
|   File "/usr/lib/python2.4/site-packages/nymbaron/Client/Account.py", line 256, in generateSurbs
|     f = open(surbspath, "r")
| IOError: [Errno 2] No such file or directory: '/tmp/tmpKyrxnp/surbs


nymbaron is version is 0.1.1

Any idea what might be the problem here?

Thanks
--
Hermetix Admin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.noreply.org/pipermail/nym3-devel/attachments/20070830/dbf10284/attachment.pgp


More information about the Nym3-devel mailing list