A recipient database contains a list of valid email addresses that can receive mail. If a mail domain has a recipient database, all of its incoming email is checked against the database before being forwarded. Messages are discarded if their intended recipients are not listed in the database. By default, a recipient database is located at /var/phion/spool/mgw/
Creating a Recipient Database
To create a recipient database in a subdirectory of the default location and add an email address to it, use the setbdb command. For example:
[root@bart:/var/phion/spool/mgw/bartSRV/bMGW]# setbdb "<user1>" "" ./my_recipient.db
Adding Email Addresses
You can also use the setbdb command to add additional email addresses:
[root@bart:/var/phion/spool/mgw/bartSRV/bMGW]# setbdb "<user2>" "" ./my_recipient.db
To display the content of the recipient database, use the showbdb command:
[root@bart:/var/phion/spool/mgw/bartSRV/bMGW]# showbdb my_recipient.db <user1>
Specifying a Recipient Database for the Mail Gateway Service
When specifying a recipient database that is located in a folder below the default path, use the following format:
Updating the Recipient Database
You should frequently update the recipient database. Since you cannot delete single database entries, you must update the database by first deleting it and then adding the latest list of email addresses. You can configure scripts to perform this task.
Backing Up Recipient Databases
Recipient databases are not included within Barracuda CloudGen Firewall backup (PAR) files created with the phionar tool. You must back up the recipient database separately in a safe place.