We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda CloudGen Firewall

This Firmware Version Is End-Of-Support

Documentation for this product is no longer updated. Please see https://campus.barracuda.com/doc/71862301/ for further information on our EoS policy.

Maintaining Recipient Databases

  • Last updated on

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/<servername_servicename>/. You can also create the database in a subdirectory of this location.

In this article:

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

Viewing Databases

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

In Barracuda NG Admin, you can specify a default recipient database in the Mail Gateway Service. You can also specify a recipient database for an Extended Domain.

When specifying a recipient database that is located in a folder below the default path, use the following format:

my_folder/my_recipient.db

Make sure that the contents of the specified recipient database are configured properly. If the database does not contain any email addresses, all recipients are blocked from receiving email.

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.

You must decide whether you want to maintain the recipient database through Barracuda NG Admin or the CLI; you cannot use both methods simultaneously. When you add email addresses to the database via the CLI, the addresses will not be recognized by Barracuda NG Admin.

Backing Up Recipient Databases

Recipient databases are not included within Barracuda NG Firewall backup (PAR) files created with the phionar tool. You must back up the recipient database separately in a safe place.

Last updated on