Postfix/main.cf/sender bcc maps

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Postfix‎ | main.cf
Revision as of 14:36, 8 October 2010 by Woozle (talk | contribs) (Created page with '==About== * '''parameter''': sender bcc maps * '''default''': (empty) * '''versions''': Postfix 2.1 and later Optional BCC (blind carbon-copy) address lookup tables, indexe…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

About

  • parameter: sender bcc maps
  • default: (empty)
  • versions: Postfix 2.1 and later

Optional BCC (blind carbon-copy) address lookup tables, indexed by sender address. The BCC address (multiple results are not supported) is added when mail enters from outside of Postfix.

The table search order is as follows:

  • Look up the "user+extension@domain.tld" address including the optional address extension.
  • Look up the "user@domain.tld" address without the optional address extension.
  • Look up the "user+extension" address local part when the sender domain equals $myorigin, $mydestination, $inet_interfaces or $proxy_interfaces.
  • Look up the "user" address local part when the sender domain equals $myorigin, $mydestination, $inet_interfaces or $proxy_interfaces.
  • Look up the "@domain.tld" part.

Specify the types and names of databases to use. After change, run "postmap /etc/postfix/sender_bcc".

Additional Rules

  • If mail to the BCC address bounces it will be returned to the sender.
  • Automatic BCC recipients are produced only for new mail. To avoid mailer loops, automatic BCC recipients are not generated after Postfix forwards mail internally, or after Postfix generates mail itself.

Example

sender_bcc_maps = hash:/etc/postfix/sender_bcc

Example sender_bcc file:

@vbz.com         bcc@vbz.com
@issuepedia.com  bcc@vbz.com