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

@ -44,6 +44,9 @@ v0.37.00 26-Dec-2002.
Move old files to another area failed, only the symbolic link
was moved.
mbfido:
Echomail from other zones showed the address of your own zone.
mbsetup:
Removed global flags No-IBN, IFC and ITN from the setup.
Removed nodes flags No-IBN, IFC and ITN from the setup.

View File

@ -236,7 +236,9 @@ int importmsg(faddr *p_from, faddr *f, faddr *t, char *orig, char *subj, time_t
} /* end of checking kludges */
if (echomail) {
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