Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Hi I added a auto_bcc in my postfix config, and now I don't know how to remove it.

This is what I did:

Per user bcc for Zimbra

in /opt/zimbra/postfix/conf, create a file called sender_bcc and added the user you wanted to copy/send to:

employee@domain.com boss@domain.com

in /opt/zimbra/postfix/conf/main.conf, add:

sender_bcc_maps = hash:/opt/zimbra/postfix/conf/sender_bcc

then run as zimbra user

postmap /opt/zimbra/postfix/conf/sender_bcc

And restart all the stuff:

postfix reload
postfix stop
postfix start

How do I remove that? it seems like it created a database entry or something like that.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

If you just want to disable the functionality, remove or comment out the line you added to main.cf.

The postmap command you ran generated a .db file, which lets Postfix do more efficient lookups than if it were to parse the text file every time. Both the sender_bcc and sender_bcc.db files are safe to remove after you remove the sender_bcc_maps line from main.cf and reload or restart Postfix.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.