I think it is possible, look at this sk110369.
Configure the relevant mail forwarding rules:
To configure a single mail forwarding rule:
[Expert@HostName:0]# ./dns_mail_forwarding.sh -d <Domain_Name> -n <NextHop_DNS_Name>
Example:
[Expert@HostName:0]# ./dns_mail_forwarding.sh -d "*" -n checkpoint.com
Note that for a single mail forwarding rule, double-quotes are required for using asterisk (*) as the domain.
To configure multiple mail forwarding rules:
Create a configuration file with the relevant mail forwarding rules:
[Expert@HostName:0]# touch /<path_to>/<name_of_file_with_mail_forwarding_rules>
It is recommended to place this file in the same directory with the dns_mail_forwarding.sh shell script.
Add the relevant mail forwarding rules into the configuration file:
[Expert@HostName:0]# vi /<path_to>/<name_of_file_with_mail_forwarding_rules>
Each line in this file represents a single mail forwarding rule using the following format:
<Domain_Name> <NextHop_DNS_Name>
Example:
* checkpoint.com
support.checkpoint.com supportcheckpoint.com
Note: A line "acme.com [192.168.80.80]" will cause all mails destined for "acme.com" to be forwarded to the mail server "192.168.80.80" without doing an MX lookup.
Load the mail forwarding rules from the configuration file:
[Expert@HostName:0]# ./dns_mail_forwarding.sh -f /<path_to>/<name_of_file_with_mail_forwarding_rules>
To revert to the original mail forwarding configuration:
[Expert@HostName:0]# ./dns_mail_forwarding.sh -r