Skip to contentSkip to conversation

Qmail trouble solved? :)

DISCUSSION Thomas Goirand 2 participants 2 messages Jan 24, 2006

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 21 lines · Thomas Goirand

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;
Quoted 3 lines

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.

Quoted 4 lines

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!

Signature · 4 lines
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.