sieve: Too many levels of symbolic links

2003-04-03 Thread Dmitry Alyabyev
hello

strange behavior - when I use websieve 0.61 (by Alain Turbide) with timsieved of
cyrus 2.2 I have something like this in user sieve directory:

lrwx--  1 cyrus  cyrus   10 Apr  3 10:53 default.bc - default.bc
-rw---  1 cyrus  cyrus  424 Apr  3 10:53 default.script

when a message delivers there is an error in cyrus log:
lmtpunix[10531]: IOERROR: fstating sieve script
/usr/local/cyrus/sieve/domain/e/example.com/u/username/default.bc: Too many
levels of symbolic links

and sieve doesn't work according to rules of default.script

any ideas why it happens ?

-- 
Dimitry



Re: sieve: Too many levels of symbolic links

2003-04-03 Thread Dmitry Alyabyev
Miguel Mendez wrote:

 On Thu, 03 Apr 2003 11:16:45 +0300
 Dmitry Alyabyev [EMAIL PROTECTED] wrote:
 
 Hello,
 
 lrwx--  1 cyrus  cyrus   10 Apr  3 10:53 default.bc - default.bc
^^^
 when a message delivers there is an error in cyrus log:
 lmtpunix[10531]: IOERROR: fstating sieve script
 /usr/local/cyrus/sieve/domain/e/example.com/u/username/default.bc: Too
 many levels of symbolic links
 
 and sieve doesn't work according to rules of default.script
 
 any ideas why it happens ?
 
 Yeah, you made a recursive symlink.

I see :)
but it was made not by me but by sieve, yeah ?
so I'd like to know why it happened

-- 
Dimitry



Re: sieve: Too many levels of symbolic links

2003-04-03 Thread Miguel Mendez
On Thu, 03 Apr 2003 11:16:45 +0300
Dmitry Alyabyev [EMAIL PROTECTED] wrote:

Hello,

 lrwx--  1 cyrus  cyrus   10 Apr  3 10:53 default.bc - default.bc
   ^^^
 when a message delivers there is an error in cyrus log:
 lmtpunix[10531]: IOERROR: fstating sieve script
 /usr/local/cyrus/sieve/domain/e/example.com/u/username/default.bc: Too
 many levels of symbolic links
 
 and sieve doesn't work according to rules of default.script
 
 any ideas why it happens ?

Yeah, you made a recursive symlink.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: sieve: Too many levels of symbolic links

2003-04-03 Thread Rob Siemborski
On Thu, 3 Apr 2003, Dmitry Alyabyev wrote:

  Yeah, you made a recursive symlink.

 I see :)
 but it was made not by me but by sieve, yeah ?
 so I'd like to know why it happened

Yes, it was made by sieve.  So we need to make sieve reject scripts named
default.  Until then, don't call your script default.

-Rob.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper



Re: sieve: Too many levels of symbolic links

2003-04-03 Thread Ken Murchison


Rob Siemborski wrote:
 
 On Thu, 3 Apr 2003, Dmitry Alyabyev wrote:
 
   Yeah, you made a recursive symlink.
 
  I see :)
  but it was made not by me but by sieve, yeah ?
  so I'd like to know why it happened
 
 Yes, it was made by sieve.  So we need to make sieve reject scripts named
 default.

Right.

  Until then, don't call your script default.

FYI, Websieve does this automatically when no script is present, unless
the user overrides it.

-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp


Re: sieve: Too many levels of symbolic links

2003-04-03 Thread John Alton Tamplin
Ken Murchison wrote:

FYI, Websieve does this automatically when no script is present, unless
the user overrides it.
The administrator can change that configuration in websieve.conf, 
variable $defaultscript.

--
John A. Tamplin   Unix System Administrator
Emory University, School of Public Health +1 404/727-9931




Re: sieve: Too many levels of symbolic links

2003-04-03 Thread Dmitry Alyabyev
posted  mailed

Ken Murchison wrote:
 Rob Siemborski wrote:
 
 On Thu, 3 Apr 2003, Dmitry Alyabyev wrote:
 
   Yeah, you made a recursive symlink.
 
  I see :)
  but it was made not by me but by sieve, yeah ?
  so I'd like to know why it happened
 
 Yes, it was made by sieve.  So we need to make sieve reject scripts named
 default.
 
 Right.
 
  Until then, don't call your script default.
 
 FYI, Websieve does this automatically when no script is present, unless
 the user overrides it.

Well, I did as John A. Tamplin suggested - set $defaultscript=default_sieve in
websieve. And now I got:
$ ls -l sieve/domain/e/example.com/u/user/
total 4
-rw---  1 cyrus  cyrus  128 Apr  3 19:23 default_sieve.bc
-rw---  1 cyrus  cyrus  424 Apr  3 19:23 default_sieve.script

and when I send a message to the user I see:
lmtpunix[11154]: IOERROR: fstating sieve script
/usr/local/cyrus/sieve/domain/e/example.com/u/user/default.bc: No such file or
directory

???

-- 
Dimitry



Re: sieve: Too many levels of symbolic links

2003-04-03 Thread Rob Siemborski
You didn't activate the sieve script.

-Rob

On Thu, 3 Apr 2003, Dmitry Alyabyev wrote:

 posted  mailed

 Ken Murchison wrote:
  Rob Siemborski wrote:
 
  On Thu, 3 Apr 2003, Dmitry Alyabyev wrote:
 
Yeah, you made a recursive symlink.
  
   I see :)
   but it was made not by me but by sieve, yeah ?
   so I'd like to know why it happened
 
  Yes, it was made by sieve.  So we need to make sieve reject scripts named
  default.
 
  Right.
 
   Until then, don't call your script default.
 
  FYI, Websieve does this automatically when no script is present, unless
  the user overrides it.

 Well, I did as John A. Tamplin suggested - set $defaultscript=default_sieve in
 websieve. And now I got:
 $ ls -l sieve/domain/e/example.com/u/user/
 total 4
 -rw---  1 cyrus  cyrus  128 Apr  3 19:23 default_sieve.bc
 -rw---  1 cyrus  cyrus  424 Apr  3 19:23 default_sieve.script

 and when I send a message to the user I see:
 lmtpunix[11154]: IOERROR: fstating sieve script
 /usr/local/cyrus/sieve/domain/e/example.com/u/user/default.bc: No such file or
 directory

 ???

 --
 Dimitry



-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski | Andrew Systems Group * Research Systems Programmer
PGP:0x5CE32FCC | Cyert Hall 207 * [EMAIL PROTECTED] * 412.268.7456
-BEGIN GEEK CODE BLOCK
Version: 3.12
GCS/IT/CM/PA d- s+: a-- C$ ULS$ P+++$ L+++() E W+ N o? K-
w O- M-- V-- PS+ PE++ Y+ PGP+ t+@ 5+++ R@ tv-@ b+ DI+++ G e h r- y?
--END GEEK CODE BLOCK-