I'm using url-confirmation in system-wide mode without any problems..I recently installed tmda-cgi and I tried to get the "URL Confirmation" working. But I always get this error:--------------------------------------------- tmda-cgi cannot continue because a terminal error has been encountered. Error: Confirm Failed Cause: Old-style URL is not compatible with virtual users Additional: Running in system-wide mode. Attempted to use incompatible URL with euid 1, egid 0.
Summary of config:
TMDA-CGI:
Version
| tmda-cgi: | tmda-cgi/0.11B+ "Magnesium" (Python/2.3.2 on FreeBSD-4.9-RELEASE-i386-32bit-ELF) |
| TMDA: | TMDA/0.92 "Kauai King" (Python/2.3.2 on FreeBSD-4.9-RELEASE-i386-32bit-ELF) |
Compile Params
| AUTH_ARG: | pop3://localhost |
| AUTH_TYPE: | remote |
| BASE_DIR: | /usr/local/lib/python2.3/site-packages |
| CGI_DISP_DIR: | ../tmda-display/ |
| CGI_MODE: | system-wide |
| IDs: | UID: 1000 (1000) GID: 0 (0) |
| SESSION_EXP: | 300 |
| SESSION_ODDS: | 0.02 |
| SESSION_PREFIX: | /tmp/TMDASession. |
TMDA:
Little trick I use (thanks Tim!) to remove the hostname from my domainname:
try:
rcptaddr = os.environ['RECIPIENT']
i = rcptaddr.rindex('@')
rcpt, host = rcptaddr[:i], rcptaddr[i+1:]
domain = '.'.join(host.split('.')[-2:])
os.environ['RECIPIENT'] = rcpt + '@' + domain
except KeyError, ValueError:
pass
HOSTNAME = "example.org"
CGI_URL = "http://www.example.com/cgi-bin/tmda.cgi"
SUMMARY_HEADERS = ['date', 'from', 'to', 'subject', 'x-spam-status']
USEVIRTUALDOMAINS = 0
I realize that system-wide is different from virt-user, but nevertheless, it might help ;-)
Gr,
Nils.
-- Simple guidelines to happiness: Work like you don't need the money, love like your heart has never been broken and dance like no one can see you.
_____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
