Koozali.org: home of the SME Server

Enableing Procmail after Install

Offline Smitro

  • *
  • 350
  • +0/-0
Enableing Procmail after Install
« on: September 29, 2006, 04:45:15 PM »
Hi all,

It's been a long day. I've just upgraded my server to v7 (most of the time was spent in backing up).

This seems to simple, and I'm sure I've done it before, but I'm stuck on this step. I have just installed dungog's mailsorting rpm. After the install it said:
Quote
to enable procmail or maildrop for all users
for Procmail
config setprop qmail FilterType procmail
or for maildrop
config setprop qmail FilterType maildrop
then
signal-event mailsorting-conf


So I thought that meant, type that into the command line. So I did, and it returned:
Code: [Select]
[root@box1 user-panel]# config setprop qmail FilterType procmail
bash: config: command not found

So I looked on dungog's web site. - http://www.dungog.net/sme/usermanager.php

and it says:

Quote
to enable for all users
for Procmail
db configuration setprop qmail FilterType procmail
for maildrop
db configuration setprop qmail FilterType maildrop

to disable
db configuration delprop qmail FilterType

If you want to disable for an individual user
db accounts setprop user MailFilter bypass
to remove this
db accounts delprop user MailFilter

after any command
signal-event mailsorting-conf


So I wack that into the command line and I get the same except this time it was "bash: db: command not found"

The user panel is working, but it says procmail needs to be enabled.

I think I'm missing something silly here and I know I'm going to be kicking my self. Can some one help me out.

If it helps, this is the rpm I installed:
http://sme.dungog.net/packages/smeserver/7.0/i386/RPMS.dungog/smeserver-mailsorting-0.9-6.noarch.rpm
found here:
http://sme.dungog.net/packages/smeserver/7.0/i386/html/index_dungog.html
.........

Offline Gaston94

  • *****
  • 184
  • +0/-0
Enableing Procmail after Install
« Reply #1 on: September 29, 2006, 05:18:06 PM »
Hi,
strange because the env has been enhanced in V7 ... but you might try this
Code: [Select]
/sbin/e-smith/config   ......... ...... ... ....
or
/sbin/e-smith/db    .....  ... .... ......

instead of "db" or "config" without full path

G.

Offline Smitro

  • *
  • 350
  • +0/-0
Enableing Procmail after Install
« Reply #2 on: September 30, 2006, 12:46:42 AM »
Thanks, it worked a treat. I had to add the same to the start of "signal-event" as well. So is this not normal? I'm wondering if I should contact dungog and let him know to add it into the how to?
.........

Offline raem

  • *
  • 3,972
  • +4/-0
Enableing Procmail after Install
« Reply #3 on: September 30, 2006, 01:54:34 AM »
Smitro

> I had to add the same to the start of "signal-event" as well.

That shortcut is part of sme7.
Try
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot

This should reset all system parameters to standard.

After the server restarts try the commands again without the /sbin/e-smith part in front
eg
signal-event reboot

Then if it still doesn't work without the /sbin/e-smith part in front, then uninstall the dungog rpm and see if it works correctly after that.

If it DOES work correctly then I would report it as a bug to dungog (probably via bugzilla for that contrib is the correct place anyway).

If it still DOES NOT work correctly then I would report a bug to bugzilla (ie as part of the base distro bugs).
...