proxymap (proxy_read_maps)

最後更新: 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.

功能

  1. To overcome chroot restrictions.
  2. To consolidate the number of open lookup tables by sharing one open table among multiple processes.
  3. The proxymap(8) server implements the following requests: open, lookup, update, delete, sequence.
  4. 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

 

 

 

Creative Commons license icon Creative Commons license icon