Hallo! Ich würde gerne das Thema Backscatter noch mal aufgreifen, meines Erachtens nach fehlt mir ein Setup für MySQL. Lt. der Backscatter-Empfehlungen von http://www.postfix.org/LOCAL_RECIPIENT_README.html müsste auch für local_recipients_maps ein table für "non-unix"-User verwendet werden.
Hinweis:
Meine local_recipients_maps enthält aber noch den Standard:
# postconf | grep local_recipient_map
local_recipient_maps = proxy:unix: passwd.byname $alias_maps
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
Wie können wir hier unsere MySQL-User einsetzen?
Sowas wie
local_recipient_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
Hinweis:
- Problem: you use the mailbox_transport or fallback_transport feature of the Postfix local(8) delivery agent in order to deliver mail to non-UNIX accounts.
Solution: you need to add the database that lists the non-UNIX users:
/etc/postfix/main.cf
local_recipient_maps = proxy:unix: passwd.byname, $alias_maps,
<the database with non-UNIX accounts>
See the section "Local recipient table format" below for a description of how the table should be populated.
Meine local_recipients_maps enthält aber noch den Standard:
# postconf | grep local_recipient_map
local_recipient_maps = proxy:unix: passwd.byname $alias_maps
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
Wie können wir hier unsere MySQL-User einsetzen?
Sowas wie
local_recipient_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf