submod tunable not working for me.. ?
Perfect timing -- I just started a discussion list which needed subscription moderation! However, I cannot get it to work for the life of me.
I compiled the latest mlmmj and added a file "submod" with a single email to my control/ directory, and when I attempt to subscribe myself to the list, I first get the confirmation request via email, which I respond to, and then I get a Mail Delivery failure:
Quoted 2 lines
comix+confsub-2234c52a6b0c615d-natebeaty=gmail.com@lists.clixel.com
local delivery failed
However, a file (subscribe1a39a8b053aabcec) is added to the moderation/ directory, and the temp file is removed from the subconf/ directory.. yet the moderator email listed in "submod" never receives an email.
I tried having a blank file for "submod" and seeing if it would send a confirmation email to the "owner" email. I also tried adding a file "moderators" in the control/ directory with the single email I listed in "submod". Neither worked.
If I remove the "submod" file in control/, the confirmation email (like the one that gives the error above) works fine and the user is subscribed.
What am I doing wrong here? It looks like it's *almost* working.. but I get no emails to the email listed in "submod" to confirm.
Nate.
--
Clixel Design & Coding ~ http://clixel.com/
Quoted 11 lines · Nate Beaty
Perfect timing -- I just started a discussion list which needed subscription moderation! However, I cannot get it to work for the life of me.
I compiled the latest mlmmj and added a file "submod" with a single email to my control/ directory, and when I attempt to subscribe myself to the list, I first get the confirmation request via email, which I respond to, and then I get a Mail Delivery failure:
Quoted 2 lines
comix+confsub-2234c52a6b0c615d-natebeaty=gmail.com@lists.clixel.com
local delivery failed
This has nothing to do with subscriber moderation, since it's a confirmation of subscription issue.
Subscriber moderation code doesn't kick in before after the subscriber have acknowledged it's his/hers emailaddress.
What mailserver etc.? Did previous mlmmj versions work?
Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?"
-- A. P. J.Quoted 2 lines · Mads Martin Joergensen
This has nothing to do with subscriber moderation, since it's a confirmation of subscription issue.
I would agree except when I remove the submod tunable from control/, there is no Mail Delivery failure, and the user is able to confirm their subscription just fine.
Quoted 2 lines
Subscriber moderation code doesn't kick in before after the subscriber have acknowledged it's his/hers emailaddress.
Well it seems mlmmj is getting the confirmation email, as it shows in Exim's log and the file is removed from subconf/ and a file is created in moderation/.
What is supposed to happen at that point? The email listed in submod (or owner if it's empty) gets a confirmation email much like the user's? And then the file disappears from moderation/ and the email is moved to subscribers.d/, correct?
Quoted 1 line
What mailserver etc.? Did previous mlmmj versions work?
Sorry, I meant to include that in my first email. I'm on an up-to- date Ubuntu Dapper box with Exim 4.60. I have been happily using mlmmj 1.2.11 for quite a few months now with announce-only lists. This is the first discussion list I've set up, and the owner asked for subscription moderation. I had previously been using the debian- packaged mlmmj, but compiled 1.2.12 for the submod capability.
My control/ dir:
Quoted 1 line
/var/spool/mlmmj/comix/control$la
-rw-r--r-- 1 Debian-exim Debian-exim 7 2006-08-25 19:01 bouncelife
-rw-r--r-- 1 Debian-exim Debian-exim 323 2006-08-25 19:02 customheaders -rw-r--r-- 1 Debian-exim Debian-exim 127 2006-08-25 19:01 footer
-rw-r--r-- 1 Debian-exim Debian-exim 23 2006-08-25 19:01 listaddress -rw-r--r-- 1 Debian-exim Debian-exim 16 2006-09-13 23:18 moderators -rw-r--r-- 1 Debian-exim Debian-exim 16 2006-09-13 23:37 owner -rw-r--r-- 1 Debian-exim Debian-exim 12 2006-08-25 19:02 prefix -rw-r--r-- 1 Debian-exim Debian-exim 16 2006-09-13 23:24 submod
-rw-r--r-- 1 Debian-exim Debian-exim 0 2006-08-25 19:01 subonlypost
-rw-r--r-- 1 Debian-exim Debian-exim 0 2006-08-25 19:01 verp
Quoted 1 line
/var/spool/mlmmj/comix/control$more submod
When I send a message to [email protected], I see in subconf/
Quoted 1 line
/var/spool/mlmmj/comix$la subconf
-rw------- 1 Debian-exim Debian-exim 19 2006-09-14 09:59 c033b9b4a8ac676-natebeaty=gmail.com
I reply to the confirmation email, and this shows in moderation/
Quoted 1 line
/var/spool/mlmmj/comix$la moderation/
-rw------- 1 Debian-exim Debian-exim 31 2006-09-14 09:59 subscribe5cda896c3c73687f
This is from my Exim mainlog:
2006-09-14 09:59:56 1GNuZ9-0005pg-US SA: Debug: SAEximRunCond expand returned: '1' 2006-09-14 09:59:56 1GNuZ9-0005pg-US SA: Debug: check succeeded, running spamc 2006-09-14 09:59:57 1GNuZ9-0005pg-US SA: Action: scanned but message
isn't spam: score=-2.1 required=5.0 (scanned in 1/1 secs | Message-
Id: [email protected]). From <[email protected]> (host=nz-out-0102.google.com [64.233.162.204]) for comix+confsub-c033b9b4a8ac676-natebeaty=gmail.com@lists.clixel.com
2006-09-14 09:59:57 1GNuZ9-0005pg-US <= [email protected] H=nz- out-0102.google.com [64.233.162.204] P=esmtp S'64 [email protected] 2006-09-14 09:59:57 1GNuZ9-0005pg-US ** [email protected] <comix [email protected]> R=mlmmj_router T=mlmmj_transport: Child process of mlmmj_transport transport returned 1 from command: /usr/bin/mlmmj-recieve 2006-09-14 09:59:57 1GNuZB-0005po-9J SA: Debug: SAEximRunCond expand returned: '0' 2006-09-14 09:59:57 1GNuZB-0005po-9J SA: Action: Not running SA because SAEximRunCond expanded to false (Message-Id: 1GNuZB-0005po-9J). From <> (local) for [email protected] 2006-09-14 09:59:57 1GNuZB-0005po-9J <= <> R=1GNuZ9-0005pg-US UÞbian-exim P=local S807 2006-09-14 09:59:57 1GNuZ9-0005pg-US Completed 2006-09-14 09:59:58 1GNuZB-0005po-9J => [email protected] R=dnslookup T=remote_smtp H=gmail-smtp-in.l.google.com [72.14.205.27] 2006-09-14 09:59:58 1GNuZB-0005po-9J Completed
I'm guessing this is important: "Child process of mlmmj_transport transport returned 1 from command: /usr/bin/mlmmj-recieve" since I don't see it for confirmation on my other lists...
Any help much appreciated!
Thanks,
Nate.
--
Clixel Design & Coding ~ http://clixel.com/
Nate,
Thanks for catching this before 1.2.12 final!
Quoted 8 lines · Nate Beaty
Quoted 2 lines · Mads Martin Joergensen
This has nothing to do with subscriber moderation, since it's a confirmation of subscription issue.
I would agree except when I remove the submod tunable from control/, there is no Mail Delivery failure, and the user is able to confirm their subscription just fine.
Hu, that does indeed sound weird.
Quoted 80 lines
Quoted 2 lines
Subscriber moderation code doesn't kick in before after the subscriber have acknowledged it's his/hers emailaddress.
Well it seems mlmmj is getting the confirmation email, as it shows in Exim's log and the file is removed from subconf/ and a file is created in moderation/.
What is supposed to happen at that point? The email listed in submod (or owner if it's empty) gets a confirmation email much like the user's? And then the file disappears from moderation/ and the email is moved to subscribers.d/, correct?
Quoted 1 line
What mailserver etc.? Did previous mlmmj versions work?
Sorry, I meant to include that in my first email. I'm on an up-to- date Ubuntu Dapper box with Exim 4.60. I have been happily using mlmmj 1.2.11 for quite a few months now with announce-only lists. This is the first discussion list I've set up, and the owner asked for subscription moderation. I had previously been using the debian- packaged mlmmj, but compiled 1.2.12 for the submod capability.
My control/ dir:
Quoted 1 line
/var/spool/mlmmj/comix/control$la(quoted diff) +0
-10-rw-r--r-- 1 Debian-exim Debian-exim 7 2006-08-25 19:01 bouncelife -rw-r--r-- 1 Debian-exim Debian-exim 323 2006-08-25 19:02 customheaders -rw-r--r-- 1 Debian-exim Debian-exim 127 2006-08-25 19:01 footer -rw-r--r-- 1 Debian-exim Debian-exim 23 2006-08-25 19:01 listaddress -rw-r--r-- 1 Debian-exim Debian-exim 16 2006-09-13 23:18 moderators -rw-r--r-- 1 Debian-exim Debian-exim 16 2006-09-13 23:37 owner -rw-r--r-- 1 Debian-exim Debian-exim 12 2006-08-25 19:02 prefix -rw-r--r-- 1 Debian-exim Debian-exim 16 2006-09-13 23:24 submod -rw-r--r-- 1 Debian-exim Debian-exim 0 2006-08-25 19:01 subonlypost -rw-r--r-- 1 Debian-exim Debian-exim 0 2006-08-25 19:01 verpQuoted 1 line
/var/spool/mlmmj/comix/control$more submodWhen I send a message to [email protected], I see in subconf/
Quoted 1 line
/var/spool/mlmmj/comix$la subconf-rw------- 1 Debian-exim Debian-exim 19 2006-09-14 09:59 c033b9b4a8ac676-natebeaty=gmail.com
I reply to the confirmation email, and this shows in moderation/
Quoted 1 line
/var/spool/mlmmj/comix$la moderation/-rw------- 1 Debian-exim Debian-exim 31 2006-09-14 09:59 subscribe5cda896c3c73687f
This is from my Exim mainlog:
2006-09-14 09:59:56 1GNuZ9-0005pg-US SA: Debug: SAEximRunCond expand returned: '1' 2006-09-14 09:59:56 1GNuZ9-0005pg-US SA: Debug: check succeeded, running spamc 2006-09-14 09:59:57 1GNuZ9-0005pg-US SA: Action: scanned but messageisn't spam: score=-2.1 required=5.0 (scanned in 1/1 secs | Message-
Id: [email protected]). From <[email protected]> (host=nz-out-0102.google.com [64.233.162.204]) for comix+confsub-c033b9b4a8ac676-natebeaty=gmail.com@lists.clixel.com2006-09-14 09:59:57 1GNuZ9-0005pg-US <= [email protected] H=nz- out-0102.google.com [64.233.162.204] P=esmtp S'64 [email protected] 2006-09-14 09:59:57 1GNuZ9-0005pg-US ** [email protected] <comix [email protected]> R=mlmmj_router T=mlmmj_transport: Child process of mlmmj_transport transport returned 1 from command: /usr/bin/mlmmj-recieve 2006-09-14 09:59:57 1GNuZB-0005po-9J SA: Debug: SAEximRunCond expand returned: '0' 2006-09-14 09:59:57 1GNuZB-0005po-9J SA: Action: Not running SA because SAEximRunCond expanded to false (Message-Id: 1GNuZB-0005po-9J). From <> (local) for [email protected] 2006-09-14 09:59:57 1GNuZB-0005po-9J <= <> R=1GNuZ9-0005pg-US UÞbian-exim P=local S807 2006-09-14 09:59:57 1GNuZ9-0005pg-US Completed 2006-09-14 09:59:58 1GNuZB-0005po-9J => [email protected] R=dnslookup T=remote_smtp H=gmail-smtp-in.l.google.com [72.14.205.27] 2006-09-14 09:59:58 1GNuZB-0005po-9J Completed
Quoted 3 lines
I'm guessing this is important: "Child process of
mlmmj_transporttransport returned 1 from command:/usr/bin/mlmmj-recieve" since I don't see it for confirmation on my other lists...
Hmmm, I wonder why it would return 1 and not report anything in the logs... weird indeed.
It's the exact same with an empty submod file, but something in owner instead?
Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?"
-- A. P. J.Quoted 2 lines · Mads Martin Joergensen
Hmmm, I wonder why it would return 1 and not report anything in the logs... weird indeed.
The Exim log, correct?
Quoted 2 lines
It's the exact same with an empty submod file, but something in owner instead?
Yep. My control dir:
Quoted 1 line
/var/spool/mlmmj/comix$la control
-rw-r--r-- 1 Debian-exim Debian-exim 7 2006-08-25 19:01 bouncelife
-rw-r--r-- 1 Debian-exim Debian-exim 323 2006-08-25 19:02 customheaders -rw-r--r-- 1 Debian-exim Debian-exim 127 2006-08-25 19:01 footer
-rw-r--r-- 1 Debian-exim Debian-exim 23 2006-08-25 19:01 listaddress -rw-r--r-- 1 Debian-exim Debian-exim 16 2006-09-13 23:37 owner -rw-r--r-- 1 Debian-exim Debian-exim 12 2006-08-25 19:02 prefix -rw-r--r-- 1 Debian-exim Debian-exim 0 2006-09-14 11:33 submod -rw-r--r-- 1 Debian-exim Debian-exim 0 2006-08-25 19:01 subonlypost -rw-r--r-- 1 Debian-exim Debian-exim 0 2006-08-25 19:01 verp
Quoted 1 line
/var/spool/mlmmj/comix$more control/owner
And the same thing happens -- I get a bounce msg, but the file is removed from subconf/ and one created in moderation/ (and no email to "owner")
2006-09-14 11:36:46 1GNw4r-0007gb-V5 SA: Debug: SAEximRunCond expand returned: '1' 2006-09-14 11:36:46 1GNw4r-0007gb-V5 SA: Debug: check succeeded, running spamc 2006-09-14 11:36:47 1GNw4r-0007gb-V5 SA: Action: scanned but message
isn't spam: score=-2.1 required=5.0 (scanned in 1/1 secs | Message-
Id: [email protected]). From <[email protected]> (host=nz-out-0102.google.com [64.233.162.202]) for comix+confsub-3b83c7304630f9c1-natebeaty=gmail.com@lists.clixel.com
2006-09-14 11:36:47 1GNw4r-0007gb-V5 <= [email protected] H=nz- out-0102.google.com [64.233.162.202] P=esmtp S'69 id [email protected] 2006-09-14 11:36:47 1GNw4r-0007gb-V5 ** [email protected] <comix
[email protected]> R=mlmmj_router T=mlmmj_transport: Child process of mlmmj_transport transport returned 1 from command: /usr/bin/mlmmj-recieve
And the bounce msg:
Quoted 55 lines
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:
comix+confsub-3b83c7304630f9c1-natebeaty=gmail.com@lists.clixel.com
local delivery failed------ This is a copy of the message, including all the headers.
------Return-path: <[email protected]>
Received: from nz-out-0102.google.com ([64.233.162.202])by mail.clixel.com with esmtp (Exim 4.60) (envelope-from <[email protected]>) id 1GNw4r-0007gb-V5 for comix+confsub-3b83c7304630f9c1- [email protected]; Thu, 14 Sep 2006 11:36:47 -0700 Received: by nz-out-0102.google.com with SMTP id 4so1250017nzn for <comix+confsub-3b83c7304630f9c1- [email protected]>; Thu, 14 Sep 2006 11:43:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s¾ta; d=gmail.com; h=received:mime-version:in-reply-to:references:content- type:message-id:content-transfer-encoding:from:subject:date:to:x- mailer; b=IFA9G/tbR +udjUFJSKBM6KO6ZT5wLpG7YLfSyICLWRNWUVY4orSDT5HAUEN2WVHhFJSUzDiFRfSzMAw MjO2AdTLUTo7eXOYD/V0pzEJeRYFztM +ULAgz3X87jXz6DauLN0SY3ylCx0S4nf3w5339FUZMMi7nhe0XUV9EJERz54M> Received: by 10.65.112.5 with SMTP id p5mr11160788qbm; Thu, 14 Sep 2006 11:43:08 -0700 (PDT) Received: from ?192.168.0.16? ( [63.105.22.58]) by mx.gmail.com with ESMTP id e11sm1393584qbc. 2006.09.14.11.43.08; Thu, 14 Sep 2006 11:43:08 -0700 (PDT)Mime-Version: 1.0 (Apple Message framework v752.2)
In-Reply-To: <[email protected]>
References: <[email protected]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <[email protected]>
Content-Transfer-Encoding: 7bit
From: Nate Beaty <[email protected]>
Date: Thu, 14 Sep 2006 11:43:04 -0700
To: comix+confsub-3b83c7304630f9c1- [email protected]
X-Mailer: Apple Mail (2.752.2)
X-SA-Exim-Connect-IP: 64.233.162.202
X-SA-Exim-Mail-From: [email protected]
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mail.clixel.com
X-Spam-Level:
X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham
Quoted 31 lines
version=3.1.0Subject: Re: Confirm subscription to [email protected]
X-SA-Exim-Version: 4.2 (built Thu, 14 Apr 2005 16:52:54 +0000)
X-SA-Exim-Scanned: Yes (on mail.clixel.com)Quoted 22 lines · On Sep 14, 2006, at 11:33 AM, [email protected] wrote:
Hi, this is the mlmmj program managing the mailinglist
To confirm you want the address
added to this list, please send a reply to
comix+confsub-3b83c7304630f9c1-natebeaty=gmail.com@lists.clixel.com
This confirmation serves two purposes. It tests that mail can be sent to
your address. Secondly it makes sure someone else did not try and subscribe your emailaddress without your permission.Your mailer may automatically reply to the confirmation address when you hit
the reply button.The subject and the body of the mail can be anything.
Thanks again!
Nate.
--
Clixel Design & Coding ~ http://clixel.com/
Quoted 6 lines · Nate Beaty
Quoted 2 lines · Mads Martin Joergensen
Hmmm, I wonder why it would return 1 and not report anything in the logs... weird indeed.
The Exim log, correct?
Yes, where you get the error messages from mlmmj in general.
Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?"
-- A. P. J.Quoted 9 lines · Mads Martin Joergensen
Quoted 6 lines · Nate Beaty
Quoted 2 lines · Mads Martin Joergensen
Hmmm, I wonder why it would return 1 and not report anything in the logs... weird indeed.
The Exim log, correct?
Yes, where you get the error messages from mlmmj in general.
I wonder why this works on postfix but not exim...
Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?"
-- A. P. J.Quoted 4 lines · Mads Martin Joergensen
Quoted 3 lines · Mads Martin Joergensen
Quoted 2 lines · Nate Beaty
On Sep 14, 2006, at 11:18 AM, Mads Martin Joergensen wrote:
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Hmmm, I wonder why it would return 1 and not report anything in the logs... weird indeed.
The Exim log, correct?
Yes, where you get the error messages from mlmmj in general.
I wonder why this works on postfix but not exim...
Have any other Exim users tried the submod functionality? Perhaps it's my settings somehow -- I did have trouble with local users when I first installed mlmmj. ( http://mlmmj.mmj.dk/archive/0788.html )
It's just strange that when I remove submod from control/ I can respond to the confirmation messages without any problems. So it seems the problem it must be in the area after the user confirms his/ her email and it moves on to send a msg to the owner or email listed in submod. I am unfamiliar with C, so I am unable to troubleshoot the code at all.
Nate.
--
Clixel Design & Coding ~ http://clixel.com/