ok now I got it.I'll rephrase: Why doesn't tmda-ofmipd's `-c' option work for you? If it doesn't work for you, why exactly?
As per my understanding, -c option expects all tmda configuration to be stored like /path/user/config
under plesk, all mail directories are stored in
/var/qmail/mailnames/domain/user
and tmda is configured in
/var/qmail/mailnames/domain/user/.tmda
and so the config file can b found at
/var/qmail/mailnames/domain/user/.tmda/config
I can't figure out a way to get the config fil path using -c option. If you can figure out a way, please let me know.
Initially, I tried to use the -S option but, it looks in /var/qmail/control/virtualdomains file to get the suffix to the virtual users. I believe, it expects all virtual domains are stored as domain:real-user and so after getting the real user, it changes uid to that user and goes to that user's home directory to look for tmda config file, whereas plesk stores them as domain:domain_id (where domain_id is a number that is stored in a mysql database corresponding to the domain name) and so there's no real user information avaialable from virtualdomains file. I found, its easier to write the PSAProxy routine to suit this setup which is again easy to adapt to newer versions of tmda.
If this can be achieved without any modification to tmda-ofmipd, do let me know. It will definitely be a good thing.
R'twick
_____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
