最後更新: 2023-10-10
介紹
proxymap - Postfix lookup table proxy server
The proxymap server opens only tables that are approved via the
"proxy_read_maps" or "proxy_write_maps" configuration parameters.
功能
- To overcome chroot restrictions.
- To consolidate the number of open lookup tables by sharing one open table among multiple processes.
- The proxymap(8) server implements the following requests: open, lookup, update, delete, sequence.
- The request completion status is one of OK, RETRY, NOKEY, BAD, DENY.
目錄
proxy_read_maps
i.e.
recipient_bcc_maps = proxy:mysql:/etc/postfix/mysql-recipient_bcc_maps_user.cf sender_bcc_maps = proxy:mysql:/etc/postfix/mysql-sender_bcc_maps_user.cf proxy_read_maps = ... $recipient_bcc_maps $sender_bcc_maps
Test
postmap -q "test" proxy:mysql:/etc/postfix/mysql-recipient_bcc_maps_user.cf
Number of proxymap processes
/etc/postfix/master.cf
proxymap unix - - n - 10 proxymap