fp = strchr(ep + 1, '\n');
tp = dctime(dlocaltimenow());
snprintf(buffer, sizeof(buffer), "From %.*s %s", (int)(fp - ep), ep, tp);
fp = strchr(ep + 1, '\n');
tp = dctime(dlocaltimenow());
snprintf(buffer, sizeof(buffer), "From %.*s %s", (int)(fp - ep), ep, tp);