Thanks Tim, that solves one problem, but unfortunately introduces another :-(Nils Vogels <[EMAIL PROTECTED]> writes:My FQDN of the box is box1.example.org, and the %(confirm_accept_address)s just keeps on being in the form of [EMAIL PROTECTED], while the RCPT TO states [EMAIL PROTECTED] On thing that might be related, is that Postfix is doing virtual-domains, and the user that the email is being delivered to is locally known as [EMAIL PROTECTED]..This is probably the problem. The recipient_address variable is exactly what Postfix places in the RECIPIENT environment variable, with no manipulation of any sort. If this is a problem that can't be solved through Postfix, you can massage it in your config file like this. rcptaddr = os.environ['RECIPIENT'] try: i = rcptaddr.rindex('@') rcpt, host = rcptaddr[:i], rcptaddr[i+1:] domain = '.'.join(host.split('.')[-2:]) os.environ['RECIPIENT'] = rcpt + '@' + domain except ValueError: pass
For some reason my tmda-cgi now crashes nicely with the following message:
|
Help ;-)
_____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
