204605Re: Forwards with MySQL
- Sep 1, 2006Alvaro Marín wrote:
> Hi,why do you add otherdomain.com to your alias_domains table if you want
> I've configured Postfix to use MySQL tables with alias or forwardings:
> where alias_domains table has for example:
> and the alias_maps table:
> This example runs fine, but if for example I add "otherdomain.com" to
> alias_domains table, it search for the user "otheruser" in MySQL table
> (logically) instead of send the mail to the MX.
mail to go to their MX?
> Is there any way to send directly the message to the "otherdomain.com"'syes, there is a way. don't put it in the table:)
> MX without searching on the table again?
> Other thing that I want to ask is that if the alias_maps table has onlywhat doesn't work? anyway, "wildcard" aliases (@... =>
> 2 fields (alias and destination) I can use for example:
> @... -> ouser@...
> to forward all the accounts from @domain to other account, but if I
> create that table with 3 fields (alias_user, alias_domain and
> destination) this doesn't work...any idea?
$destination) break recipient validation. don't return them. since
you're using mysql, you can do a lot of things. just say what you _want
to accomplish_ (not what you tried).
- << Previous post in topic