Hello,
>However, it looks like an internal problem of /bin/sh. Try
>running
>
> /bin/sh -x ./install.sh /home/slist
>
>This lists every command before it is executed (with variables
>expanded). Maybe it gives some more insight.
thanks for your help, now I ended up with
...
+ 4<& 0
+ ../src/setid root
+ 0< install.sh2
/bin/sh[11]: 4: 0403-007 Generated or received a file descriptor
number that is not valid.
+ exit 1
...
But why not use another shell ?! I tried the same with ksh - no
succes, after that I used bash and there were no problems!
I'm on an AIX 4.3.2, on Solaris 2.7 x86 it worked also with /bin/sh,
maybe it's a problem with the AIX sh ?! So I will force the use of
bash ...
In bash the output starts with:
...
+ exec
+ ../src/setid root
...
instead of the +4<& 0.
Regards, Carsten
==================================================
==
== Dipl.-Ing. Carsten Karkola
==
== TU Dresden - Fak.Bauingenieurwesen - FRZ
==
== Tel.: +49 351 463 3659
== Fax: +49 351 463 7766
== e-mail: carsten.karkola(a)mailbox.tu-dresden.de
==
==================================================
Hello,
I tried to use SmartList with Mhonarc, I've found an receipe and
wrote the followong lines in the SmartList users .procmailrc file:
:0: mmadmin.lock
* ^TOmmadmin(a)brzrs2.bau.tu-dresden.de
| /usr/local/bin/mhonarc -add -umask 022 \
-outdir /daten/ftp/www/support/mailarchive/mmadmin \
/home/slist/mmadmin/archive/latest
slist is the smartlist user
mmadmin is the mailinglist
But there was no effect. Running the above Mhonarc ( /usr/local/...
latest ) command in the shell works fine.
Or should I better put these lines in one of the rc.local.sXX files. Or
what is the right :0 line ?
Thanks for any help.
Carsten
==================================================
==
== Dipl.-Ing. Carsten Karkola
==
== TU Dresden - Fak.Bauingenieurwesen - FRZ
==
== Tel.: +49 351 463 3659
== Fax: +49 351 463 7766
== e-mail: carsten.karkola(a)mailbox.tu-dresden.de
==
==================================================
Hi,... just checked the faq again and cant see the links
http://www.mindwell.com/smartlist/contrib/reject_html.txt
nor http://www.mindwell.com/smartlist/contrib/reject_garbage.txt
However I had the text of one of these pages I saved before, but I am not
sure what I *do* with this...
the first part goes in rc.local.s00..... as is?.....do I need to adjust
anything?
and the second part (rejectmsg script)...is this a Perl script?.... how
should I set it up?
-DK
From: rob(a)alegria.com (Rob Lingelbach)
Date: Tue, 28 Apr 1998 11:20:20 -0700
Organization: Altruistic Intentions, Hollywood, CA
X-Mailer: Mail User's Shell (7.2.6 beta(2) 2/29/96)
To: Dave Hillman <hillman(a)enteract.com>, SmartList(a)informatik.rwth-aachen.de
Subject: Re: Disallow 'Content-type: text/html'
On Apr 28, 12:23, Dave Hillman wrote:
} Subject: Disallow 'Content-type: text/html'
>
> *Without* restarting the debate regarding the advisability or otherwise
> of restricting list submissions to plain text, can someone mail me the
> appropriate magic to either send submissions containing 'Content-type:
> text/html' to /dev/null or to return them to sender with an appropriate
> message.
I'll append here my rc.local.s00, followed by my 'rejectmsg' script,
followed by the 'quotereject' script. These are all derivative of
help given me by others on this group in the past, for which I am
thankful. My filtration is fairly restrictive, but that's the way I
like it.
#$Id: rc.local.s00,v 1.2 1994/09/20 19:33:28 berg Exp $
#
# This file contains several examples of how you can customise SmartList
# through the RC_LOCAL_SUBMIT_00 hook.
#
# to kill messages that ask for a "Return Receipt". Lotus Notes
# will reply dutifully but in a misconfigured way, to the addresses
# in the "To:" header
:0 Hhw
* ^Disposition-Notification-To:
{
:0 c
| formail -i "Subject: ***asking for Return
Receipt"|$SENDMAIL -oi $maintainer
:0
| rejectmsg -receipt
}
# from a suggestion by Tim Pierce <twpierce(a)rootsweb.com>
# below was "* ^begin [0-7][0-7][0-7] .*"
:0 hBHw
* ^begin [0-7][0-7][0-7] [a-zA-Z0-9_.-]+
{
:0 c
| formail -i "Subject: ***uuencode or
winmail.dat***warning"|$SENDMAIL -oi $maintainer
:0
| rejectmsg -attach
}
:0 hBHw
* ^Content-Type:[ ]+.*(multipart/|/enriched|coded)
{
:0 c
| formail -i "Subect: ***content REJECT engaged by rob********"|
$SENDMAIL -oi $maintainer
:0
| rejectmsg -attach
}
:0 hBHw
* ^Content-Type: application.*
{
:0 c
| formail -i "Subect: ***content REJECT engaged by rob*********"|
$SENDMAIL -oi $maintainer
:0
| rejectmsg -attach
}
:0 hBHw
* ^Content-Disposition: attachment.*
{
:0 c
| formail -i "Subect: ***content REJECT engaged by rob*********"|
$SENDMAIL -oi $maintainer
:0
| rejectmsg -attach
}
:0 hBHw
* ^Content-Disposition: inline; filename=.*
{
:0 c
| formail -i "Subect: ***content REJECT engaged by rob********"|
$SENDMAIL -oi $maintainer
:0
| rejectmsg -attach
}
# mine (rob(a)alegria.com)
:0 hBHw
* 20^1 ^>
* -10^1 ^[^>]
{
:0c
| formail -i "Subject: ***quote REJECT engaged"| $SENDMAIL -oi
$maintainer
:0
| quotereject -attach
}
----cut here----end of rc.local.s00
----cut here----start rejectmsg script
#! /bin/ksh
:
test=test # /bin/test
echo=echo # /bin/echo
cat=cat # /bin/cat
sed=sed # /bin/sed
grep=grep # /bin/grep
date=date # /bin/date
formail=formail # /usr/local/bin/formail
multigram=multigram # ../.bin/multigram
$test -z "$listaddr" &&
$echo "Don't start this script directly, it is used in rc.local.s00" &&
exit 64
tmprequest=tmp.request
tmpfrom=tmp.from
function=$1
$cat > $tmprequest
sender=`$formail -rtzxTo: < $tmprequest`
case $function in
-attach)
($formail -i"From: $listreq" -rtA"X-Loop: $listaddr" < $tmprequest ;\
$echo "Your post to the mailinglist appears to contain an attachment
or"
$echo "enriched text..."
$echo "Such posts are not accepted on this mailinglist."
$echo "please resubmit your post as a plain text document, and"
$echo "contact rob(a)alegria.com if you have any questions.."
$echo " "
$echo "[message follows]"
$echo " "; cat $tmprequest)\
| $SENDMAIL $sendmailOPT $sender
shift ;;
esac
case $function in
-receipt)
($formail -i"From: $listreq" -rtA"X-Loop: $listaddr" < $tmprequest ;\
$echo "Your post to the mailinglist appears to contain a request"
$echo "for a Return Receipt."
$echo "Such posts are not allowed on the TIG due to Lotus Notes'"
$echo "tendency to send receipts to all addresses found in the 'To:'"
$echo "header, which comes dangerously close to a loop condition."
$echo " "
$echo "[message follows]"
$echo " "; cat $tmprequest)\
| $SENDMAIL $sendmailOPT $sender
shift ;;
esac
-----cut here---end rejectmsg script
-----cut here---start quotereject script
#! /bin/ksh
:
test=test # /bin/test
echo=echo # /bin/echo
cat=cat # /bin/cat
sed=sed # /bin/sed
grep=grep # /bin/grep
date=date # /bin/date
formail=formail # /usr/local/bin/formail
multigram=multigram # ../.bin/multigram
$test -z "$listaddr" &&
$echo "Don't start this script directly, it is used in rc.local.s00" &&
exit 64
tmprequest=tmp.request
tmpfrom=tmp.from
function=$1
$cat > $tmprequest
sender=`$formail -rtzxTo: < $tmprequest`
case $function in
-attach)
($formail -i"From: $listreq" -rtA"X-Loop: $listaddr" < $tmprequest ;\
$echo "Your mail to the mailinglist has been intercepted and"
$echo "is being returned to you because it it appears to the list
server"
$echo "to contain an excessive amount of quoted material."
$echo "Brief quoting is fine, but please quote only for context."
$echo "Do not quote other messages in their entirety, or quote"
$echo "message headers or signature files. "
$echo " "
$echo "...excessive quoting is a waste of resources."
$echo "If you feel that you've edited your message adequately but"
$echo "it was still returned to you, you can appeal to the
administator,"
$echo "rob(a)alegria.com"
$echo " "
$echo "[message follows]"
$echo " "; cat $tmprequest)\
| $SENDMAIL $sendmailOPT $sender
shift ;;
esac
-----cut here-----end quotereject script
--
Rob Lingelbach | 2660 Hollyridge Dr., Los Angeles, CA 90068
rob(a)alegria.com |"I care not much for a man's religion whose dog or
rob(a)info.com | cat is not the better for it." --Abraham Lincoln
rob(a)tele.com KB6CUN http://www.alegria.com
This may be an old topic, since I remember another list member telling me
something in private about this a while back. It might even be a FAQ, but I
didn't see it the 2 I checked online.
Does anyone find it odd/hypocritical that the SmartList list is being run and
processed by Mailman? Look in the headers of this or any other message. You'll
see these lines, among others:
List-subscribe: <http://MailMan.RWTH-Aachen.DE/mailman/listinfo/smartlist>
X-mailman-version: 2.0.5
Seems a bit strange...
I've been hearing good things about Mailman for a while, and had it
recommended by some friends. This, however, seems to be the highest praise
going. So what's the deal? Should I consider migrating all my lists over to
Mailman and stop using SmartList? Is there some reason (besides inertia) to
keep using it?
Curious,
--
Pat
___________________Think For Yourself____________________
Patrick G. Salsbury - http://reality.sculptors.com/~salsbury/
Learn about stereolithography:
http://reality.sculptors.com/stereolithography.html
---------------------------------------------------------
We ARE as gods and might as well get good at it.
-- Stewart Brand, Whole Earth Catalog
hi all,
I am using SmartList v3.14 to run a small list. Today I was
forced to disable the auto-remove features because procbounce
insisted in identifying one of the list members as responsible
of all bounces related to messages he had submitted to the list
instead of the real bouncers.
He also claims to get back lots of autoreplies (i.e. vacation
messages and the like) and error messages, though it is my
understanding that such messages should go back to the list-request,
and forwarded exclusively to the list master...
I've compared the header of some messages submitted by him to the
list with those by other users, and, as expected, they are alike.
For the case it might help, this person uses PINE as MUA, other
people from his lab using other MUAs do not get unsubscribed,
neither complain about getting autoreplies or error messages.
Any hint will be appreciated.
Miquel
--
Miquel E Cabanas ------------------------------------------------------
SeRMN, Universitat Autonoma de Barcelona (Miquel.Cabanas(a)uab.es)
------------------------------------------o-oo--ooo---ooo--oo-o--------
Hi,
I've been using smarlist through my ISP and I'm happy with it, but
now my ISP has discontinued it and forces me to another system, which
is not free of charge and intended for high volume, which is not my
case. I wonder if I could install and manage smartlist on my shared
account, without my ISP cooperation (which I would not get), but I'm
still very new to the unix world.
My host is running FreeBSD FreeBSD 4.1.1, qmail is the MTA here
(sendmail is also around, I think) and my shell is /bin/csh. First I
tried to compile my own smartlist, but the make hangs on a test
without any feedback and I have to kill the process. As I could not
find what was wrong, I copied the old smartlist files which are still
on the server to a subdir on my account. Then I ran createlist and
modified .procmailrc accordingly to have mail piped to flist. I do
not know what else should I do, but this does not work (maybe
hardcoded paths? maybe root permissions?...)
I tried to pipe a mailbox file via command line to flist just to see
what happens and the output is:
% cat /usr/home/myacc/mbox | ./flist test-request
flist: Can't find ".etc" in ""
I'm lost, I would thank any help to have smarlist running on my account.
TIA,
Llorenc
Hello,
I've looked in the archives, but I couldn't find some tips for my
problem:
I've unpacked procmail 3.15 and smartlist 3.15 in the same
directory, I've installed procmail via make install without problems.
I created a user slist with group slist, now I tried to run install.sh in
the SmartList directory with ./install.sh /home/slist and get the
following error message:
/bin/sh[11]: 4: 0403-007 Generated or received a file descriptor
number that is not valid.
What have I made wrong ?
Thanks, Carsten
==================================================
==
== Dipl.-Ing. Carsten Karkola
==
== TU Dresden - Fak.Bauingenieurwesen - FRZ
==
== Tel.: +49 351 463 3659
== Fax: +49 351 463 7766
== e-mail: carsten.karkola(a)mailbox.tu-dresden.de
==
==================================================
Hello,
Is there a way to let SmartList address and send each message
individually?
I want the subscriber to see her own e-mail address in the "To:"
header, so they know which address to unsubscribe.
I know this is less efficient, but my list is still relatively small.
Regards,
René Pijlman