Changed the reject message to be identical to the one used by Mailman so we can steal...
authorArt Cancro <ajc@citadel.org>
Mon, 29 Nov 2021 20:45:14 +0000 (15:45 -0500)
committerArt Cancro <ajc@citadel.org>
Mon, 29 Nov 2021 20:45:14 +0000 (15:45 -0500)
citadel/modules/smtp/serv_smtp.c

index 549a291..6bed154 100644 (file)
@@ -720,7 +720,7 @@ void smtp_rcpt(void) {
                && (SMTP->message_originated_locally == 0)                      // ...and also inbound Internet mail...
                && (is_email_subscribed_to_list((char *)ChrPtr(SMTP->from), valid->recp_room) == 0)     // ...and not a subscriber
        ) {
-               cprintf("551 <%s> - This mailing list only accepts messages from subscribers.\r\n", ChrPtr(SMTP->OneRcpt));
+               cprintf("551 <%s> - The message is not from a list member\r\n", ChrPtr(SMTP->OneRcpt));
                free_recipients(valid);
                return;
        }