Re: difficulty with Exim

Dave Holland <[email protected]> Tue, 14 Jan 2025 14:19:59 +0000
Newsgroups org.mlmmj.mlmmj
Message-ID <CAJ=5wKPRiMM+yod02-9DNYJeyxMPRauQ_TWjRdKBTWYhnPv2jg@mail.gmail.com>
--00000000000037bc98062bab422a
Content-Type: text/plain; charset="UTF-8"

Looking at it with a fresh pair of eyes... I hadn't realised mlmmj logged
some things to syslog. That led me to this message:
2025-01-13T21:42:36.508886+00:00 dory /usr/bin/mlmmj-receive[3142800]:
mlmmj-receive.c:122: Could not stat : No such file or directory

It looked like there should have been a filename there. Reading the source,
it should have been the listdir supplied with -L. Bodging a fixed list name
into the Exim config made everything work (for that list).

Triple-checking the Exim config, I found I had put "local_part" where I
should have put "$local_part". (Doh.)

All working now.

Cheers,
Dave

-- 



On Mon, 13 Jan 2025 at 22:10, Dave Holland <[email protected]> wrote:

> Hi,
>
> I'm having trouble getting my first list working. I'm using Exim4 on
> Debian 12 (bookworm). I'm using the packaged version of mlmmj, version
> 1.3.0-4. I've followed the instructions in README.exim4, including the
> change to the "command" setting to de-taint local_part for recent versions
> of Exim. I've used the command line to create a list and subscribe an
> address to it.
>
> When I try to send an email to the list, Exim logs this error:
>
> 2025-01-13 21:44:41 1tXSEj-00DBc0-0X ** [email protected]
> R=mlmmj_router T=mlmmj_transport: Child process of mlmmj_transport
> transport returned 1 from command: /usr/bin/mlmmj-receive
>
> ...which isn't giving me many clues to go on.
>
> If I invoke mlmmj-receive from the command line, and feed it a message, it
> returns exit code 0.
>
> How can I get more debug information out to see what I've done wrong?
>
> Thanks,
> Dave
>
>
>
>

--00000000000037bc98062bab422a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Looking at it with a fresh pair of eyes... I hadn&#39=
;t realised mlmmj logged some things to syslog. That led me to this message=
:</div><div>2025-01-13T21:42:36.508886+00:00 dory /usr/bin/mlmmj-receive[31=
42800]: mlmmj-receive.c:122: Could not stat : No such file or directory<br>=
</div><div><br></div><div>It looked like there should have been a filename =
there. Reading the source, it should have been the listdir supplied with -L=
. Bodging a fixed list name into the Exim config made everything work (for =
that list).</div><div><br></div><div>Triple-checking the Exim config, I fou=
nd I had put &quot;local_part&quot; where I should have put &quot;$local_pa=
rt&quot;. (Doh.)</div><div><br></div><div>All working now.</div><div><br></=
div><div>Cheers,</div><div>Dave</div><div><br></div><div><div dir=3D"ltr" c=
lass=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr=
"><div><div dir=3D"ltr"><div>--=C2=A0</div><div><br></div></div></div></div=
></div></div><br></div><br><div class=3D"gmail_quote gmail_quote_container"=
><div dir=3D"ltr" class=3D"gmail_attr">On Mon, 13 Jan 2025 at 22:10, Dave H=
olland &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; wro=
te:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"=
ltr"><div>Hi,</div><div><br></div><div>I&#39;m having trouble getting my fi=
rst list working. I&#39;m using Exim4 on Debian 12 (bookworm). I&#39;m usin=
g the packaged version of mlmmj, version 1.3.0-4. I&#39;ve followed the ins=
tructions in=C2=A0README.exim4, including the change to the &quot;command&q=
uot; setting to de-taint local_part for recent versions of Exim. I&#39;ve u=
sed the command line to create a list and subscribe an address to it.</div>=
<div><br></div><div>When I try to send an email to the list, Exim logs this=
 error:</div><div><br></div><div>2025-01-13 21:44:41 1tXSEj-00DBc0-0X ** <a=
 href=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
k</a> R=3Dmlmmj_router T=3Dmlmmj_transport: Child process of mlmmj_transpor=
t transport returned 1 from command: /usr/bin/mlmmj-receive<br></div><div><=
br></div><div>...which isn&#39;t giving me many clues to go on.</div><div><=
br></div><div>If I invoke mlmmj-receive from the command line, and feed it =
a message, it returns exit code 0.</div><div><br></div><div>How can I get m=
ore debug information out to see what I&#39;ve done=C2=A0wrong?</div><div><=
br></div><div>Thanks,</div><div>Dave</div><div><br></div><div><br></div><di=
v><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div dir=3D"l=
tr"><div><br></div></div></div></div></div></div>
</blockquote></div>

--00000000000037bc98062bab422a--