"Bob [EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> Anyways, here's the last snag (for now): TMDA's messages are generated
> as the username @ machine hostname, instead of the desired domain
> name. I thought I had overridden these in the config, but apparently
> not. Here is an example confirmation message, which shows the
> different names. Note that "web2.nlenet.net" is the machine name, and
> "nleaudio.com" is the desired domain name.
[...]
> CONFIRM_ADDRESS = "[EMAIL PROTECTED]"
CONFIRM_ADDRESS is used to build the address that the sender should
reply to in order to confirm. It appears in the Reply-To header field
and in the body of the message. The From header field uses the
recipient address, i.e., the address that the mail was sent to and
that appears in the $RECIPIENT environment variable set by Postfix.
You'll need to do one of the following:
1) Get Postfix to put the pre-aliased address in $RECIPIENT.
2) Change $RECIPIENT in your .procmailrc before calling tmda-filter.
3) Make a custom template for your confirmation message
(templates/confirm_request.txt) that uses a hard-coded From field
rather than the variable substition that is the default. For
example, the From field in confirm_request.txt looks like this:
From.US-ASCII: "%(FULLNAME)s" <%(recipient_address)s>
You could change it to this:
From.US-ASCII: "Bob [EMAIL PROTECTED]" <[EMAIL PROTECTED]>
You would want to set TEMPLATE_DIR in bob's config file to point to
your custom templates rather than the default templates.
http://tmda.net/config_vars.html#TEMPLATE_DIR
Tim
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users