All of lore.kernel.org
 help / color / mirror / Atom feed
* testing mlmmj
@ 2006-03-19 16:27 Andreas V. Meier
  2006-03-19 23:31 ` Jakob Hirsch
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Andreas V. Meier @ 2006-03-19 16:27 UTC (permalink / raw)
  To: mlmmj

[-- Attachment #1: Type: text/plain, Size: 1156 bytes --]

Hi,

I just installed and played a bit with mlmmj and my exim.
My first confusion was caused by 2 different ways to use it. One is by
just adding the lists to /etc/aliases as a pipe to the mlmmj-receive.
Second is by using router and transport for mlmmj_domains.
The later only makes sense when using a dedicated domain for mlmmj as
far as I can see. At least the difference is not clear and there is no
distinction made in the README's.

But now to my problem: I created a list mlmmj-test@anvame.net and
successfully subscribed to it. Only when sending a mail to this list I
see the following in syslog and the message gets discarded:
---
Mar 19 01:32:41 waterworld /usr/bin/mlmmj-process[23489]:
mlmmj-process.c:612: Discarding
/raid/var/spool/mlmmj/mlmmj-test//incoming/ca5b636770aae27 due to
invalid envelope from email count (was 0, must be 1): No such file or
directory
---

My exim uses the header_from as envelope_from due to a rewrite rule,
so there should be an envelope from.

Can you suggest a fix for this behaviour?

Thx & Ciao

Andreas

PS: Sorry if this mail appeared twice, I already sent it once but it
    did not appear in the archive.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: testing mlmmj
  2006-03-19 16:27 testing mlmmj Andreas V. Meier
@ 2006-03-19 23:31 ` Jakob Hirsch
  2006-03-20  0:14 ` Andreas V. Meier
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Jakob Hirsch @ 2006-03-19 23:31 UTC (permalink / raw)
  To: mlmmj

Andreas V. Meier wrote:

> Second is by using router and transport for mlmmj_domains.
> The later only makes sense when using a dedicated domain for mlmmj as
> far as I can see. At least the difference is not clear and there is no
> distinction made in the README's.

Not necessarily. You'll not need a separate domainlist if you use
local_domains.

> Mar 19 01:32:41 waterworld /usr/bin/mlmmj-process[23489]:
> mlmmj-process.c:612: Discarding
> /raid/var/spool/mlmmj/mlmmj-test//incoming/ca5b636770aae27 due to
> invalid envelope from email count (was 0, must be 1): No such file or
> directory

  headers_remove = Delivered-To
  headers_add = Delivered-To: $local_part$local_part_suffix@$domain

in the router or transport.



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

* Re: testing mlmmj
  2006-03-19 16:27 testing mlmmj Andreas V. Meier
  2006-03-19 23:31 ` Jakob Hirsch
@ 2006-03-20  0:14 ` Andreas V. Meier
  2006-03-20  0:40 ` Jakob Hirsch
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Andreas V. Meier @ 2006-03-20  0:14 UTC (permalink / raw)
  To: mlmmj

[-- Attachment #1: Type: text/plain, Size: 1436 bytes --]

On Mon, Mar 20, 2006 at 12:31:36AM +0100, Jakob Hirsch wrote:
> Andreas V. Meier wrote:
> > Second is by using router and transport for mlmmj_domains.
> > The later only makes sense when using a dedicated domain for mlmmj as
> > far as I can see. At least the difference is not clear and there is no
> > distinction made in the README's.
> Not necessarily. You'll not need a separate domainlist if you use
> local_domains.
Yes, I missed the require_file part.

> > Mar 19 01:32:41 waterworld /usr/bin/mlmmj-process[23489]:
> > mlmmj-process.c:612: Discarding
> > /raid/var/spool/mlmmj/mlmmj-test//incoming/ca5b636770aae27 due to
> > invalid envelope from email count (was 0, must be 1): No such file or
> > directory
>   headers_remove = Delivered-To
>   headers_add = Delivered-To: $local_part$local_part_suffix@$domain
> in the router or transport.

This did not help, I tried to add the two lines to the system_aliases
router and to the pipe transport, without effect related to my
problem.

But I felt encouraged and tried the other way using dedicated router
and transport for mlmmj again. I found out that there is an error in
the README.exim4. After fixing it works now :)

The README.exim4 uses ${lc::$local_part} in the mlmmj_transport. At
this point it seems not to be a list any more (it always got expanded
to the lower case local_part with a preceeding colon).
So it should correctly read ${lc:$local_part}.

Ciao

Andreas

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: testing mlmmj
  2006-03-19 16:27 testing mlmmj Andreas V. Meier
  2006-03-19 23:31 ` Jakob Hirsch
  2006-03-20  0:14 ` Andreas V. Meier
@ 2006-03-20  0:40 ` Jakob Hirsch
  2006-03-20 22:22 ` Morten K. Poulsen
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Jakob Hirsch @ 2006-03-20  0:40 UTC (permalink / raw)
  To: mlmmj

Andreas V. Meier wrote:

>>> Mar 19 01:32:41 waterworld /usr/bin/mlmmj-process[23489]:
>>> mlmmj-process.c:612: Discarding
>>> /raid/var/spool/mlmmj/mlmmj-test//incoming/ca5b636770aae27 due to
>>> invalid envelope from email count (was 0, must be 1): No such file or
>>> directory

Hm, now that I look at it, the error message looks a little strange,
esp. the "no such file..." part.

> The README.exim4 uses ${lc::$local_part} in the mlmmj_transport. At

Funny enough, somebody else was hit by this a few hours ago.

The updated version (with some other things, too) is in
http://ymmv.de/sw/mlmmj/README.exim4

Mads, could you put that in the next version? Tnx.


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

* Re: testing mlmmj
  2006-03-19 16:27 testing mlmmj Andreas V. Meier
                   ` (2 preceding siblings ...)
  2006-03-20  0:40 ` Jakob Hirsch
@ 2006-03-20 22:22 ` Morten K. Poulsen
  2006-03-20 23:08 ` Jakob Hirsch
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Morten K. Poulsen @ 2006-03-20 22:22 UTC (permalink / raw)
  To: mlmmj

On 20-Mar-2006 Jakob Hirsch wrote:
> Andreas V. Meier wrote:
>>>> Mar 19 01:32:41 waterworld /usr/bin/mlmmj-process[23489]:
>>>> mlmmj-process.c:612: Discarding
>>>> /raid/var/spool/mlmmj/mlmmj-test//incoming/ca5b636770aae27 due to
>>>> invalid envelope from email count (was 0, must be 1): No such file or
>>>> directory
> 
> Hm, now that I look at it, the error message looks a little strange,
> esp. the "no such file..." part.

It is a debug message. Ignore the "No such file or directory" part.

If the mail has no envelope from address ("MAIL FROM:<>" in SMTP), it is a
bounce mail. If such a mail is sent to the list, it must be from a broken mail
server, and is therefore ignored.

*But* if your mail server is not configured to add the envelope from address as
a Return-Path: header, mlmmj can not see it. Is your server configured to add
Return-Path?

In the future mlmmj will also look at environment variables for envelope
addresses (for qmail support) but it does not at the moment.

Morten

-- 
Morten K. Poulsen <morten@afdelingp.dk>

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

* Re: testing mlmmj
  2006-03-19 16:27 testing mlmmj Andreas V. Meier
                   ` (3 preceding siblings ...)
  2006-03-20 22:22 ` Morten K. Poulsen
@ 2006-03-20 23:08 ` Jakob Hirsch
  2006-03-21  7:13 ` Andreas V. Meier
  2006-03-21 16:56 ` Jakob Hirsch
  6 siblings, 0 replies; 8+ messages in thread
From: Jakob Hirsch @ 2006-03-20 23:08 UTC (permalink / raw)
  To: mlmmj

Morten K. Poulsen wrote:

>>>>> invalid envelope from email count (was 0, must be 1): No such file or
> *But* if your mail server is not configured to add the envelope from address as
> a Return-Path: header, mlmmj can not see it. Is your server configured to add

oops, you are right, envelope from is Return-Path, of course.

Exim does not add a Return-Path header by default, this is done by
return_path_add in the transport.


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

* Re: testing mlmmj
  2006-03-19 16:27 testing mlmmj Andreas V. Meier
                   ` (4 preceding siblings ...)
  2006-03-20 23:08 ` Jakob Hirsch
@ 2006-03-21  7:13 ` Andreas V. Meier
  2006-03-21 16:56 ` Jakob Hirsch
  6 siblings, 0 replies; 8+ messages in thread
From: Andreas V. Meier @ 2006-03-21  7:13 UTC (permalink / raw)
  To: mlmmj

[-- Attachment #1: Type: text/plain, Size: 773 bytes --]

Hi,

On Tue, Mar 21, 2006 at 12:08:56AM +0100, Jakob Hirsch wrote:
> Morten K. Poulsen wrote:
> >>>>> invalid envelope from email count (was 0, must be 1): No such file or
> > *But* if your mail server is not configured to add the envelope from address as
> > a Return-Path: header, mlmmj can not see it. Is your server configured to add
> 
> oops, you are right, envelope from is Return-Path, of course.
> 
> Exim does not add a Return-Path header by default, this is done by
> return_path_add in the transport.

Maybe this command should be stated explicitly in the README at the place where
it says "Also make sure ...". I read that part, but due to lack of knowledge how
to just discarded it :)

Anyway, I have it working now, thx!

Ciao

Andreas

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: testing mlmmj
  2006-03-19 16:27 testing mlmmj Andreas V. Meier
                   ` (5 preceding siblings ...)
  2006-03-21  7:13 ` Andreas V. Meier
@ 2006-03-21 16:56 ` Jakob Hirsch
  6 siblings, 0 replies; 8+ messages in thread
From: Jakob Hirsch @ 2006-03-21 16:56 UTC (permalink / raw)
  To: mlmmj

Andreas V. Meier wrote:

>> Exim does not add a Return-Path header by default, this is done by
>> return_path_add in the transport.
> Maybe this command should be stated explicitly in the README at the place where
> it says "Also make sure ...". I read that part, but due to lack of knowledge how
> to just discarded it :)

README.exim4 lists it in its transport, but you'll probably not read it
when using mlmmj's default way.

FWIW, the first thing I stumbled over when installing mlmmj was right
that. Somehow this line in the readme must have some magic autohide
feature. :)

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

end of thread, other threads:[~2006-03-21 16:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-19 16:27 testing mlmmj Andreas V. Meier
2006-03-19 23:31 ` Jakob Hirsch
2006-03-20  0:14 ` Andreas V. Meier
2006-03-20  0:40 ` Jakob Hirsch
2006-03-20 22:22 ` Morten K. Poulsen
2006-03-20 23:08 ` Jakob Hirsch
2006-03-21  7:13 ` Andreas V. Meier
2006-03-21 16:56 ` Jakob Hirsch

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.