Majordomo does not deliver

mattijs

Verified User
Joined
Nov 1, 2004
Messages
26
Hello,

I'm new to using the mailing list feature.
Here's what I did:

Created Mailinglist called [email protected]
Added three subscribers, one of them being myself.

After this I tried to send email to [email protected]

Only 1 email gets delivered and that is to my own email adress.

I am doing something wrong here?
 
No response?

Is this Forum in use?

Nobody has an answer to my question regarding the use of majordomo?
 
What does your exim log file show. It may have attempted to deliver the other two, but for some reason couldn't deliver it. I use Majordomo everyday and it has no problems at all delivering to the lists I manage.
 
Mattijs, what Jon means is that you'll need root access to determine the problem from the exim log.

I agree that the exim log is where you have to start looking for the problem.

Let us know what you find.

Jeff
 
log

Thanks for replying guys.
I have root access.
Where do I find the exim log?
is it the same as /etc/var/maillog?

Should I try to send to majordomo list again,
and after that print that portion of the log file here in the thread?
 
/var/log/exim/mainlog

Try running:

# tail -f /var/log/exim/mainlog

in a shell, while sending to majordomo. Do you see anything out of the ordinary?

Jeff
 
maillog

Thanks Jef,

I tried that. I made mailinglist: [email protected]
I only get the sent mail once, I receive it for [email protected].

Could this be because I have a catch all for this domain?
All other members on the list do not receive the test mail.

below is the output of maillog :

005-06-23 12:05:10 1DlOa6-000209-0h Completed
2005-06-23 12:05:11 1DlOa6-0001zu-EC <= [email protected] H=sub-163ip95.carats.net (server) [216.152.163.95] P=esmtpa A=login:artimedia S=1693 id=001d01c577db$13f91000$0100a8c0@server T="test" from <[email protected]> for [email protected]
2005-06-23 12:05:11 1DlOa7-00020O-OS <= [email protected] H=localhost [127.0.0.1] P=esmtp S=2103 id=001d01c577db$13f91000$0100a8c0@server T="test" from <[email protected]> for [email protected]
2005-06-23 12:05:11 1DlOa6-0001zu-EC => [email protected] F=<[email protected]> R=amavis T=amavis S=1759 H=localhost [127.0.0.1] C="250 2.6.0 Ok, id=07600-01, from MTA([127.0.0.1]:10025): 250 OK id=1DlOa7-00020O-OS"
2005-06-23 12:05:11 1DlOa6-0001zu-EC Completed
2005-06-23 12:05:13 1DlOa7-00020R-RD <= [email protected] U=mail P=spam-scanned S=2464 id=001d01c577db$13f91000$0100a8c0@server T="test" from <[email protected]> for [email protected]
2005-06-23 12:05:13 1DlOa9-00020b-6W <= [email protected] U=majordomo P=local S=2663 id=001d01c577db$13f91000$0100a8c0@server T="test" from <[email protected]> for [email protected]
2005-06-23 12:05:13 1DlOa7-00020R-RD => |/etc/virtual/majordomo/wrapper resend -C /etc/virtual/artimedia.nl/majordomo/majordomo.cf -l help -h artimedia.nl -f owner-help [email protected] <[email protected]> F=<[email protected]> R=majordomo_aliases T=majordomo_pipe S=2516
2005-06-23 12:05:13 1DlOa7-00020R-RD Completed
2005-06-23 12:05:13 1DlOa7-00020O-OS => help <[email protected]> F=<[email protected]> R=spamcheck_director T=spamcheck S=2386
2005-06-23 12:05:13 1DlOa7-00020O-OS Completed
2005-06-23 12:05:13 1DlOa9-00020f-Dc <= [email protected] H=localhost [127.0.0.1] P=esmtp S=2867 id=001d01c577db$13f91000$0100a8c0@server T="test" from <[email protected]> for [email protected]
2005-06-23 12:05:13 1DlOa9-00020b-6W => [email protected] F=<[email protected]> R=amavis T=amavis S=2751 H=localhost [127.0.0.1] C="250 2.6.0 Ok, id=04980-10, from MTA([127.0.0.1]:10025): 250 OK id=1DlOa9-00020f-Dc"
2005-06-23 12:05:13 1DlOa9-00020b-6W Completed
2005-06-23 12:05:14 1DlOa9-00020i-GT <= [email protected] U=mail P=spam-scanned S=3232 id=001d01c577db$13f91000$0100a8c0@server T="test" from <[email protected]> for [email protected]
2005-06-23 12:05:14 1DlOa9-00020i-GT => artimedia <[email protected]> F=<[email protected]> R=localuser T=local_delivery S=3408
2005-06-23 12:05:14 1DlOa9-00020i-GT Completed
 
I don't see any log entries showing the mailing list actually mailing the message. The [email protected] is an alias for majordomo to resend the messages. It looks like you have a localuser with that name. The localuser may override the majordomo alias depending on the order of rules in exim.conf. If you acually have a localuser named help-out, then I would consider renaming it, since that will cause majordomo to fail.
 
local user

No, I do not have a user named help-out,
I only have a catch all account on this domain.
 
I think the problem you might be having is something I reported a few months ago, dealing with majordomo and spam checking. The majordomo_private rule is specifically looking for a received_protocol of local, and once a message has gone through the spamcheck_director it is now changed to spam-scanned. Try changing your majordomo_private in /etc/exim.conf to something similar to this:
Code:
majordomo_private:
  driver = redirect
  allow_defer
  allow_fail
  #condition = "${if eq {$received_protocol} {local} {true} {false} }"
  condition = "${if or { {eq {$received_protocol} {local}} \
                         {eq {$received_protocol} {spam-scanned}} } {true} {false} }"
  data = ${if exists{/etc/virtual/${domain}/majordomo/private.aliases}{${lookup{$local_part}lsearch{/etc/virtual/${domain}/majordomo/private.aliases}}}}
  domains = lsearch;/etc/virtual/domainowners
  file_transport = address_file
  group = daemon
  pipe_transport = majordomo_pipe
  retry_use_local_part
  user = majordomo
I added the extra check for spam-scanned. Since it would fail the current condition it would end up in your catchall, so it does look like this is your problem.
 
error

Thanks for your suggestion Tom,
Offcourse I tried it rightaway.
Exim gives me an error now though:

Starting exim: 2005-06-25 12:11:28 Exim configuration error in line 681 of /etc/exim.conf:
option "exists" unknown
 
It works on my version of exim, 4.51 on CentOS 4.1. There must be some kind of typo, like a missed curly brace or something. The only line you should have had to chane was the condition line, comment out the original and replace it with the one I have.
 
Mattijs,

Please let us know if you get this working; if so I'd like to add it exim.conf.

Thanks.

Jeff
 
Tom,

We're getting a problem with majordomo refusing to accept posts it says are too long even though we've changed the default length.

Have you? Has anyone else?

Or is it just us?

Jeff
 
I was getting a problem at one time with a header that was too long, perhaps that is what you are hitting too. There is a setting for header length in the majordomo.cf file in the /etc/virtual/${domain}/majordomo directory. That was the only one I have hit that didn't acuually exceed my max value.
 
It works!

Apologies Tom,
I obviously did something wrong pasting your code in the exim conf.
I do not receive the previously mentioned error anymore.

But more still the email does not get deliverd to all 5 subscribers to the majordomo list.


regards,

Mattijs
 
Re: It works!

mattijs said:
Apologies Tom,
I obviously did something wrong pasting your code in the exim conf.
I do not receive the previously mentioned error anymore.

But more still the email does not get deliverd to all 5 subscribers to the majordomo list.


regards,

Mattijs
Could you post what the exim mainlog does now, assuming those changes are still intact.
 
log

2005-06-27 13:08:30 1DmrTZ-0006JG-Pg <= [email protected] H=sub-163ip81.carats.net (server) [216.152.163.81] P=esmtpa A=login:artimedia S=1652 id=001b01c57b08$9b362960$0100a8c0@server T="test" from <[email protected]> for [email protected]
2005-06-27 13:08:31 1DmrTb-0006JN-0w <= [email protected] H=localhost [127.0.0.1] P=esmtp S=2062 id=001b01c57b08$9b362960$0100a8c0@server T="test" from <[email protected]> for [email protected]
2005-06-27 13:08:31 1DmrTZ-0006JG-Pg => [email protected] F=<[email protected]> R=amavis T=amavis S=1718 H=localhost [127.0.0.1] C="250 2.6.0 Ok, id=23630-02, from MTA([127.0.0.1]:10025): 250 OK id=1DmrTb-0006JN-0w"
2005-06-27 13:08:31 1DmrTZ-0006JG-Pg Completed
2005-06-27 13:08:32 1DmrTb-0006JQ-3e <= [email protected] U=mail P=spam-scanned S=2439 id=001b01c57b08$9b362960$0100a8c0@server T="test" from <[email protected]> for [email protected]
2005-06-27 13:08:32 1DmrTc-0006JZ-EP <= [email protected] U=majordomo P=local S=2638 id=001b01c57b08$9b362960$0100a8c0@server T="test" from <[email protected]> for [email protected]
2005-06-27 13:08:32 1DmrTb-0006JQ-3e => |/etc/virtual/majordomo/wrapper resend -C /etc/virtual/artimedia.nl/majordomo/majordomo.cf -l help -h artimedia.nl -f owner-help [email protected] <[email protected]> F=<[email protected]> R=majordomo_aliases T=majordomo_pipe S=2491
2005-06-27 13:08:32 1DmrTb-0006JQ-3e Completed
2005-06-27 13:08:32 1DmrTb-0006JN-0w => help <[email protected]> F=<[email protected]> R=spamcheck_director T=spamcheck S=2361
2005-06-27 13:08:32 1DmrTb-0006JN-0w Completed
2005-06-27 13:08:32 1DmrTc-0006Jd-L8 <= [email protected] H=localhost [127.0.0.1] P=esmtp S=2826 id=001b01c57b08$9b362960$0100a8c0@server T="test" from <[email protected]> for [email protected]
2005-06-27 13:08:32 1DmrTc-0006JZ-EP => [email protected] F=<[email protected]> R=amavis T=amavis S=2726 H=localhost [127.0.0.1] C="250 2.6.0 Ok, id=23752-01, from MTA([127.0.0.1]:10025): 250 OK id=1DmrTc-0006Jd-L8"
2005-06-27 13:08:32 1DmrTc-0006JZ-EP Completed
2005-06-27 13:08:32 1DmrTc-0006Jg-Nt <= [email protected] U=mail P=spam-scanned S=3207 id=001b01c57b08$9b362960$0100a8c0@server T="test" from <[email protected]> for [email protected]
2005-06-27 13:08:32 1DmrTc-0006Jg-Nt => artimedia <[email protected]> F=<[email protected]> R=localuser T=local_delivery S=3383
2005-06-27 13:08:33 1DmrTc-0006Jg-Nt => claudia <[email protected]> F=<[email protected]> R=virtual_user T=virtual_localdelivery S=3383
2005-06-27 13:08:33 1DmrTc-0006Jg-Nt => |/etc/virtual/majordomo/wrapper digest -r -C -c /etc/virtual/artimedia.nl/majordomo/majordomo.cf -l help-digest help-digest-outgoing <[email protected]> F=<[email protected]> R=majordomo_private T=majordomo_pipe S=3262
2005-06-27 13:08:33 1DmrTc-0006Jg-Nt Completed
2005-06-27 13:08:33 1DmrTc-0006Jd-L8 => help-out <[email protected]> F=<[email protected]> R=spamcheck_director T=spamcheck S=3132
2005-06-27 13:08:33 1DmrTc-0006Jd-L8 Completed
 
Back
Top