X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Ftextclient%2Ftuiconfig.c;h=61f8e58371760e25b910db509231d5a59014ebdc;hb=6603cb8689e1da5f8d48cabc5075280601a9e63c;hp=a6cfde35281361a0879e5c71e529de61a7d49e6d;hpb=011e05ae219b7860d1c11cf0261a55cea6f10c27;p=citadel.git diff --git a/citadel/textclient/tuiconfig.c b/citadel/textclient/tuiconfig.c index a6cfde352..61f8e5837 100644 --- a/citadel/textclient/tuiconfig.c +++ b/citadel/textclient/tuiconfig.c @@ -393,27 +393,30 @@ void get_inet_rec_type(CtdlIPC *ipc, char *buf) { int sel; keyopt(" <1> localhost (Alias for this computer)\n"); - keyopt(" <2> smart-host (Forward all outbound mail to this host)\n"); - keyopt(" <3> directory (Consult the Global Address Book)\n"); - keyopt(" <4> SpamAssassin (Address of SpamAssassin server)\n"); - keyopt(" <5> RBL (domain suffix of spam hunting RBL)\n"); - keyopt(" <6> masq domains (Domains as which users are allowed to masquerade)\n"); - keyopt(" <7> ClamAV (Address of ClamAV clamd server)\n"); + keyopt(" <2> smart host (Forward all outbound mail to this host)\n"); + keyopt(" <3> fallback host (Send mail to this host only if direct delivery fails)\n"); + keyopt(" <4> directory (Consult the Global Address Book)\n"); + keyopt(" <5> SpamAssassin (Address of SpamAssassin server)\n"); + keyopt(" <6> RBL (domain suffix of spam hunting RBL)\n"); + keyopt(" <7> masq domains (Domains as which users are allowed to masquerade)\n"); + keyopt(" <8> ClamAV (Address of ClamAV clamd server)\n"); sel = intprompt("Which one", 1, 1, 7); switch(sel) { case 1: strcpy(buf, "localhost"); return; case 2: strcpy(buf, "smarthost"); return; - case 3: strcpy(buf, "directory"); + case 3: strcpy(buf, "fallbackhost"); return; - case 4: strcpy(buf, "spamassassin"); + case 4: strcpy(buf, "directory"); return; - case 5: strcpy(buf, "rbl"); + case 5: strcpy(buf, "spamassassin"); return; - case 6: strcpy(buf, "masqdomain"); + case 6: strcpy(buf, "rbl"); return; - case 7: strcpy(buf, "clamav"); + case 7: strcpy(buf, "masqdomain"); + return; + case 8: strcpy(buf, "clamav"); return; } }