All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Kardailsky <kardailsky@gmail.com>
To: mlmmj@mlmmj.org
Subject: Re: mlmmj bug with qmail+vpopmail
Date: Tue, 24 Jul 2007 18:13:01 +0000	[thread overview]
Message-ID: <337110112.20070724221301@gmail.com> (raw)
In-Reply-To: <1603698924.20070721141017@gmail.com>

Dear Alexander,

Saturday, July 21, 2007, 2:10:17 PM, you wrote:

> Dear mlmmj,

>   Just installed the latest version of the mlmmj on freebsd 6.1 box
>   and tried to work with it. I created test list sw-test and
>   configured .qmail-sw-test and .qmail-sw-test-default files.
>   Subscription was ok. However, when I tried to send email to the list
>   I got the following error: 
>   listcontrol.c:740: Unknown command "test". Ignoring mail: Unknown error: 0
>   Anyone else has such problem?

    I think I fixed that problem. I've added one more check in
    mlmmj-process.c :

-  } else if(dtemails.emailcount >= 1) {
+  } else if(dtemails.emailcount >= 1 && strcmp(dtemails.emaillist[0], getlistaddr(listdir)) != 0) {
    /* parse the (first) Delivered-To: header */
    recipextra = recipient_extra(listdir, dtemails.emaillist[0]);
-  } else if(toemails.emailcount >= 1) {
+  } else if(toemails.emailcount >= 1 && strcmp(toemails.emaillist[0], getlistaddr(listdir)) != 0) {
    /* parse the (first) To: header */
    
   I think there is no needed recipextra in case mailing list
   name and To: or Delivered-To: addresses are equals.


-- 
Best regards,
 Alexander


  parent reply	other threads:[~2007-07-24 18:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-21 10:10 mlmmj bug with qmail+vpopmail Alexander Kardailsky
2007-07-21 13:34 ` Thomas Goirand
2007-07-24 18:13 ` Alexander Kardailsky [this message]
2007-07-24 22:43 ` Morten K. Poulsen
2007-07-25 11:50 ` Morten K. Poulsen

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=337110112.20070724221301@gmail.com \
    --to=kardailsky@gmail.com \
    --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.