All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Schmidt <mail_ben_schmidt@yahoo.com.au>
To: mlmmj@mlmmj.org
Subject: Re: [mlmmj] TUNEABLES relayhost and smtpport
Date: Fri, 10 Jan 2014 05:02:44 +0000	[thread overview]
Message-ID: <52CF7EF4.3090202@yahoo.com.au> (raw)
In-Reply-To: <20140108222928.Horde.EGrNHHlwq_UyjxXFw7ahsg3@horde.andreasschulze.de>

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,





  parent reply	other threads:[~2014-01-10  5:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2014-01-10  8:37 ` Andreas Schulze

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52CF7EF4.3090202@yahoo.com.au \
    --to=mail_ben_schmidt@yahoo.com.au \
    --cc=mlmmj@mlmmj.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.