postfix - backup incomin e-mail

Discussion in 'Server Operation' started by osanet, Aug 16, 2006.

  1. osanet

    osanet New Member

    Hi

    How I can backup incoming and outoging mail to another account?

    All incoming and outgoing e-mail must be backup with another account

    with outgoing email I add this line to main.cf

    always_bcc = [email protected] , and all outgoing e-mail has backup with this account, and i find recipient_bcc_maps to incoming mail , but isn't working

    cat main.cf
    recipient_bcc_maps = hash:/etc/postfix/recipient_bcc_maps

    cat recipient_bcc_maps
    @domain1 [email protected]
    @domain2 [email protected]

    In logs i don't see any error

    Any ideas?

    osanet
     
  2. sjau

    sjau Local Meanie Moderator

    it's a map this means after you create the file you have to convert it to a map (or db or whatever it exactely is):

    Code:
    postmap /etc/postfix/recipient_bbc_maps
    
     
  3. osanet

    osanet New Member

    It did not working because file recipient_bbc_maps have error

    Now it's working very good:)
     

Share This Page