Skip to contentSkip to conversation

Mail sent to mlmmj-recieve but MLMMJ don't send subscribe confirmation

DISCUSSION Thomas Goirand 5 participants 10 messages Jun 15, 2006 – Jun 21, 2006

lore
Share & tools
lore
#0 lore raw

Hello,

I have a problem with a setup. It seems mlmmj receives the mail, but it doesn't sends the confirmation email to postfix. Does one of you know where and how I should fix it? Any place where I should look at?

What is strange is that it's an automated setup, so it should be the same setup as I usually use. I really don't understand...

Here is the postfix log:

connect from node0103.gplhost.net[66.251.193.20]

postfix/smtpd[16073]: 46AC5FC015: client=node0103.gplhost.net[66.251.193.20]

postfix/cleanup[16079]: 46AC5FC015: message-id=<[email protected]>

postfix/qmgr[19244]: 46AC5FC015: from=<[email protected]>, sizeˆ0, nrcpt=1 (queue active)

postfix/smtpd[16073]: disconnect from node0103.gplhost.net[66.251.193.20]

postfix/smtpd[16083]: connect from localhost[127.0.0.1]

postfix/smtpd[16083]: 31066FC018: client=localhost[127.0.0.1]

postfix/cleanup[16079]: 31066FC018: message-id=<[email protected]>

postfix/qmgr[19244]: 31066FC018: from=<[email protected]>, size30, nrcpt=1 (queue active)

postfix/smtpd[16083]: disconnect from localhost[127.0.0.1]

amavis[19261]: (19261-04) Passed, <[email protected]> -> <[email protected]>,
Message-ID: <[email protected]>, Hits: -

postfix/smtp[16081]: 46AC5FC015:
to=<[email protected]>, orig_to=<[email protected]>, relay7.0.0.1[127.0.0.1], delay=2, status=sent (250 2.6.0 Ok, id261-04, from MTA: 250 Ok: queued as 31066FC018)

postfix/qmgr[19244]: 46AC5FC015: removed

postfix/local[16085]: 31066FC018:
to=<[email protected]>, relay=local, delay=1, status=sent (delivered to command:
/usr/bin/mlmmj-recieve -L /var/www/sites/dtc/stoppnazistene.no/lists/stoppnazistene.no_testzigo/)

postfix/qmgr[19244]: 31066FC018: removed

#1 lore raw

Hi,

Quoted 2 lines · Thomas Goirand

I have a problem with a setup. It seems mlmmj receives the mail, but it doesn't sends the confirmation email to postfix.

Have you looked at mlmmj's log messages in your syslog?

I have added a lot of logging since our last release. If you cannot find anything useful in your syslog, and are able to compile mlmmj yourself, try applying the attached patch. It should give you more information about why a given mail is discarded.

Morten

--
Morten K. Poulsen <[email protected]>
http://www.afdelingp.dk/

Index: mlmmj-process.c
===================================================================
RCS file: /home/mmj/MMJCVS/mlmmj/src/mlmmj-process.c,v retrieving revision 1.74
retrieving revision 1.75

mlmmj-process.c +3 -1
diff -u -r1.74 -r1.75
@@ -1,6 +1,6 @@
 /* Copyright (C) 2003, 2003, 2004 Mads Martin Joergensen <mmj at mmj.dk>
  *
- * $Id: mlmmj-process.c,v 1.74 2006/01/18 23:37:58 mortenp Exp $
+ * $Id: mlmmj-process.c,v 1.75 2006/01/27 00:33:03 mortenp Exp $
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to
@@ -578,6 +578,8 @@
 		listcontrol(&fromemails, listdir, whichto->emaillist[0],
 			    mlmmjsub, mlmmjunsub, mlmmjsend, mlmmjbounce,
 			    donemailname);
+		unlink(donemailname);
+
 		return EXIT_SUCCESS;
 	}
 

Index: listcontrol.c
===================================================================
RCS file: /home/mmj/MMJCVS/mlmmj/src/listcontrol.c,v retrieving revision 1.43
retrieving revision 1.44

listcontrol.c +227 -95

490 lines not on this page · raw message

#2 lore raw

Re: Mail sent to mlmmj-recieve but MLMMJ don't send subscribe

In reply to Thomas Goirand

Hej!

Quoted 14 lines · Thomas Goirand

Hello,

I have a problem with a setup. It seems mlmmj receives the mail, but it
doesn't sends the confirmation email to postfix. Does one of you know where and how I should fix it? Any place where I should look at?

What is strange is that it's an automated setup, so it should be the same setup as I usually use. I really don't understand...

Here is the postfix log:

connect from node0103.gplhost.net[66.251.193.20]

[...]

Quoted 7 lines

postfix/smtpd[16083]: disconnect from localhost[127.0.0.1]

amavis[19261]: (19261-04) Passed, <[email protected]> -> <[email protected]>,
Message-ID: <[email protected]>, Hits: -

Quoted 5 lines

postfix/smtp[16081]: 46AC5FC015:
to=<[email protected]>, orig_to=<[email protected]>, relay7.0.0.1[127.0.0.1], delay=2, status=sent (250 2.6.0 Ok, id261-04, from MTA: 250 Ok: queued as 31066FC018)

Did you change your command delimeter to a '-' (minus sign)? If not, this might be the problem and the address should read:
[email protected]

Ciao
Chris

Quoted 3 lines

postfix/qmgr[19244]: 46AC5FC015: removed

[...]

#3 lore raw

Re: Mail sent to mlmmj-recieve but MLMMJ don't send subscribe

In reply to Thomas Goirand
Quoted 7 lines · Christoph Wilke

Did you change your command delimeter to a '-' (minus sign)? If not, this might be the problem and the address should read:
[email protected]

Ciao
Chris

Yes, my control panel does that setup as default. This might change in the future, as I've noticed that using the '-' delimiter prevent from using "[email protected]". Anyway, this is NOT the problem.

I'll try to use the extensive logs from Martin next week, when I have finished the migration of my ns2 (which is giving me headaches).

Thomas

#4 lore raw
In reply to Thomas Goirand
Quoted 10 lines · Thomas Goirand
Quoted 3 lines

Did you change your command delimeter to a '-' (minus sign)? If not, this might be the problem and the address should read:
[email protected]

Yes, my control panel does that setup as default. This might change in the future, as I've noticed that using the '-' delimiter prevent from using "[email protected]". Anyway, this is NOT the problem.

I'll try to use the extensive logs from Martin next week, when I have finished the migration of my ns2 (which is giving me headaches).

Then be aware that if there's more than 1 recipient delimiter in the address, postfix cannot deliver it. I consider it a postfix bug, but Vietse thinks otherwise.

Just try and deliver to:

[email protected]

and

[email protected]

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.
#5 lore raw

Re: Mail sent to mlmmj-recieve but MLMMJ don't send subscribeconfirmation

In reply to Thomas Goirand
Quoted 8 lines · Thomas Goirand
Quoted 3 lines · Christoph Wilke

Did you change your command delimeter to a '-' (minus sign)? If not, this might be the problem and the address should read:
[email protected]

Yes, my control panel does that setup as default. This might change in the future, as I've noticed that using the '-' delimiter prevent from using "[email protected]". Anyway, this is NOT the problem.

How do you know that it is not the problem?

Did you remember to set the "delimiter" option in mlmmj?

Morten

Signature · 2 lines
Morten K. Poulsen <[email protected]>
http://www.afdelingp.dk/
#6 lore raw

Re: Mail sent to mlmmj-recieve but MLMMJ don't send subscribeconfirmation

In reply to Thomas Goirand
Quoted 9 lines · Morten K. Poulsen
Quoted 7 lines · Thomas Goirand
Quoted 3 lines · Christoph Wilke

Did you change your command delimeter to a '-' (minus sign)? If not, this might be the problem and the address should read:
[email protected]

Yes, my control panel does that setup as default. This might change in the future, as I've noticed that using the '-' delimiter prevent from using "[email protected]". Anyway, this is NOT the problem.

Quoted 5 lines

How do you know that it is not the problem?

Did you remember to set the "delimiter" option in mlmmj?

Morten

As I said, we have MLMMJ being setup for all our control panel account, I have arround 50 VPS setup with Postfix + MLMMJ and there was no problem on them (at least nobody complained).

This VPS server is setup with the latest CVS version of our control panel, and that might be the reason (maybe something broken in our CVS?).

Anyway, as I get less busy with super-important-urgent things this week, I'll be able to check. I'm almost sure it's our fault, I just needed to check, and there is a big chance that this patch doing extensive logging will help me to find out.

Thomas

#7 lore raw

Re: Mail sent to mlmmj-recieve but MLMMJ don't send subscribeconfirmation

In reply to Thomas Goirand
Quoted 22 lines · Thomas Goirand
Quoted 5 lines · Morten K. Poulsen
Quoted 4 lines · Thomas Goirand
Quoted 3 lines · Christoph Wilke

Did you change your command delimeter to a '-' (minus sign)? If not, this might be the problem and the address should read:
[email protected]

Quoted 8 lines
Quoted 3 lines

Yes, my control panel does that setup as default. This might change in the future, as I've noticed that using the '-' delimiter prevent from using "[email protected]". Anyway, this is NOT the problem.

How do you know that it is not the problem?

Did you remember to set the "delimiter" option in mlmmj?

Morten

As I said, we have MLMMJ being setup for all our control panel account, I have arround 50 VPS setup with Postfix + MLMMJ and there was no problem on them (at least nobody complained).

This VPS server is setup with the latest CVS version of our control panel, and that might be the reason (maybe something broken in our CVS?).

Quoted 6 lines

Anyway, as I get less busy with super-important-urgent things this week, I'll be able to check. I'm almost sure it's our fault, I just needed to check, and there is a big chance that this patch doing extensive logging will help me to find out.

Thomas

I've just tried using the source package from unstable debian, plus the patch you gave me, and MLMMJ doesn't produce anything in the syslog. I really don't know where to look at, any idea???

Thomas

#8 lore raw

Re: Mail sent to mlmmj-recieve but MLMMJ don't send subscribeconfirmation

In reply to Thomas Goirand
Quoted 4 lines · Thomas Goirand

I've just tried using the source package from unstable debian, plus the patch you gave me, and MLMMJ doesn't produce anything in the syslog. I really don't know where to look at, any idea???

Please note that the debian package includes a number of patches which may or may not cause other patches to be rejected. I haven't actually checked if this is the case here, I just I would provide a heads-up.

Maybe you would be better off with the pristine source package for testing patches?

Signature · 3 lines
Søren O.

"Oh, bother" said the Borg, "we've assimilated Pooh".
#9 lore raw

Re: Mail sent to mlmmj-recieve but MLMMJ don't send subscribeconfirmation

In reply to Thomas Goirand
Quoted 11 lines · Søren Boll Overgaard
Quoted 3 lines · Thomas Goirand

I've just tried using the source package from unstable debian, plus the patch you gave me, and MLMMJ doesn't produce anything in the syslog. I really don't know where to look at, any idea???

Please note that the debian package includes a number of patches which may or may not cause other patches to be rejected. I haven't actually checked if this is the case here, I just I would provide a heads-up.

Maybe you would be better off with the pristine source package for testing patches?

I just had a look, the patches in Debian are really minor, the only thing they patch are:

1/ a display message (the one saying that binaries should be called with full path)
2/ mlmmj-make-ml.sh
3/ mlmmj php app (which I don't use)

None of them seems to hurt, and the patch that gave Morten was applied with no error (it was not rejected).

Thomas