* Jan Marek via Postfix-users <[email protected]>:

> virtual_alias_domains = virtual.domain
> virtual_alias_maps = hash:/etc/postfix/virtual

Looking good.
 
> /etc/postfix/virtual:
> 
> [email protected] account1
> [email protected]     account1
> [email protected]     account2
> @virtual.domain         other

Perfect.

> # postmap virtual
OK

> BUT: When I want to send e-mail to [email protected] , I've
> got an error: User unknown in virtual alias table.

That should be matched by "@virtual.domain         other"

> I've tried to test this map with 'postmap':
> 
> postmap -q [email protected] hash:/etc/postfix/virtual
> account1

Good.
 
> postmap -q [email protected] hash:/etc/postfix/virtual
> account2

Good.

> postmap -q [email protected] hash:/etc/postfix/virtual
> 
> give me nothing with exit value of 1.

Yes, that query is made, but then "@virtual.domain" is queried
(derived from [email protected] by postfix's internal logic)

But I wonder why it's not working.

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netz | Netzwerk-Administration
  Invalidenstraße 120/121 | D-10115 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  [email protected] | https://www.charite.de
            

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to