Postfix drama

3 posts / 0 new
Last post
#1 Thu, 04/30/2009 - 08:07
antishane

Postfix drama

Ok, I was having the message error : User unknown in virtual alias table but all the mapping was correct until i added this:

$myhostname, localhost.$mydomain, localhost, 1.actual.tld, 2.actual.tld, etc.

Is there a way to dynamically fix this instead of getting rid of the symptom like

$myhostname, localhost.$mydomain, localhost, "$domainname" or something?

Thu, 04/30/2009 - 10:11
antishane

in case anyone else runs into this problem ..

$myhostname, localhost.$mydomain, localhost, $mydomain - fixes for all domains, done.

Thu, 04/30/2009 - 19:19 (Reply to #2)
andreychek

Thanks for the update, I'm glad you got it working.

If the line you're referring to above is the "mydestination" line, Virtualmin handles all that for you by adding the domains to the /etc/postfix/virtual file. Unless you're doing something particularly unusual, it wouldn't generally be necessary to modify the mydestination line at all.

Have a good one,
-Eric

Topic locked