MT <[EMAIL PROTECTED]> writes:

> On Thu, 11 Dec 2003 23:20:30 -0600
> Tim Legant <[EMAIL PROTECTED]> wrote:
>
>> Perhaps an easier way to handle this is to set up 'mt' in the
>> users/assign file:
>> 
>> /var/qmail/users/assign:
>> +mt:o2w:<o2w_UID>:<o2w_GID>:/home/o2w:::
>> .  
>> 
>> The period on the last line is necessary.  Then, from within the
>> /var/qmail/users directory run 'qmail-newu' to produce a hashed
>> database called 'cdb'.  Finally, remove all of the .qmail-mt* files
>> from the alias directory.
>
> OK, I followed your instructions but got snagged when I tried to
> start up the tmda-ofmipd server.

Are you talking about the instructions above, putting the 'mt' user in
users/assign and so forth?  If so, I can't see how that is related,
since those changes have nothing to do with tmda-ofmipd.  They are
related to qmail, which tmda-ofmipd knows nothing about.

> tmda-ofmipd -d -f -p open2web.com:8025
> Traceback (most recent call last):
>   File "/usr/bin/tmda-ofmipd", line 1257, in ?
>     main()
>   File "/usr/bin/tmda-ofmipd", line 1220, in main
>     ('localhost', 25))
>   File "/usr/bin/tmda-ofmipd", line 997, in __init__
>     self.bind(localaddr)
>   File "//usr/lib/python2.2/asyncore.py", line 311, in bind
>     return self.socket.bind (addr)
> socket.gaierror: (-2, 'Name or service not known')

This error means that 'open2web.com' can't be resolved to an IP
address.  I think I mentioned before that I believe your name
resolution (DNS, /etc/hosts) may be somewhat screwed on the machine.

I think that before attempting anything else with tmda-ofmipd, you
need to get that figured out.  If you want some help, post the
following.

1) The contents of /etc/nsswitch.conf
2) The contents of /etc/resolv.conf
3) The contents of /etc/hosts
4) The output of "hostname"
5) The output of "dig `hostname`"
6) The output of "dig open2web.com"

I'll try to give you a hand figuring out what's really happening
here.

> File "//user/lib/python2.2/asyncore.py" looks weird

This happens sometimes when Python is compiled on certain Linux
systems.  The path compiled into the module often doesn't even exist
-- /var/tmp/blahblah/lib/python/....  I think, although I don't run
Linux and can't speak authoritatively, that it's related to where the
RPM was compiled before being installed into the final location.  It's
not a problem in any case, it just looks weird.

> tmda-ofmipd -d -f starts normally

That's because (if I recall correctly) it binds to otto.open2web.com,
which apparently *can* be resolved to some IP address, although I
think we discovered that it isn't the public one, that is, it's not
what the world sees when they query open2web.com (64.235.236.143).

> Note: tmda-ofmipd -d -f -p open2web.com:8025 used to start normally
> before I made the changes.

Again, if you're talking about the qmail changes, there's no way this
can be so.  Perhaps you made some other changes along the way?


Tim

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to