On 16.01.24 06:50, jungle.hunt--- via Postfix-users wrote:
  Mail from root.brezen.example.net is rejected.

to be more precise, mail to [email protected] is rejected:

  <[email protected]> (expanded from <root>): host
      creampuff.example.net[fd00::11] said: 550 5.1.1
      <[email protected]>: Recipient address rejected: User unknown in
      virtual mailbox table (in reply to RCPT TO command)


root's mail should not be
  masked since it will be sorted by sieve depending on the originating host.
  Is /etc/aliases ignored when ldap is in use?

/etc/aliases only applies to local mail, but example.net is not in your 
$mydestination

  myhostname = mail.example.net
  mydestination = $myhostname creampuff creampuff.example.net
  brezen.example.net

I assume that brezen.example.net should be on continued line, otherwise it's an error.

  virtual_alias_maps = ldap:/etc/postfix/ldap/virtual-alias-maps.cf
  virtual_mailbox_domains = $mydomain
  virtual_mailbox_maps = ldap:/etc/postfix/ldap/virtual-mailbox-maps.cf
  virtual_transport = lmtp:unix:private/dovecot-lmtp

according to the error above, domain example.net is a virtual mailbox domain, and [email protected] is neither in virtual_alias_maps (which is processed always) nor in virtual_mailbox_maps (which is processed for virtual mailbox domains).


--
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The early bird may get the worm, but the second mouse gets the cheese.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to