[pfx] Re: ldap + 550 5.1.1
On Fri, Jan 26, 2024 at 03:41:10PM +0100, Karsten Schmid via Postfix-users wrote: > So how would an appropriate entry in virtual_alias_maps look like? https://www.postfix.org/ldap_table.5.html > root@creampuff [/etc/postfix/ldap] # postfix reload > /usr/sbin/postconf: fatal: /etc/postfix/ldap/virtual-alias-maps.cf, line > 1: missing '=' after attribute name: "root?fed...@example.net" line isn't of the form: attribute = value for one of the documented ldap table attributes: domain = ... server_host = ... server_port = ... search_base = ... query_filter = ... > root@creampuff [/etc/postfix/ldap] # postfix reload > /usr/sbin/postconf: warning: > ldap:/etc/postfix/ldap/virtual-alias-maps.cf: unused parameter: > root=fed...@example.net Random fuzzing of the file will not give good results. Do read the docs. -- Viktor. ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org
[pfx] Re: ldap + 550 5.1.1
So how would an appropriate entry in virtual_alias_maps look like? root@creampuff [/etc/postfix/ldap] # postfix reload /usr/sbin/postconf: fatal: /etc/postfix/ldap/virtual-alias-maps.cf, line 1: missing '=' after attribute name: "root?fed...@example.net" postfix/postfix-script: refreshing the Postfix mail system root@creampuff [/etc/postfix/ldap] # emacs virtual-alias-maps.cf root@creampuff [/etc/postfix/ldap] # postfix reload /usr/sbin/postconf: warning: ldap:/etc/postfix/ldap/virtual-alias-maps.cf: unused parameter: root=fed...@example.net postfix/postfix-script: refreshing the Postfix mail system root@creampuff [/etc/postfix/ldap] # *Gesendet:* Dienstag, 16. Januar 2024 um 10:42 Uhr *Von:* "Matus UHLAR - fantomas via Postfix-users" *An:* postfix-users@postfix.org *Betreff:* [pfx] Re: ldap + 550 5.1.1 On 16.01.24 06:50, jungle.hunt--- via Postfix-users wrote: according to the error above, domain example.net is a virtual mailbox domain, and r...@example.net is neither in virtual_alias_maps (which is processed always) nor in virtual_mailbox_maps (which is processed for virtual mailbox domains). ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org
[pfx] Re: ldap + 550 5.1.1
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 r...@example.net is rejected: (expanded from ): host creampuff.example.net[fd00::11] said: 550 5.1.1 : 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 r...@example.net 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, uh...@fantomas.sk ; 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 -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org