On Wed, 26 Aug 2009, Santiago Vila wrote:
> Date: Wed, 26 Aug 2009 01:29:55 +0200 (CEST)
> From: Santiago Vila <sanvila(a)unex.es>
> To: Zhiliang Hu <hu(a)animalgenome.org>
> Cc: smartlist(a)lists.RWTH-Aachen.DE
> Subject: Re: flist:_Permission_denied
>
> On Tue, 25 Aug 2009, Zhiliang Hu wrote:
>
>> Previously I got the Smartlist to work on this RH linux box.
>>
>> Today it quit working, nothing recorded in list log but this error in
>> /var/log/maillog:
>>
>> Aug 25 17:21:30 neo qmail: 1251238890.973347 delivery 128: deferral:
>> /bin/sh:_/var/list/.bin/flist:_Permission_denied/
>>
>> The only thing I did during this time was to add 'r' permission for the web
>> server to one of the list dir, but wonder why mail to any other list address
>> and -request addresses all got this "permission" problem. I looked at
>> file/folder permissions and don't see anything odd. e.g.:
>> drwxr-sr-x 2 slist slist 4096 Aug 24 10:16 ~list/.bin
>> -rwxr-xr-x 5 slist slist 25K Jan 18 2007 ~list/.bin/flist
>> drwxr-sr-x 3 slist slist 4096 Aug 24 13:35 ~list/mylist
>> etc.
>>
>> Any hint what could be wrong?
>
> In my system:
>
> # ls -l /var/list/.bin/flist
> -rwsr-xr-x 5 root list 25432 ene 18 2007 /var/list/.bin/flist
>
> Those are also the permissions of the executable inside the .deb.
> Either those permissions were lost during the conversion to .rpm,
> or maybe you changed them after installing the package.
I didn't change it. Now I chmod my flist to be:
-rwsr-xr-x 5 list list 25432 Jan 18 2007 /var/list/.bin/flist
and I still get the same "deferral:
/bin/sh:_/var/list/.bin/flist:_Permission_denied/" error.
Zhiliang
Previously I got the Smartlist to work on this RH linux box.
Today it quit working, nothing recorded in list log but this error in
/var/log/maillog:
Aug 25 17:21:30 neo qmail: 1251238890.973347 delivery 128: deferral:
/bin/sh:_/var/list/.bin/flist:_Permission_denied/
The only thing I did during this time was to add 'r' permission for the
web server to one of the list dir, but wonder why mail to any other list
address and -request addresses all got this "permission" problem. I
looked at file/folder permissions and don't see anything odd. e.g.:
drwxr-sr-x 2 slist slist 4096 Aug 24 10:16 ~list/.bin
-rwxr-xr-x 5 slist slist 25K Jan 18 2007 ~list/.bin/flist
drwxr-sr-x 3 slist slist 4096 Aug 24 13:35 ~list/mylist
etc.
Any hint what could be wrong?
Zhiliang
Thank you - I found it... Now the Smartlist is happily working!
Many thanks also to others who responded.
Zhiliang
On Mon, 24 Aug 2009, Santiago Vila wrote:
> Date: Mon, 24 Aug 2009 20:31:24 +0200 (CEST)
> From: Santiago Vila <sanvila(a)unex.es>
> To: Zhiliang Hu <hu(a)animalgenome.org>
> Cc: smartlist(a)lists.RWTH-Aachen.DE
> Subject: Re: 64 bit?
>
>> I got helps from someone in our university to convert it to a rpm. The
>> installation was smooth -- "100%" ... "installed". Although "rpm -qa
>> smartlist" gives "smartlist-3.15-21" but I cannot find where it is installed.
>>
>> I suppose it is the binaries (everything in ~smartlist/.bin) got installed.
>> Could you give more hints as how to piece things together with rpm install?
>
> Try
>
> rpm -ql smartlist
>
> Not that I use rpm myself, but google says that's the equivalent of "dpkg -L".
>
> Documentation is at /usr/share/doc/smartlist, and all the paths have
> been modified to reflect what is used in the Debian package (for
> example, the home directory for the lists is /var/list).
Thanks Santiago,
I got helps from someone in our university to convert it to a rpm. The
installation was smooth -- "100%" ... "installed". Although "rpm -qa
smartlist" gives "smartlist-3.15-21" but I cannot find where it is
installed.
I suppose it is the binaries (everything in ~smartlist/.bin) got
installed. Could you give more hints as how to piece things together
with rpm install?
Thanks,
Zhiliang
On Wed, 19 Aug 2009, Santiago Vila wrote:
> Date: Wed, 19 Aug 2009 00:01:44 +0200 (CEST)
> From: Santiago Vila <sanvila(a)unex.es>
> To: dmacdoug <dmacdoug(a)usc.edu>
> Cc: Zhiliang Hu <hu(a)animalgenome.org>, smartlist(a)lists.RWTH-Aachen.DE
> Subject: Re: 64 bit?
>
> On Tue, 18 Aug 2009, dmacdoug wrote:
>
>> I don't believe it needs to be compiled. It's all a bunch of procmail
>> scripts. [...]
>
> Plus a small executable binary having five different names: multigram,
> flist, senddigest, idhash and choplist (hardlinked to each other).
> So yes, it needs to be compiled. The main problem is the convoluted
> build system, which is mostly shared with (or inherited from) procmail.
>
>
> One thing that might work is to take the Debian package and convert it
> into an rpm using alien. In case it helps, here it is:
>
> http://ftp.debian.org/debian/pool/main/s/smartlist/smartlist_3.15-20_amd64.…
Thank you for all the replies. Unfortunately this RHEL5 64-bit Dell
machine is what I have to live with (moving everything out -- including
many databases/applications -- from the old machine to the new one).
Has anyone ever complied it on a RHEL5 64-bit system?
Zhiliang
>> From: Roger Burton West <roger(a)firedrake.org>
>>
>> On Tue, Aug 18, 2009 at 08:07:07PM +0200, Santiago Vila wrote:
>>
>> >I'm running SmartList on an amd64 system (which is 64-bit) without any
>> >problem at all.
>>
>> Ditto.
>>
>> >If you are still trying different MTAs, try postfix. In my experience,
>> >SmartList works out of the box with postfix.
>>
>> I've had no problems with Exim, either...
And I've been happily using it with Sendmail on a 64bit
UltraSPARD machine for years.
I have struggled for some time to install Smartlist on a newer machine
(RH linux) but fails. The same install process works on older machines).
The diagnoses seem to point to the shell (sh -> bash) problems/versions.
Now we realize this new machine is 64 bit -- Is there a 64-bit Smartlist
source codes available, or the current code is already 64-bit compatible?
Thanks,
Zhiliang
I try to make the Smartlist to work with qmail.
qmail is working fine.
Upon sending a mail to a Smartlist list, nothing on the list side is
seen, and the /var/log/maillog shows:
Aug 11 15:47:39 db3 qmail: 1250023659.091760 new msg 25821488
Aug 11 15:47:39 db3 qmail: 1250023659.091807 info msg 25821488: bytes 1826 from <tom@somedomain$
Aug 11 15:47:39 db3 qmail: 1250023659.093674 starting delivery 50: msg 25821488 to local mylist$
Aug 11 15:47:39 db3 qmail: 1250023659.093993 status: local 1/10 remote 0/20
Aug 11 15:47:39 db3 procmail[18029]: Error while writing to "log"
Aug 11 15:47:39 db3 sendmail[18034]: n7BKldCE018034: from=alias, size=0, class=0, nrcpts=0, msg$
Aug 11 15:47:39 db3 qmail: 1250023659.109784 delivery 50: success: flist:_Strange_group_or_user$
Aug 11 15:47:39 db3 qmail: 1250023659.109851 status: local 0/10 remote 0/20
Aug 11 15:47:39 db3 qmail: 1250023659.109873 end msg 25821488
although I had my list permissons as:
drwxrwxr-x 11 slist slist 4.0K Jul 31 13:30 slist
drwxr-sr-x 8 slist slist 4.0K Aug 5 19:25 slist/mylist
-rw-rw-rw- 1 slist slist 0 Aug 5 19:25 slist/mylist/log
What could be wrong?
Zhiliang
I am setting up Smartlist on a new RedHat GNU/Linux 2.6.18 machine with
Sendmail. The configurations are like:
1. /etc/aliases:
newlist: "|flist newlist"
newlist-request: "|flist newlist-request"
2. /etc/smrsh/flist -> /usr/local/slist/.bin/flist
3. /var/mail/.etc -> /usr/local/slist/.etc
When tested mail to "newlist", it's not sent to the list but appended to
/var/spool/mail/mail (nothing written to /usr/local/slist/newlist/log ,
nor any mail deposited to /usr/local/slist/newlist/archive/latest/)
The /var/log/maillog says mail accepted for delivery, then next line it
says "timeout waiting for input from local during Draining Input"
Any suggestion what could be the problem and where should I check further?
Thanks,
Zhiliang