All of lore.kernel.org
 help / color / mirror / Atom feed
* Qmail trouble solved? :)
@ 2006-01-24  3:48 Thomas Goirand
  2006-01-24  9:47 ` Mads Martin Joergensen
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Goirand @ 2006-01-24  3:48 UTC (permalink / raw)
  To: mlmmj

Hello,

As the strace showed, my trouble was in mlmmj-process. So I read the 
file, and just found this (arround line 514, in src/mlmmj-process.c):

        if(dtoemails.emaillist)
                whichto = &dtoemails;
        else if(toemails.emaillist)
                whichto = &toemails;
        else
                whichto = NULL;

then I've changed it to this in mlmmj 1.2.11:

        if(toemails.emaillist)
                whichto = &toemails;
        else if(dtoemails.emaillist)
                whichto = &dtoemails;
        else
                whichto = NULL;

and it suddenly started to work perfectly. Why does MLMMJ first tries to 
look at the Delivered-To:? Is it possible to change it the way I say? Or 
is it what you were all talking about and I didn't understand?

Anyway, it works well for me now, and I'm very happy that we have 
choosed MLMMJ. It's a wonderfull project, and I'm very happy to see it's 
very active. Having release often is all but bothering, it shows the 
project is very active!

Thomas


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

* Re: Qmail trouble solved? :)
  2006-01-24  3:48 Qmail trouble solved? :) Thomas Goirand
@ 2006-01-24  9:47 ` Mads Martin Joergensen
  0 siblings, 0 replies; 2+ messages in thread
From: Mads Martin Joergensen @ 2006-01-24  9:47 UTC (permalink / raw)
  To: mlmmj

* Thomas Goirand <thomas@goirand.fr> [Jan 24. 2006 04:49]:
> Hello,
> 
> As the strace showed, my trouble was in mlmmj-process. So I read the 
> file, and just found this (arround line 514, in src/mlmmj-process.c):
> 
>        if(dtoemails.emaillist)
>                whichto = &dtoemails;
>        else if(toemails.emaillist)
>                whichto = &toemails;
>        else
>                whichto = NULL;
> 
> then I've changed it to this in mlmmj 1.2.11:
> 
>        if(toemails.emaillist)
>                whichto = &toemails;
>        else if(dtoemails.emaillist)
>                whichto = &dtoemails;
>        else
>                whichto = NULL;
> 
> and it suddenly started to work perfectly. Why does MLMMJ first tries to 
> look at the Delivered-To:? Is it possible to change it the way I say? Or 
> is it what you were all talking about and I didn't understand?

This means you're using the To: header in the mail to process it, which
can be a bit dangerous. The environment variable solution is the one you
want longterm.

> Anyway, it works well for me now, and I'm very happy that we have 
> choosed MLMMJ. It's a wonderfull project, and I'm very happy to see it's 
> very active. Having release often is all but bothering, it shows the 
> project is very active!

Thanks!

-- 
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.

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

end of thread, other threads:[~2006-01-24  9:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-24  3:48 Qmail trouble solved? :) Thomas Goirand
2006-01-24  9:47 ` Mads Martin Joergensen

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.