> -----Original Message-----
> From: Stephen Warren [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 09, 2005 1:27 AM
> To: Morten Trab
> Cc: [email protected]
> Subject: Re: TMDA-ofmipd failing with Courier Virtual users setup
> 
> Another try:
>
> if os.environ.has_key('HOSTn') and os.environ.has_key('USERn'):
>      os.environ['HOME'] = "/home/vmail/%s/%s" % \
>          (os.environ["HOSTn"],os.environ["USERn"])
> #
> 
> This way, if HOSTn/USERn are set (MTA case), then HOME is calculated
> based off them, but if they aren't set (tmda-ofmipd case), /etc/tmdarc
> will rely on tmda-ofmipd having setup the HOME environment variable
> based on the results from your -S script.

This NEARLY did it (I have no what-so-ever experience in writing python
code, I'm used to Visual Basic and PHP)

The ofmipd worked by doing this, but TMDA (when used by MTA) isn't working
anymore :(
It can't find ~/Maildir/.tmda/pending/ and I would guess it's because the
HOME var isn't set proberly...


Med venlig hilsen / Best Regards,
Morten Trab
http://www.blackchart.dk



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

Reply via email to