Hi Alessio, A sample script may look like the following:
#!/bin/sh cmd=$1; if [ $cmd = "add_user" ] then email=$2; # [EMAIL PROTECTED], see README.onchange /usr/local/bin/ezmlm-sub ~vpopmail/domain/listname $email fi if [ $cmd = "del_user" ] then email=$2; # [EMAIL PROTECTED], see README.onchange /usr/local/bin/ezmlm-unsub ~vpopmail/domain/listname $email fi Not: Be sure that ~vpopmail/etc/onchange is executable Thanks. Tuesday, April 8, 2008, 8:08:11 PM, you wrote: > On my qmail+vpopmail installation i want use the feature of onchange script to > automatically add users to an ezmlm list when they are created. > Users are added through vpopmaild. > I read the documentation for onchange, but I am not very clear how it works. > Could someone give me an example on how to create a script for > ~vpopmail/etc/onchange ? > Many thanks. -- Ismail YENIGUL Yönetici/Manager Servis ve Destek Bölümü/System Services and Support Division Tel: +90 216-470 94 23 Fax: +90 216-470 95 08 http://www.endersys.com.tr !DSPAM:4800fcde120501398410658!