How to create backup account in zimbra

Here I am creating an account in which I want all incoming and outgoing mail in specific zimbra account
Create an account like : report@example.com
$zmprov ca report@example.com passwordhere

Go to config file and put backup parameter below of file
$vim /opt/zimbra/postfix/main.cf
always_bcc = report@example.com

Reload postfix service
#postfix reload
Test mail both incoming and outgoing.
---------------------------------------------
Create a separate backup account for each user in zimbra
Create an account for  shahzad@example.com
Create incoming mail account: shahzad.in@example.com
Create outgoing mail account: shahzad.out@example.com
$zmprov ca shahzad@example.com passwordhere
 $zmprov ca shahzad.in@example.com passwordhere
$zmprov ca shahzad.out@example.com passwordhere

Go to config file and put backup parameter below of file

For Zimbra 8.6 version
$vim /opt/zimbra/postfix/main.cf
sender_bcc_maps = texthash:/opt/zimbra/postfix/conf/archivelist-sending
recipient_bcc_maps = texthash:/opt/zimbra/postfix/conf/archivelist-receving

For below zimbra 8.6 version
sender_bcc_maps = hash:/opt/zimbra/postfix/conf/archivelist-sending
recipient_bcc_maps = hash:/opt/zimbra/postfix/conf/archivelist-receving

Reload config file
$postfix reload

Now create backup file
$ touch /opt/zimbra/postfix/conf/archivelist-sending
$ touch /opt/zimbra/postfix/conf/archivelist-receving

Check permission of file
$ ls -l /opt/zimbra/postfix/conf/archivelist-sending
-rw-r----- 1 zimbra zimbra 0 Mar 26 02:00 /opt/zimbra/postfix/conf/archivelist-sending

$ ls -l /opt/zimbra/postfix/conf/archivelist-receving
-rw-r----- 1 zimbra zimbra 0 Mar 26 02:08 /opt/zimbra/postfix/conf/archivelist-receving

Set backup for outgoing
$vim /opt/zimbra/postfix/conf/archivelist-sending

Set backup for incoming
$vim /opt/zimbra/postfix/conf/archivelist-receving

Update backup file using portmap command
$postmap /opt/zimbra/postfix/conf/archivelist-sending
$postmap  /opt/zimbra/postfix/conf/archivelist-receving

Now Test backup

Share on Google Plus

About Penguin Technology

I am a passionate cloud and DevOps professional specializing in Linux and open-source solutions. Through this blog, I share my knowledge and experience with the community, offering tips and insights on cloud technologies and DevOps practices.
    Blogger Comment

1 comments:

  1. I gathered as much knowledge regarding to the Linux, web sever and database server from your site.Keep on updating with more interesting topic.
    Moreover to recover the lost file from Linux Click on:
    android data recovery review
    launch android data recovery
    backup and restore android apps and data
    android backup app data
    recover lost files
    diskdigger pro file recovery


    ReplyDelete