Hi Tim!

> /etc/postfix/virtual
> l...@example1.com    legg
> t...@example2.org    legg
> 
> 
> So I changed the main.cf to this
> /etc/postfix/main.cf
> mydestination = localhost
> virtual_alias_domains =  example1.com, genex.example1.com, 
> localhost.example1.com, example2.org, localhost.example2.org 
> genex.example2.org
> virtual_alias_maps = hash:/etc/postfix/virtual
> 
> Upon instating these changes, mail to l...@example1.com gets returned back.  
> User unknown in virtual alias table.
> 
> Any suggestions how this can be set up in a way that is proper, robust and 
> still delivers mail?

Do you've

example1.com            anything
example2.com            anything
(and so on)

in your /etc/postfix/virtual(.db)?


Hasso

Reply via email to