All of lore.kernel.org
 help / color / mirror / Atom feed
* [mlmmj] TUNEABLES relayhost and smtpport
@ 2014-01-08 21:29 Andreas Schulze
  2014-01-09 20:22 ` Ben Schmidt
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Andreas Schulze @ 2014-01-08 21:29 UTC (permalink / raw)
  To: mlmmj

Hi,

could it be that both TUNEABLES are only used to forward valid messages.
What about rejects for example if a nonmember send to a list where  
control/subonlypost exist?
To mee it looks like this type of messages is not injected via  
relayhost/smtpport but
/usr/sbin/sendmail. Do I somthing wrong?

Thanks,
Andreas




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [mlmmj] TUNEABLES relayhost and smtpport
  2014-01-08 21:29 [mlmmj] TUNEABLES relayhost and smtpport Andreas Schulze
@ 2014-01-09 20:22 ` Ben Schmidt
  2014-01-09 20:33 ` Ryein C. Goddard
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Ben Schmidt @ 2014-01-09 20:22 UTC (permalink / raw)
  To: mlmmj

On 9/01/14 8:29 AM, Andreas Schulze wrote:
> could it be that both TUNEABLES are only used to forward valid messages.
> What about rejects for example if a nonmember send to a list where
> control/subonlypost exist?
> To mee it looks like this type of messages is not injected via relayhost/smtpport but
> /usr/sbin/sendmail. Do I somthing wrong?

Everything should use relayhost/smtpport. All mail Mlmmj sends is sent
by mlmmj-send, and it always does it by SMTP to relayhost on smtpport.

What makes you think it isn't?

Ben.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: [mlmmj] TUNEABLES relayhost and smtpport
  2014-01-08 21:29 [mlmmj] TUNEABLES relayhost and smtpport Andreas Schulze
  2014-01-09 20:22 ` Ben Schmidt
@ 2014-01-09 20:33 ` Ryein C. Goddard
  2014-01-09 21:08 ` Andreas Schulze
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Ryein C. Goddard @ 2014-01-09 20:33 UTC (permalink / raw)
  To: mlmmj

Is there a demo of this software some where, or at least screenshots?  I am thinking about testing it out, but want to compare it with other solutions I have been exploring.

-----Original Message-----
From: mlmmj@mlmmj.org [mailto:mlmmj@mlmmj.org] On Behalf Of Ben Schmidt
Sent: Thursday, January 9, 2014 12:22 PM
To: Andreas Schulze; mlmmj
Subject: Re: [mlmmj] TUNEABLES relayhost and smtpport

On 9/01/14 8:29 AM, Andreas Schulze wrote:
> could it be that both TUNEABLES are only used to forward valid messages.
> What about rejects for example if a nonmember send to a list where 
> control/subonlypost exist?
> To mee it looks like this type of messages is not injected via 
> relayhost/smtpport but /usr/sbin/sendmail. Do I somthing wrong?

Everything should use relayhost/smtpport. All mail Mlmmj sends is sent by mlmmj-send, and it always does it by SMTP to relayhost on smtpport.

What makes you think it isn't?

Ben.









^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [mlmmj] TUNEABLES relayhost and smtpport
  2014-01-08 21:29 [mlmmj] TUNEABLES relayhost and smtpport Andreas Schulze
  2014-01-09 20:22 ` Ben Schmidt
  2014-01-09 20:33 ` Ryein C. Goddard
@ 2014-01-09 21:08 ` Andreas Schulze
  2014-01-10  5:02 ` Ben Schmidt
  2014-01-10  8:37 ` Andreas Schulze
  4 siblings, 0 replies; 6+ messages in thread
From: Andreas Schulze @ 2014-01-09 21:08 UTC (permalink / raw)
  To: mlmmj

Am 10.01.2014 07:22 schrieb Ben Schmidt:
> Everything should use relayhost/smtpport. All mail Mlmmj sends is sent
> by mlmmj-send, and it always does it by SMTP to relayhost on smtpport.
> 
> What makes you think it isn't?
Helo Ben,

I configured a separate port for mlm submission
and created ~mlm/testing/control/smtpport

I have subonlypost and if I send to the list from a subscriber address
the message is injected via my separate submissionport.

But when I send from a nonsubscriber adresse, the reject goes via
127.0.0.1:25

In no case the local sendmail interface was used. That claim was false.

Also I miss a little bit detail of logging.
The only logging from mlmmj-process is not very informational:

Jan  8 17:22:58 main /usr/bin/mlmmj-process[5114]: mlmmj-process.c:828: Found To: undisclosed-recipients:;: Success
Jan  8 17:23:01 main /usr/bin/mlmmj-process[5121]: mlmmj-process.c:828: Found To: undisclosed-recipients:;: Success
Jan  8 17:23:05 main /usr/bin/mlmmj-process[5130]: mlmmj-process.c:828: Found To: undisclosed-recipients:;: Success
Jan  8 21:37:09 main /usr/bin/mlmmj-process[11412]: mlmmj-process.c:828: Found To: testing@example.org: Success
Jan  8 21:38:31 main /usr/bin/mlmmj-process[11433]: mlmmj-process.c:828: Found To: testing@example.org: Success
Jan  8 21:47:59 main /usr/bin/mlmmj-process[11585]: mlmmj-process.c:828: Found To: testing@example.org: Success

That where my test from different senders resulting in ml distibution or rejects.
I also checked mlmmj.operation.log but there also only successfull messages where logged.

I'm using mlmmj-1.2.18.0 build from source:
  ./configure --prefix=/usr --enable-receive-strip
  make
  make install-strip


Andreas


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [mlmmj] TUNEABLES relayhost and smtpport
  2014-01-08 21:29 [mlmmj] TUNEABLES relayhost and smtpport Andreas Schulze
                   ` (2 preceding siblings ...)
  2014-01-09 21:08 ` Andreas Schulze
@ 2014-01-10  5:02 ` Ben Schmidt
  2014-01-10  8:37 ` Andreas Schulze
  4 siblings, 0 replies; 6+ messages in thread
From: Ben Schmidt @ 2014-01-10  5:02 UTC (permalink / raw)
  To: mlmmj

On 10/01/14 8:08 AM, Andreas Schulze wrote:
> Am 10.01.2014 07:22 schrieb Ben Schmidt:
>> Everything should use relayhost/smtpport. All mail Mlmmj sends is sent
>> by mlmmj-send, and it always does it by SMTP to relayhost on smtpport.
>>
>> What makes you think it isn't?
> Helo Ben,
>
> I configured a separate port for mlm submission
> and created ~mlm/testing/control/smtpport
>
> I have subonlypost and if I send to the list from a subscriber address
> the message is injected via my separate submissionport.
>
> But when I send from a nonsubscriber adresse, the reject goes via
> 127.0.0.1:25
>
> In no case the local sendmail interface was used. That claim was false.

Thank you for the more detailed and accurate information.

I believe I have found the bug. Could you please see if the patch below
fixes it?

> Also I miss a little bit detail of logging.
> The only logging from mlmmj-process is not very informational:
>
> Jan  8 17:22:58 main /usr/bin/mlmmj-process[5114]: mlmmj-process.c:828: Found To: undisclosed-recipients:;: Success
> Jan  8 17:23:01 main /usr/bin/mlmmj-process[5121]: mlmmj-process.c:828: Found To: undisclosed-recipients:;: Success
> Jan  8 17:23:05 main /usr/bin/mlmmj-process[5130]: mlmmj-process.c:828: Found To: undisclosed-recipients:;: Success
> Jan  8 21:37:09 main /usr/bin/mlmmj-process[11412]: mlmmj-process.c:828: Found To: testing@example.org: Success
> Jan  8 21:38:31 main /usr/bin/mlmmj-process[11433]: mlmmj-process.c:828: Found To: testing@example.org: Success
> Jan  8 21:47:59 main /usr/bin/mlmmj-process[11585]: mlmmj-process.c:828: Found To: testing@example.org: Success

Very true. The logging is one of the areas that needs attention.

> I'm using mlmmj-1.2.18.0 build from source:
>    ./configure --prefix=/usr --enable-receive-strip
>    make
>    make install-strip

Excellent!

Smiles,

Ben.



diff --git a/src/mlmmj-process.c b/src/mlmmj-process.c
--- a/src/mlmmj-process.c
+++ b/src/mlmmj-process.c
@@ -1025,6 +1025,7 @@
                                 unlink(donemailname);
                                 myfree(donemailname);
                                 execlp(mlmmjsend, mlmmjsend,
+                                       "-L", listdir,
                                         "-l", "1",
                                         "-T", posteraddr,
                                         "-F", fromaddr,





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [mlmmj] TUNEABLES relayhost and smtpport
  2014-01-08 21:29 [mlmmj] TUNEABLES relayhost and smtpport Andreas Schulze
                   ` (3 preceding siblings ...)
  2014-01-10  5:02 ` Ben Schmidt
@ 2014-01-10  8:37 ` Andreas Schulze
  4 siblings, 0 replies; 6+ messages in thread
From: Andreas Schulze @ 2014-01-10  8:37 UTC (permalink / raw)
  To: mlmmj


Zitat von Ben Schmidt <mail_ben_schmidt@yahoo.com.au>:

> Could you please see if the patch below fixes it?
it does. Thanks Ben!

Btw:
Any news about the PTR for mlmmj.org[198.101.246.47]?

Andreas



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-01-10  8:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-08 21:29 [mlmmj] TUNEABLES relayhost and smtpport Andreas Schulze
2014-01-09 20:22 ` Ben Schmidt
2014-01-09 20:33 ` Ryein C. Goddard
2014-01-09 21:08 ` Andreas Schulze
2014-01-10  5:02 ` Ben Schmidt
2014-01-10  8:37 ` Andreas Schulze

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.