X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fdomain.c;h=7b862e97dba97d0e42b7a70388af1d5487402b0f;hb=6603cb8689e1da5f8d48cabc5075280601a9e63c;hp=304cf0ef846d9fc63ba9f863e05adf3c03bc20dd;hpb=011e05ae219b7860d1c11cf0261a55cea6f10c27;p=citadel.git diff --git a/citadel/domain.c b/citadel/domain.c index 304cf0ef8..7b862e97d 100644 --- a/citadel/domain.c +++ b/citadel/domain.c @@ -224,5 +224,10 @@ int getmx(char *mxbuf, char *dest) { strcat(mxbuf, "|"); } free(mxrecs); + + /* Append any fallback smart hosts we have configured. + */ + num_mxrecs += get_hosts(&mxbuf[strlen(mxbuf)], "fallbackhost"); + CtdlLogPrintf(CTDL_DEBUG, "\033[33m%d: %s\033[0m\n", num_mxrecs, mxbuf); return(num_mxrecs); }