Make sure your tofmipd user is setup right.  The error indicates that it
can't find a user named "tofmipd" in the /etc/passwd file.

"id tofmipd"

----- Original Message -----
From: "Mark McArthey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 08, 2003 1:46 PM
Subject: RE: tmda-ofmipd


> [EMAIL PROTECTED] wrote:
> > What user do you want it to run as?  Please post your
> > /etc/sysconfig/ofmipd file.
> >
> I want it to run as tofmipd.  This is my sysconfig file:
>
> [root@werlax etc]# cat /etc/sysconfig/ofmipd
> OPTIONS="-p werlax:8025"
>
> > The RPM also sets the -R option to authenticate against pop3 on
> > localhost. The /etc/tofmipd file is still required however, because
> > there is a bug somewhere in tmda-ofmipd that checks for it.  I
> > haven't bothered looking why yet... just happily include a blank
> > /etc/tofmipd file if  you are using other auth techniques.
> >
> Yes, I've done that.
>
> [root@werlax etc]# ll -d *ofmipd
> lrwxrwxrwx    1 root     root            7 Jan  8 07:51 ofmipd ->
> tofmipd
> -r--------    1 root     root           30 Jan  1 21:37 tofmipd
>
> For the record, when I try to run it manually I receive the same error:
>
> [root@werlax etc]# tmda-ofmipd -u tofmipd -p werlax:8025
>
> **********************************************************************
> WARNING: The security implications and risks of running
> /usr/sbin/tmda-ofmipd in "seteuid" mode have not been fully evaluated.
> If you are uncomfortable with this, quit now and instead run
> /usr/sbin/tmda-ofmipd under your non-privileged TMDA user account.
> **********************************************************************
>
> Traceback (most recent call last):
>   File "/usr/sbin/tmda-ofmipd", line 1063, in ?
>     main()
>   File "/usr/sbin/tmda-ofmipd", line 1031, in main
>     pw_uid = Util.getuid(username)
>   File "/usr/lib/python2.2/site-packages/TMDA/Util.py", line 81, in
> getuid
>     return pwd.getpwnam(username)[2]
> KeyError: getpwnam(): name not found
>
> Thanks!
>
>
> _____________________________________________
> tmda-users mailing list ([EMAIL PROTECTED])
> http://tmda.net/lists/listinfo/tmda-users
>
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to