Hello,

Dne čt, srp 28, 2025 at 01:25:23 CEST napsal(a) Wietse Venema via Postfix-users:
> Ralf Hildebrandt via Postfix-users:
> 
> Checking application/pgp-signature: FAILURE
> -- Start of PGP signed section.
> > * Jan Marek via Postfix-users <postfix-users@postfix.org>:
> > 
> > > virtual_alias_domains = virtual.domain
> > > virtual_alias_maps = hash:/etc/postfix/virtual
> > 
> > Looking good.
> >  
> > > /etc/postfix/virtual:
> > > 
> > > postmaster@virtual.domain account1
> > > root@virtual.domain     account1
> > > sale@virtual.domain     account2
> > > @virtual.domain         other
> 
> What is 'other' ? That result should have a domain name.

oh, I'm sorry - other is another local account...

> 
>       Wietse

Heureka! I've got it. Problem was, that in bookworm I had
"virtual.domain" in both $mydestination and
$virtual_alias_domains, but this is unacceptable now.

Postfix did translation, but because virtual.domain is the same
string as FQDN of this server, Postfix didn't know, how to send
email to other@virtual.domain :-(

In /etc/postfix/virtual.pcre I have somethink like:

/postmaster@virtual.domain/ account1@localhost
/root@virtual.domain/ account1@localhost
/sale@virtual.domain/ account2@localhost
/.*@virtual.domain$/ other@localhost

And because localhost is in the $mydestination , it works.

Maybe I should correct my virtual maps in
the same manner...

But why `postmap -q` don't reply?

Anyway, many thank for replies! They helps me.

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 -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to