Integration with Postfix becoming impossible
Andrey Falko <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Message-ID | <[email protected]> |
Hi everyone, I have been battling with this for days. Postfix can only receive messages sent to existing users (those that I have in /etc/aliases or in /etc/passwd). When a reply message is sent, the reply address is [email protected]. Postfix refuses to receive such mail because while "user" may exist, [email protected] does not exist. I tried getting postfix to take the regex, /^user-confirm.*@example\.com$/ and have it send mail to "| tmda /home/user/.tmda/config", but this does not work. Here is how I do it: In /etc/aliases: tmda "| tmda /home/user/.tmda/config" In /etc/postfix/main.cf: virtual_alias_maps = hash:/etc/postfix/virtual In /etc/postfix/virtual: /^user-confirm.*@example\.com$/ tmda I tried without the / /'s. I tried without ^ and $; nothing works :(.\ I even tried using regexs in /etc/aliases. Is there a way to configure TMDA to reply-to just "user" and have something in the body or headers telling tmda what message the response or for? I would appreciate any help with this. Thank you very much. -Andrey