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 <[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
> 
> 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 [email protected] :-(

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

/[email protected]/ account1@localhost
/[email protected]/ account1@localhost
/[email protected]/ 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 -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to