I got the problem fixed with following patch:
--- XMAIL/SMAILSvr.cpp 2004/07/03 13:06:02 1.3
+++ XMAIL/SMAILSvr.cpp 2004/09/30 07:12:13 1.4
@@ -486,6 +486,25 @@ static int SMAILProcessFile(SVRCFG_HANDL
///////////////////////////////////////////////////////////////////////////////
// Local mailing list case
///////////////////////////////////////////////////////////////////////////////
+ if (UsrMLCheckUserPost(pUI, USmlMailFrom(hFSpool), NULL ) < 0) {
+ ErrorPush();
+ ///////////////////////////////////////////////////////////////
+ // The sender is not in the closed mailing list and hence send
+ // permanent delivery failure error to and delete the message.
+ ///////////////////////////////////////////////////////////////
+ char szBounceMsg[512] = "";
+
+ SysSNPrintf(szBounceMsg, sizeof(szBounceMsg) - 1,
+ "%s's access to mailing list \"[EMAIL PROTECTED]"
was denied.",
+ USmlMailFrom(hFSpool), szDestUser, szDestDomain);
+
+ QueUtCleanupNotifyRoot(hQueue, hMessage, hFSpool,
+ szBounceMsg);
+
+ UsrFreeUserInfo(pUI);
+ return (ErrorPop());
+ }
+
if (SMAILMailingListExplode(pUI, hFSpool) < 0) {
ErrorPush();
UsrFreeUserInfo(pUI);
-VK
Rob Arends wrote:
>I think from what I have seen over the years, that poplinks in xmail bypass
>many of the normal incoming mail checks.
>Things like max message size, mailbox size limits, etc., and of course what
>you found, closed mail list checks.
>
>I think there would need to be a redesign of the poplink architecture if
>this was to be fixed.
>
>Currently poplink just gets the mail, determines whom it goes to, and drops
>
>
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]