CMDCommand · run as root on the server · mail family
urbestack-mail-check-fix
First published 7 Nov 2026
0.2.27Unchanged since publicationUsage
# urbestack-mail-check-fix (--name DOMAIN | --host) --record KEY --action ACTION [--owner USER]Description
From the command's --help outputApplies one fix offered by the mail record check. Use --name for a domain with local mail routing or --host for the server's hostname. Give the check's record key with --record, such as mail-spf, mail-dmarc, mail-a or host-spf. With --name and --owner, the domain must belong to the named customer. Use --action publish to republish the zone. Every action regenerates and publishes the zone with a full BIND reload. On a DNS distribution client, it also sends the zone to the DNS server again. Use --action restore to remove custom records of the same kind at the same DNS name and write UrbeStack's record again. Restoring SPF requires the SPF record to be absent. For DKIM, use publish. Use --action spf-add to add this server's sending IP addresses or the relay's SPF mechanism to the single custom SPF record and remove UrbeStack's own SPF record if present. The additions go before the first all or redirect= term, or at the end if neither is present. For relayed mail, this action requires a server-wide relay with an SPF mechanism set in mail.smarthost_spf. The resulting record can be up to 4096 characters. The selected domain or hostname and the record's DNS name must belong to the same zone, managed on this server. If the current zone contents make the selected fix inapplicable, the command returns 409. Run the check again before retrying.Usage: urbestack-mail-check-fix (--name DOMAIN | --host) --record KEY --action ACTION [--owner USER] Applies one fix offered by the mail record check. Use --name for a domain with local mail routing or --host for the server's hostname. Give the check's record key with --record, such as mail-spf, mail-dmarc, mail-a or host-spf. With --name and --owner, the domain must belong to the named customer. Use --action publish to republish the zone. Every action regenerates and publishes the zone with a full BIND reload. On a DNS distribution client, it also sends the zone to the DNS server again. Use --action restore to remove custom records of the same kind at the same DNS name and write UrbeStack's record again. Restoring SPF requires the SPF record to be absent. For DKIM, use publish. Use --action spf-add to add this server's sending IP addresses or the relay's SPF mechanism to the single custom SPF record and remove UrbeStack's own SPF record if present. The additions go before the first all or redirect= term, or at the end if neither is present. For relayed mail, this action requires a server-wide relay with an SPF mechanism set in mail.smarthost_spf. The resulting record can be up to 4096 characters. The selected domain or hostname and the record's DNS name must belong to the same zone, managed on this server. If the current zone contents make the selected fix inapplicable, the command returns 409. Run the check again before retrying.
Options
Find other commands that accept these optionsSame in the API
These operations run the command.urbestack-mail-autoresponder-urbestack-mail-check-urbestack-mail-dkim-urbestack-mail-hold-urbestack-mail-settings-urbestack-mail-smarthost-Generated from release 0.2.35 (current) · urbestack-mail-check-fix --help outputThis entry has been unchanged since it was first published in release 0.2.27 on 7 Nov 2026.
urbestack.com/docs/commands/urbestack-mail-check-fix/