On Wednesday 12 February 2003 06:14, [EMAIL PROTECTED] wrote:
> Yes moving everything to .tmda dir may solve the problem but there is
> still the issue that if anyone else follows the same howto that I did they
> will also come across this, and the fact that it should be looking for the
> file in the designated directroy form the .tmdarc-{user} file.  I actualy
> have it worlking by creating a symlink.  Ive just been removing that when
> someone has a new suggestion to try and I try that.  After making sure
> that DATADIR was set and CRYPT_KEY_FILE, I grabed this data from the log
> with debug turned on:

As Tim pointed out, VD support now allows you to think of virtual users just
like normal system users. Each of my users has their own .tmda directory.

What stops you from doing this?


>
> @400000003e4a2a7f196b1674 Incoming connection from ('192.168.3.68', 3951)
> @400000003e4a2a7f19bb650c Incoming connection to ('208.223.124.88', 8025)
> @400000003e4a2a7f19bbab5c Peer: ('192.168.3.68', 3951)
> @400000003e4a2a7f19bbca9c Data: 'EHLO mobile'
> @400000003e4a2a7f249cac4c Data: 'AUTH LOGIN'
> @400000003e4a2a7f250879f4 Data: 'dG1kYUB0ZWNocm9wb2xpcy5jb20='
> @400000003e4a2a7f2508c044 Data: 'OWVhczZmbTQ='
> @400000003e4a2a7f2508df84 trying imaps authentication for
> [EMAIL PROTECTED]@localhost:993
> @400000003e4a2a7f3aaa5944 Auth:  succeeded for user '[EMAIL PROTECTED]'
> @400000003e4a2a7f3b4d53ec Data: 'MAIL FROM: <[EMAIL PROTECTED]>'
> @400000003e4a2a7f3b4d9a3c ===> MAIL FROM: <[EMAIL PROTECTED]>
> @400000003e4a2a7f3b4dc14c sender: [EMAIL PROTECTED]
> @400000003e4a2a7f3b4de08c Data: 'RCPT TO: <[EMAIL PROTECTED]>'
> @400000003e4a2a7f3b4e03b4 ===> RCPT TO: <[EMAIL PROTECTED]>
> @400000003e4a2a7f3b4e2ac4 recips: ['[EMAIL PROTECTED]']
> @400000003e4a2a7f3b4e4dec Data: 'DATA'
> @400000003e4a2a800528bb6c Data: 'Message-ID:
> <001101c2d2b0$800da490$4403a8c0@mobile>\r\nFrom: "TMDA-Tech"
> <[EMAIL PROTECTED]>\r\nTo: <[EMAIL PROTECTED]>\r\nSubject: testing
> 2\r\nDate: Wed, 12 Feb 2003 11:05:01 -0500\r\nMIME-Version:
> 1.0\r\nContent-Type:
> multipart/alternative;\r\n\tboundary="----=_NextPart_000_000E_01C2D286.96D8
>DAC0"\r\nX-Priority: 3\r\nX-MSMail-Priority: Normal\r\nX-Mailer: Microsoft
> Outlook Express 6.00.2720.3000\r\nX-MimeOLE: Produced By Microsoft MimeOLE
> V6.00.2600.0000\r\n\r\nThis is a multi-part message in MIME
> format.\r\n\r\n------=_NextPart_000_000E_01C2D286.96D8DAC0\r\nContent-Type:
> text/plain;\r\n\tcharset="iso-8859-1"\r\nContent-Transfer-Encoding:
> quoted-printable\r\n\r\ntesting\r\n\r\n------=_NextPart_000_000E_01C2D286.9
>6D8DAC0\r\nContent-Type:
> text/html;\r\n\tcharset="iso-8859-1"\r\nContent-Transfer-Encoding:
> quoted-printable\r\n\r\n<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
> Transitional//EN">\r\n<HTML><HEAD>\r\n<META http-equiv=3DContent-Type
> content=3D"text/html; =\r\ncharset=3Diso-8859-1">\r\n<META
> content=3D"MSHTML 6.00.2723.2500"
> name=3DGENERATOR>\r\n<STYLE></STYLE>\r\n</HEAD>\r\n<BODY
> bgColor=3D#ffffff>\r\n<DIV><FONT face=3DArial
> size=3D2>testing</FONT></DIV></BODY></HTML>\r\n\r\n------=_NextPart_000_000
>E_01C2D286.96D8DAC0--\r\n' @400000003e4a2a8008c43d64 vuser homedir:
> "/var/vpopmail/domains/techropolis.com/tmda"
> @400000003e4a2a802717c63c Error: failure delivering message to command
> "/var/vpopmail/tmda/bin/tmda-inject '[EMAIL PROTECTED]'" (command
> "/var/vpopmail/tmda/bin/tmda-inject '[EMAIL PROTECTED]'" exited 1
> (Traceback (most recent call last):
> @400000003e4a2a80271b2d54   File "/var/vpopmail/tmda/bin/tmda-inject",
> line 122, in ?
> @400000003e4a2a80271b4c94     from TMDA import Defaults
> @400000003e4a2a80271b67ec   File "./TMDA/Defaults.py", line 1418, in ?
> @400000003e4a2a80271b7f5c TMDA.Errors.ConfigError: Can't find key file:
> /var/vpopmail/domains/techropolis.com/tmda/.tmda/crypt_key))
> @400000003e4a2a802761fe3c Data: 'QUIT'
>
> > On Wednesday 12 February 2003 05:58, [EMAIL PROTECTED] wrote:
> >> DATADIR is set, but ofmipd still insists on looking in
> >> {$DATADIR}/.tmda/ for the key.
> >
> > Why not just put everything in {$DATADIR}/.tmda/ ? Simple solution.
> >
> >> I'll try to set the crypt_key_file=   and see how that works.
> >>
> >>
> >> Bryan
> >>
> >> > <[EMAIL PROTECTED]> writes:
> >> >> Should I just symlink
> >> >> /var/vpopmail/domains/techropolis.com/tmda/.tmda/crypt_key to
> >>
> >> /var/vpopmail/domains/techropolis.com/tmda/crypt_key?
> >>
> >> > No, just set
> >> >
> >> > CRYPT_KEY_FILE="/var/vpopmail/domains/techropolis.com/tmda/crypt_key"
> >> >
> >> >
> >> > I thought you had DATADIR set... If DATADIR is set correctly, the
> >>
> >> crypt_key file should be searched for in that directory.
> >>
> >> > Tim
> >> > _____________________________________________
> >> > 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
> >
> > --
> > 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
>
> _____________________________________________
> 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