PDA

View Full Version : timsieve and squirrelmail


snowwwman
08-01-2004, 07:43 PM
I followed the instructions to install timsieve, etc with 10.3 server from here (http://www.afp548.com/article.php?story=20040721014726822) It worked fine until I ran repairPermissions. Now when I try to access the filter section of squirrelmail i get the following error.

Warning: split(): REG_EMPTY in /usr/share/squirrelmail/plugins/avelsieve/lib/sieve-php.lib.php on line 427

I figured it might be a permissions problem so I tried to set the things involving mail stuff, squirrelmail and sasl that diskutil changed back to their original state. No luck. I watched /var/log/system.log and see this message everytime I try to run the filter.

timsieved[1577]: auxpropfunc error generic failure

i also notcied this

could not lock pid file /var/state/saslauthd/saslauthd.pid: Resource temporarily unavailable

saslauthd[25009]: detach_tty : Cannot start saslauthd

saslauthd[25009]: detach_tty : Another instance of saslauthd is currently running

I figure this has something to do with the sasl add-on part but don't know what I can do to troubleshoot it. I tried a reboot and same troubles.

Thanks in advance.

snowwwman
08-03-2004, 01:00 PM
What it turned out being was saslauthd was somehow in a locked state.

as root

killall saslauthd

then

/usr/local/saslauthd -a PAM

everything seems to be working now.

thanks mactroll.

mac93
08-06-2004, 04:36 PM
I am implementing the same function as you mentioned from AFP548, I can set rules in sqirrelmail, but the rules does not work, especailly the vacation part, do you have any idea?
Thanks

snowwwman
08-06-2004, 05:14 PM
watch the log files /var/log/mailaccess.log and /var/log/system.log

open up a terminal and run tail -f /var/log/insertlognamehere and try to create a vacation message. this might give you a clue as to what is causing troubles.

the permissions on the /usr/sieve directory must be
cyrus:wheel 755
the permissions on the /usr/lib/pwauxprop.la & /usr/lib/pwauxprop.so are

root:mail 705

if this doesnt make sense post again and I can tell you how to check it

mac93
08-10-2004, 05:52 PM
my permisson is correct, my /var/log/system.log file:

Aug 10 15:44:30 sparc timsieved[7289]: unable to open LA file: /usr/lib/sasl2/pwauxprop.la
Aug 10 15:44:30 sparc timsieved[7289]: unable to dlopen /usr/lib/sasl2/pwauxprop.so: dlcompat: can't read object file
Aug 10 15:44:31 sparc timsieved[7289]: login: localhost[127.0.0.1] test PLAIN User logged in
Aug 10 15:44:34 sparc timsieved[7290]: unable to open LA file: /usr/lib/sasl2/pwauxprop.la
Aug 10 15:44:34 sparc timsieved[7290]: unable to dlopen /usr/lib/sasl2/pwauxprop.so: dlcompat: can't read object file

I installed the Cyrus-sasl in /usr/local/lib, I did not link /usr/local/lib/sasl2 to /usr/lib/sasl2, is this cause the problem, I also checked the /Library/logs/watchdog.event.log.
"Process "/usr/local/saslauthd" respawning too rapidly!"

Many thanks

snowwwman
08-10-2004, 07:17 PM
The error "unable to open LA file: /usr/lib/sasl2/pwauxprop.la" is ok the other one isn't. That is what mine was saying until I killed all saslauthd processes and restarted them as mentioned in my previous post. On my system /usr/local/lib/sasl2 and /usr/lib/sasl2 have different files in them so I'm not sure what you meant by linking it. In my watchdog file it also says the same message and everything works fine. Did you try the commands that I posted earlier ? Are you following the
AFP548.COM (http://www.afp548.com/article.php?story=20040721014726822) site instructions or the other set(s) that are on the web??

MacBlaze
08-30-2004, 12:04 PM
I'm having the same problem...

Warning: split(): REG_EMPTY in /usr/share/squirrelmail/plugins/avelsieve/lib/sieve-php.lib.php on line 427

It was working and then I started to play around with mailing lists and getting my domain name straightened out and it suddenly stopped. I have followed your instructions and kiled the saslauthd and then restarted but I getting this error in the system log...


Aug 30 10:55:36 HOLES sudo: holes : TTY=ttyp2 ; PWD=/ ; USER=root ; COMMAND=/usr/local/saslauthd -a PAM
Aug 30 10:55:36 HOLES saslauthd[2190]: detach_tty : master pid is: 2190
Aug 30 10:55:36 HOLES saslauthd[2190]: ipc_init : listening on socket: /var/state/saslauthd/mux
Aug 30 10:55:51 HOLES master[2203]: process started
Aug 30 10:55:51 HOLES saslauthd[2205]: detach_tty : could not lock pid file /var/state/saslauthd/saslauthd.pid: Resource temporarily unavailable
Aug 30 10:55:51 HOLES saslauthd[2204]: detach_tty : Cannot start saslauthd
Aug 30 10:55:51 HOLES saslauthd[2204]: detach_tty : could not read from startup_pipe

I've repaired permissions, reinstalled axelsieve, restarted ...any other ideas?

Bruce