User unknown in virtual alias table

Drew Marshall drew at THEMARSHALLS.CO.UK
Thu Mar 10 21:22:24 GMT 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Steen, Glenn wrote:

 Yes... Perhaps a stupid question for you Drew, but... Couldn't one use
the virtual mailbox feature (as in "man virtual" to do what Rodney
seems to want to do?
Perhaps a bit backwards:)

  

No not stupid (I do stupid :-) ) You can use virtual delivery but you
need to tell Postfix what a virtual domain is using virtual_mailbox_maps
or virtual_alias_domains (Although this one can be left at it's default
of $virtual_alias_maps and is not applicable in this instance). It just
depends on the format of the virtual table and how they are aliased as to
how Postfix views the file.

For example if the virtual map reads:

user1 at tld.com         user1 at host1.tld.com

and the main.cf has mydestination set as host1.tld.com then mail
addressed to user1 at tld.com will be delivered (By the local delivery
agent) as it's alias is to a domain Postfix knows as it's own.

However if the alias map is:

user1 at tld.com         user1 at host2.tld.com

and the main.cf has no details of host2 as a destination, the smtpd
process will accept the incoming message (As the user exists in a 'user
map' but the delivery agent will bounce it as unknown or looping
depending on other factors like MX records and transport maps.

Slightly confusing but I'm sure you get the idea!

Drew

Drew

--
In line with our policy, this message has been scanned for
viruses and dangerous content by MailScanner, and is
believed to be clean. ------------------------ MailScanner list
------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/)
and the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list