Fixed a problem with out-of zone echomail

This commit is contained in:
Michiel Broek
2003-01-02 20:09:06 +00:00
parent 79d31bda0a
commit 5ae4b967b2
2 changed files with 7 additions and 2 deletions

View File

@@ -236,8 +236,10 @@ int importmsg(faddr *p_from, faddr *f, faddr *t, char *orig, char *subj, time_t
} /* end of checking kludges */
if (echomail) {
f->zone = p_from->zone;
t->zone = tzone;
if (!f->zone)
f->zone = p_from->zone;
if (!t->zone)
t->zone = tzone;
rc = postecho(p_from, f, t, orig, subj, mdate, flags, cost, fp, TRUE);
} else
rc = postnetmail(fp, f, t, orig, subj, mdate, flags, TRUE, p_from->zone, tzone);