diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-10-11 15:37:17 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-10-11 15:37:17 +0100 |
| commit | 3de6b0150f1b06256a0ee3ce9a8ba529a5d306e8 (patch) | |
| tree | d0b2a2d45786fab97f1c7945cd1e51ed27f3ac27 /MailRouting.c | |
| parent | 0d48067b828c78732fdf51981f254016933d4091 (diff) | |
| parent | eb0d36d3f67be13de74023adb6d30362d47805fe (diff) | |
Update upstream source from tag 'upstream/6.0.24.45'debian/latest
Update to upstream version '6.0.24.45'
with Debian dir 9a5822f2bbe8cf432a687b5d3299570a9d25824d
Diffstat (limited to 'MailRouting.c')
| -rw-r--r-- | MailRouting.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/MailRouting.c b/MailRouting.c index ff6feca..5cc17e7 100644 --- a/MailRouting.c +++ b/MailRouting.c @@ -1317,6 +1317,10 @@ FULLHA: {
int i = 0;
+ // Log My HA for debugging
+
+ Logprintf(LOG_BBS, conn, '?', "Routing Trace. Check if reached correct area My HA is %s", HRoute);
+
// All elements of Helements must match Myelements
while (MyElements[i] && HElements[i]) // Until one set runs out
@@ -1409,6 +1413,9 @@ NOHA: // So if SendPtoMultiple is set I think I need to find the best depth then send to all with the same depth
// If none are found on HA match drop through.
+ // But this means a message at the @BBS call will be forwarded without checking the Implied AT. So do that first
+
+
if (SendPtoMultiple && Msg->type == 'P')
{
struct UserInfo * bestbbs = NULL;
@@ -1425,6 +1432,16 @@ NOHA: {
ForwardingInfo = bbs->ForwardingInfo;
+ // Check Implied AT
+
+ if ((strcmp(ATBBS, bbs->Call) == 0)) // @BBS = BBS
+ {
+ Logprintf(LOG_BBS, conn, '?', "Routing Trace %s Matches implied AT %s", ATBBS, bbs->Call);
+
+ CheckAndSend(Msg, conn, bbs);
+ return 1;
+ }
+
depth = CheckBBSHElements(Msg, bbs, ForwardingInfo, ATBBS, &HElements[0]);
if (depth)
|
