Majordomo Error (DA Template ?)

tribal-dolphin

Verified User
Joined
Mar 12, 2004
Messages
39
Location
Rives, France
Hello,

I've created a miling list with majorodomo named swl.
The list swl had no problem but the swl-issue don't be send.
I've this error :
Code:
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  [email][email protected][/email]
    Unrouteable address
Majorodomo send mail to [email protected] instead of [email protected]
(s1.tribal-dolphin.net is my server hostname)

My list.aliases file :
Code:
majordomo:	"|/etc/virtual/majordomo/wrapper majordomo -C /etc/virtual/ecout-amat.net/majordomo/majordomo.cf"
majordomo-owner:[email protected]
owner-majordomo:[email protected]
owner-swl:	[email][email protected][/email]
owner-swl-digest:	[email][email protected][/email]
owner-swl-digest-outgoing:	[email][email protected][/email]
owner-swl-out:	[email][email protected][/email]
swl:	"|/etc/virtual/majordomo/wrapper resend -C /etc/virtual/ecout-amat.net/majordomo/majordomo.cf -l swl -h ecout-amat.net -f owner-swl [email][email protected][/email]"
swl-approval:	[email][email protected][/email]
swl-digest:	[email][email protected][/email]
swl-digest-approval:	[email][email protected][/email]
swl-digest-owner:	[email][email protected][/email]
swl-digest-request:	"|/etc/virtual/majordomo/wrapper majordomo -C /etc/virtual/ecout-amat.net/majordomo/majordomo.cf -l swl-digest"
swl-owner:	[email][email protected][/email]
swl-request:	"|/etc/virtual/majordomo/wrapper majordomo -C /etc/virtual/ecout-amat.net/majordomo/majordomo.cf -l swl"

my private.aliases file :
Code:
swl-digest-outgoing:	:include:/etc/virtual/ecout-amat.net/majordomo/lists/swl-digest
swl-out:	"|/etc/virtual/majordomo/wrapper digest -r -C -c /etc/virtual/ecout-amat.net/majordomo/majordomo.cf -l swl-digest swl-digest-outgoing",:include:/etc/virtual/ecout-amat.net/majordomo/lists/swl

Thanks for your help
 
Take a look at /etc/virtual/majordomo/digest and look about line 400. I think I had to make the following change:

Code:
diff digest.orig digest
400c400
<               $V{'REALLY-TO'} = $ARGV[0];
---
>               $V{'REALLY-TO'} = $ARGV[0]."@".${whereami};
That is the only thing I can remember doing to fix digests on my system
 
Hello.

thanks for your response.
I've this on line 400
Code:
$V{'REALLY-TO'} = $ARGV[0].${whereami};
I've make the change and now, I wait tonight for see the result.

Thanks.
 
tribal-dolphin said:
Hello.

thanks for your response.
I've this on line 400
Code:
$V{'REALLY-TO'} = $ARGV[0].${whereami};
I've make the change and now, I wait tonight for see the result.

Thanks.
Just for claification, this is what your line 400 should be. If it already is, then there is something else wrong.
 
I set that line to the following and it seems to have fixed the problem:

$V{'REALLY-TO'} = $ARGV[0].${whereami};

Direct Admin should add this as a bug fix.

-dougl
 
By chance are you using freebsd 4.x?
The way our packge system works is we have a network file system for most of these scripts. The majordomo.sh on 4.x wasn't symbolically linked to the main majordomo.sh that was being updated with fixes... but I happened to have noticed that on march 7th... so it should be fixed for the next release.

The main majordomo.sh already has the following code:
Code:
#fix REALLY-TO value in digests file
STR="/usr/bin/perl -pi -e 's/\$ARGV\[0\];/\$ARGV\[0\].\${whereami};/' ${SOURCEPATH}/digest";
eval $STR;
John
 
No, I'm running CentOS (Linux). Here's the line from my /usr/local/directadmin/scripts/majordomo.sh file on line 36:

Code:
#fix REALLY-TO value in digests file
/usr/bin/perl -pi -e 's/\$ARGV\[0\];/\$ARGV\[0\].\${whereami};/' ${SOURCEPATH}/digest

-dougl
 
Last edited:
*scratches head*
ok.. that should be doing it. Maybe test it out again to see if it's not swapping it for you.
Code:
cd /usr/local/directadmin/scripts/packages
rm -rf majordomo-1.94.5
tar xvzf majordomo-1.94.5.tar.gz
cd ..
./majordomo.sh
then check /usr/local/directadmin/scripts/packages/majordomo-1.94.5/digest to see if it's set correctly there (the file that is being modified before install), and /etc/virtual/majordomo/digest, the file after being copied.

John
 
Hmm, it looks fixed now. I did all the steps you requested and here's line 400 of /usr/local/directadmin/scripts/packages/majordomo-1.94.5/digest now:

Code:
$V{'REALLY-TO'} = $ARGV[0].${whereami};

Looks good. Here's line 400 of /etc/virtual/majordomo/digest:

Code:
$V{'REALLY-TO'} = $ARGV[0].${whereami};

Again, good. Not sure why that was broken before.

Thanks,
-dougl
 
Well, I thought it was fixed but I got a bounced message this morning to this form of email address:

listname-digest-outgoingdomainname.com (at) server.mydomain.com

Obviously it should have been:

[email protected]

I'm going to try setting line 400 in the "digest" file to this:

Code:
$V{'REALLY-TO'} = $ARGV[0]."@".${whereami};

-dougl
 
I just realized that I've been experiencing this problem. I'm running CentOS 5 and the latest version of DA. Have there been any updates? I know this thread is old but any chance you remember what the final solution was?

My line 400 is:

$V{'REALLY-TO'} = $ARGV[0].${whereami};

This isn't a major problem since I don't have any digest subscribers but I would still like to get it fixed.

Thanks,
 
Hello,

Looking way back at toml's earlier posts, it says:
Code:
$V{'REALLY-TO'} = $ARGV[0]."@".${whereami};
and then lots of mention of:
Code:
$V{'REALLY-TO'} = $ARGV[0].${whereami};
Note the ."@". bit in between? Try adding that ."@". in the middle to see if it sorts it out for you.

John
 
Back
Top