Re: global config file

Dave <[email protected]>
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
Dave Hallowell <drh <at> mail.solution-group.com> writes:

> 
> Hi list members,
> I would like to use the global config file /etc/tmdarc to create for the 
> most part a system wide whitelist. I don't have a file called 
> /etc/tmdarc. The closest file I have is /home/vpopmail/etc/vtmdarc. Am I 
> the only person that doesn't have a tmdarc file? If I am just being 
> stupid, please someone tell me and I will stop wasting space on the 
> list. I am using tmda-1.1.9 and tmda-cgi-0.15.
> 
> Any suggestions?
> Thanks


Hello list,
I still have not found an answer to my problem, but let me offer more
information. I copied my /home/vpopmail/etc/vtmdarc file to /etc/tmdarc. I set
the permissions to 640 and owner.group to vpopmail.vchkpw. When I login to
tmda-cgi I get "MissingSectionHeaderError" and at the bottom of the page this is
the error message:

MissingSectionHeaderError: File contains no section headers. file:
/home/vpopmail/domains/mydomain.com/drh/.tmda/config, line: 1 'CGI_VIRTUALUSER =
1\n'
     append = <bound method MissingSectionHeaderError.append
o...rh/.tmda/config, line: 1 'CGI_VIRTUALUSER = 1\n'>
     args = ("File contains no section headers.\nfile:
/home/vp...drh/.tmda/config, line: 1\n'CGI_VIRTUALUSER = 1\\n'",)
     filename = '/home/vpopmail/domains/mydomain.com/drh/.tmda/config'
     line = r"'CGI_VIRTUALUSER = 1\n'"
     lineno = 1
     message = "File contains no section headers.\nfile:
/home/vp...drh/.tmda/config, line: 1\n'CGI_VIRTUALUSER = 1\\n'"

Having very little knowledge of python, can anyone give me a pointer.

Thanks,
Dave
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.