OK. I see your execution command down at the bottom.

Here's mine:

#!/bin/sh
exec su -l vpopmail -c "exec /usr/local/tmda/bin/tmda-ofmipd -R imaps -d" 2>&1

My first guess would be to NOT use -u with 'su'. I think it's safe to say that
the -u option doesn't work with vpopmail.

My setup works fine for LOGIN and PLAIN, but fails on CRAM-MD5.



On Friday 13 December 2002 13:40, Jesse Guardiani wrote:
> I had similar errors last night, but mine seems to be working fine now.
>
> Could you show us how you're calling tmda-tofmipd?
>
> Thanks.
>
> On Friday 13 December 2002 13:22, Remo Mattei wrote:
> > Ok guys it seems that ofmipd is looking for the wrong location when using
> > the vpopmail env. Here is the error I get could someone let me know what
> > should I change to make it work?
> >
> > Peer: ('66.87.235.253', 25915)
> > Data: 'EHLO [192.168.2.150]'
> > Data: 'AUTH CRAM-MD5'
> > Data:
> > 'dGVzdEByZW1vbWF0dGVpLml0IDU5MGQ5NWQ4N2QwNzQxYTkxYTNmZjdkMDNhNGJmNmEw'
> > Auth:  failed for user '[EMAIL PROTECTED]'
> > Data: 'AUTH LOGIN'
> > Data: 'dGVzdEByZW1vbWF0dGVpLml0'
> > Data: 'dGVzdA=='
> > trying imap authentication for
> > [EMAIL PROTECTED]@forthekids.mailsoap.com:143
> > Auth:  succeeded for user '[EMAIL PROTECTED]'
> > Data: 'MAIL FROM:<[EMAIL PROTECTED]>'
> > ===> MAIL FROM:<[EMAIL PROTECTED]>
> > sender: [EMAIL PROTECTED]
> > Data: 'RCPT TO:<[EMAIL PROTECTED]>'
> > ===> RCPT TO:<[EMAIL PROTECTED]>
> > recips: ['[EMAIL PROTECTED]']
> > Data: 'DATA'
> > Data: 'User-Agent: Microsoft-Entourage/10.1.1.2418\r\nDate: Fri, 13 Dec
> > 2002 10:15:32 -0800\r\nSubject: Test\r\nFrom: Remo Mattei
> > <[EMAIL PROTECTED]>\r\nTo: <[EMAIL PROTECTED]>\r\nMessage-ID:
> > <[EMAIL PROTECTED]>\r\nMime-version: 1.0\r\nContent-type:
> > text/plain; charset="US-ASCII"\r\nContent-transfer-encoding:
> > 7bit\r\n\r\n\r\ntest\r\n'
> > error: uncaptured python exception, closing channel <__main__.SMTPChannel
> > connected 66.87.235.253:25915 at 0x81f991c> (exceptions.IOError:failure
> > delivering message to command "/usr/local/bin/tmda-inject --config-file
> > ~[EMAIL PROTECTED]/.tmda/config '[EMAIL PROTECTED]'" (command
> > "/usr/local/bin/tmda-inject --config-file
> > ~[EMAIL PROTECTED]/.tmda/config '[EMAIL PROTECTED]'" exited 1 
> > (Traceback (most recent call last): File "/usr/local/bin/tmda-inject",
> > line 122, in ?
> >     from TMDA import Defaults
> >   File "./TMDA/Defaults.py", line 197, in ?
> > TMDA.Errors.ConfigError: Can't find key file:
> > /home/vpopmail/.tmda/crypt_key))
> > [/usr/local/lib/python2.2/asyncore.py|poll|95]
> > [/usr/local/lib/python2.2/asyncore.py|handle_read_event|392]
> > [/usr/local/lib/python2.2/asynchat.py|handle_read|130]
> > [/usr/local/bin/tmda-ofmipd|found_terminator|713]
> > [/usr/local/bin/tmda-ofmipd|process_message|1002]
> > [./TMDA/Util.py|pipecmd|303])
> >
> >
> > Here is the command I use to start it
> >
> >
> > su vpopmail -c "tmda-ofmipd  -p forthekids.mailsoap.com:8025 -u vpopmail
> > -a /etc/tofmipd  -R imap://forthekids.mailsoap.com -d &"
> > By looking at the error I see the auth ok but cannot go to the right dir
> > location for the user [EMAIL PROTECTED] therefore my guess is that is
> > looking under the user's home dir which does not exist I think that a
> > patch to modifed that will be needed so that we may have a version for
> > vpopmail env in this way people using vpopmail will have no problems.
> >
> > Remo
> > _____________________________________________
> > tmda-users mailing list ([EMAIL PROTECTED])
> > http://tmda.net/lists/listinfo/tmda-users

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net

We are actively looking for companies that do a lot of long
distance faxing and want to cut their long distance bill by
up to 50%.  Contact [EMAIL PROTECTED] for more info.


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

Reply via email to