Hello,

I would like to set up virtual domain, as described in
VIRTUAL_README.

Part of my main.cf:

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

/etc/postfix/virtual:

[email protected] account1
[email protected]     account1
[email protected]     account2
@virtual.domain         other

# postmap virtual

(virtual.db have the same timestamp as virtual).

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

I've tried to test this map with 'postmap':

postmap -q [email protected] hash:/etc/postfix/virtual
account1

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

BUT:

postmap -q [email protected] hash:/etc/postfix/virtual

give me nothink with exit value of 1.

Now I've switched to pcre map, which works fine, but this is very
annoying.

My postfix is from debian trixie (3.10.3-2).

Sincerely
Jan Marek
-- 
Ing. Jan Marek
University of South Bohemia
Academic Computer Centre
Phone: +420389032080
http://www.gnu.org/philosophy/no-word-attachments.cs.html

Attachment: signature.asc
Description: PGP signature

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

Reply via email to