> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Morten Trab > Sent: Wednesday, February 09, 2005 9:26 AM > To: [email protected] > Subject: RE: TMDA-ofmipd failing with Courier Virtual users setup > > > -----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
I was too quick there... The TMDA-ofmipd IS working...But it isn't obeying the filter rules :( No matter wether it is a non-confirmed, confirmed or whitelisted recipient I'm mailing it get tagged with a dated address... Med venlig hilsen / Best Regards, Morten Trab http://www.blackchart.dk _____________________________________________ tmda-users mailing list ([email protected]) http://tmda.net/lists/listinfo/tmda-users
