Il Saturday 12 April 2008 20:17:45 Ismail YENIGUL ha scritto:
> 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/
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 PROTECTE
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