Mine looks like this
Sam -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alberto García Sent: Monday, June 28, 2004 4:32 AM To: [EMAIL PROTECTED] Subject: Re: virtual domains problem Hi, I've deleted all other stuff in the .qmail file and there is only the 'tmda-filter' line. It works fine for delivery any mail, so i think tmda-filter is working properly. All is working but the filtering :-( What variables are mandatory in the config file? i thing i'm missing something in the config file. Here is my actual config file: CONFIRM_APPEND = "/home/vpopmail/domains/mydomain.com/myuser/.tmda/lists/whitelist" DELIVERED_CACHE = "/home/vpopmail/domains/mydomain.com/myuser/pending/.delivered_cache" BARE_APPEND = "/home/vpopmail/domains/mydomain.com/myuser/.tmda/lists/whitelist" PENDING_BLACKLIST_APPEND = "/home/vpopmail/domains/mydomain.com/myuser/.tmda/lists/blacklist" PENDING_WHITELIST_APPEND = "/home/vpopmail/domains/mydomain.com/myuser/.tmda/lists/whitelist" CRYPT_KEY_FILE = "/home/vpopmail/domains/mydomain.com/myuser/.tmda/crypt_key" LOGFILE_DEBUG = "/home/vpopmail/domains/mydomain.com/myuser/.tmda/logs/debug" LOGFILE_INCOMING = "/home/vpopmail/domains/mydomain.com/myuser/.tmda/logs/incoming" LOGFILE_OUTGOING = "/home/vpopmail/domains/mydomain.com/myuser/.tmda/logs/outgoing" FILTER_INCOMING = "/home/vpopmail/domains/mydomain.com/myuser/.tmda/filters/incoming" FILTER_OUTGOING = "/home/vpopmail/domains/mydomain.com/myuser/.tmda/filters/outgoing" DATADIR = "/home/vpopmail/domains/mydomain.com/myuser/.tmda/" HOSTNAME = "mydomain.com" Regards. El Jueves, 24 de Junio de 2004 22:44, Samuel Hill escribió: > Looking at my post to the list mine wrapped too. > So to clarify all this below needs to be on the same line... > > |preline -f /opt/tmda-1.0.3/bin/tmda-filter -c > > /home/vpopmail/domains/mydomain.com/myuser/.tmda/config > > > > All that other stuff does not need to be in the .qmail file, it should > be picked up by the config file so as long as that -c is passed to > tmda-filter it should find all the other details. > > Also, I used Maildir but your delivery can be whatever. > > Sam > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Samuel Hill > Sent: Thursday, June 24, 2004 2:32 PM > To: [EMAIL PROTECTED] > Subject: RE: virtual domains problem > > > Is what you sent wrapping or is it all on the same line? > It needs to be on the same line... > > |preline -f /opt/tmda-1.0.3/bin/tmda-filter -c > > /home/vpopmail/domains/mydomain.com/myuser/.tmda/config > ./Maildir/ > > Sam > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of myuser García > Sent: Thursday, June 24, 2004 3:41 AM > To: [EMAIL PROTECTED] > Subject: Re: virtual domains problem > > > This is the config file i use. I'm using absolute paths: > > CONFIRM_APPEND = > "/home/vpopmail/domains/mydomain.com/myuser/.tmda/lists/whitelist" > DELIVERED_CACHE = > "/home/vpopmail/domains/mydomain.com/myuser/pending/.delivered_cache" > BARE_APPEND = > "/home/vpopmail/domains/mydomain.com/myuser/.tmda/lists/whitelist" > PENDING_BLACKLIST_APPEND = > "/home/vpopmail/domains/mydomain.com/myuser/.tmda/lists/blacklist" > PENDING_WHITELIST_APPEND = > "/home/vpopmail/domains/mydomain.com/myuser/.tmda/lists/whitelist" > CRYPT_KEY_FILE = > "/home/vpopmail/domains/mydomain.com/myuser/.tmda/crypt_key" > CONFIRM_APPEND = > "/home/vpopmail/domains/mydomain.com/myuser/.tmda/lists/confirmed" > LOGFILE_DEBUG = > "/home/vpopmail/domains/mydomain.com/myuser/.tmda/logs/debug" > LOGFILE_INCOMING = > "/home/vpopmail/domains/mydomain.com/myuser/.tmda/logs/incoming" > LOGFILE_OUTGOING = > "/home/vpopmail/domains/mydomain.com/myuser/.tmda/logs/outgoing" > > With this configuration i get this message > in /home/vpopmail/domains/mydomain.com/.tmda/logs/debug: > > Uncaught Python 2.2.1 Exception (Wed Jun 23 22:44:12 2004): > ----------------------------------------------------------- > Traceback (most recent call last): > File "/opt/tmda-1.0.3//bin/tmda-filter", line 53, in ? > execfile(os.path.join(execdir, 'tmda-rfilter')) > File "/opt/tmda-1.0.3/bin/tmda-rfilter", line 175, in ? > from TMDA import Defaults > File "./TMDA/Defaults.py", line 1529, in ? > ConfigError: Can't find key > file: /home/vpopmail/domains/mydomain.com/.tmda/crypt_key > > it seems like tmda is looking for the .tmda directory in the root of > the domain directory and not in the user directory. > > I've done some changes to the .qmail-myuser file: > |preline -f /opt/tmda-1.0.3/bin/tmda-filter > > -S /opt/tmda-1.0.3/contrib/vpopmail-vdir.sh > -c /home/vpopmail/domains/mydomain.com/myuser/.tmda/config > -t /home/vpopmail/domains/mydomain.com/myuser/.tmda/templates/ > > |/home/vpopmail/bin/vdelivermail '' > |/home/vpopmail/domains/mydomain.com/myuser > > But it still won't work :-( > > Thanks! > > El Miércoles, 23 de Junio de 2004 15:17, Samuel Hill escribió: > > What does your > > /home/vpopmail/domains/mydomain.com/myuser/.tmda/config > > File say? > > > > It may be that it is not specified where anything is... Crypt key, > > debug files, etc. > > > > Sam > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] > > On Behalf Of myuser García > > Sent: Wednesday, June 23, 2004 5:11 AM > > To: [EMAIL PROTECTED] > > Subject: virtual domains problem > > > > > > Hi, > > > > I'm having some problems to make tmda work. > > I'm running qmail + vpopmail (with virtuals domains) on debian > > woody. I have created the .tmda directory structure in the users > > directory (let say > > /home/vpopmail/domains/mydomain.com/myuser/.tmda/) > > > > my dot-file (lets say .qmail-myuser) is: > > |preline -f /opt/tmda-1.0.3/bin/tmda-filter > > > > -S /home/vpopmail/bin/vpopmail-vdir.sh myuser mydomain.com > > > > |/home/vpopmail/bin/vdelivermail '' > > |/home/vpopmail/domains/mydomain.com/myuser > > > > when an email arrives, i get a failure message in /root directory! > > > > /root/TMDA_DELIVERY_FAILURE > > > > who caontains: > > > > Uncaught Python 2.2.1 Exception (Wed Jun 23 10:06:00 2004): > > ----------------------------------------------------------- > > Traceback (most recent call last): > > File "/opt/tmda-1.0.3/bin/tmda-filter", line 53, in ? > > execfile(os.path.join(execdir, 'tmda-rfilter')) > > File "/opt/tmda-1.0.3/bin/tmda-rfilter", line 175, in ? > > from TMDA import Defaults > > File "./TMDA/Defaults.py", line 1529, in ? > > ConfigError: Can't find key file: /root/.tmda/crypt_key Traceback > > (most recent call last): > > File "/opt/tmda-1.0.3/bin/tmda-filter", line 71, in ? > > fp = open(LOGFILE_DEBUG, 'a') > > IOError: [Errno 2] No such file or directory: > > '/root/.tmda/logs/debug' > > > > It seems like tmda-filter isn't working with virtual domains (with > > root user only). > > > > What am i doing wrong? > > > > 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 > > _____________________________________________ > 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 > > _____________________________________________ > 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 _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users