In french we say "la nuit porte conseil" that may
be translate in english has "I'll sleep over it"

Thats what i did.

Since my menu and scripts are specific for my site they where
never made to be portable to a other site.

I have no site specific config file you could compare that
to a dbmail.conf file.
I could call it the dbmail-webmin.conf file
In that file we could fine site spécific parameters like
- Domain name
- The postmaster email address
- The default quota to give to users when we create a user
- ect

Making my scripts and menus portable and in
english could take me a week or so.

I would use these scripts and menus on my production server with
my staffs. Doing so i would be almost sure that, if it works for me
it should work for others site. 

I work for a school board in Montreal and my setup is a 1 domain 
setup (cspi.qc.ca) you could change that to "syska.dk" and the menu and
scripts should work.

But being on this dbmail forum for more then a year i know
that some dbamil site are much more elaborate then mine.
(Multiple domains... etc)

And my sripts would nead to be modified by them or be irrelevent.

So if im the only one to use dbmail in a single domain site environment
i'll be modifing my sripts and menus to be portable to me ????????    

What would help me to go ahead with this is for all site administrator
on this dbmail forum with a 1 domain site to say "count me in"

I`ll post a "Count me in dbmail-webmin menu and script"
to get a count down of all interested dbmail administratior
  
Bien à vous

Jacques Beaudoin
Agent d'administration  
Les services des technologies
de l'information et des communications
Commission scolaire de la Pointe de l'Île 
Montréal, Québec, Canada



Selon "\"Mikael Syska\"" <[EMAIL PROTECTED]>:

> It wound be great if u also could mail me them, or just mail to the list,
> then all can use them if the want to :-)
> 
> // ouT 
> 
> >-----Oprindelig meddelelse-----
> >Fra: [EMAIL PROTECTED] 
> >[mailto:[EMAIL PROTECTED] På vegne af Jacques Beaudoin
> >Sendt: 31. marts 2004 22:42
> >Til: [email protected]
> >Emne: Trans.: Re: [Dbmail] PHP AddUser
> >
> >Hi James
> >Glad i cane help
> >
> >Let me prepare things
> >
> >What I will do is:
> >
> >1 - I'll put more english comments in my scripts
> >
> >2 - My webmin menu are in french i'll translate the in english
> >    on my test server
> >
> >3 - I'll zip them
> >
> >4 - And send you another email 
> >
> >5 - It should be done inside 1 day 
> >
> >Au revoir
> >Jacques
> >
> >
> >That would be great if you could, i can check out how it all 
> >works then.
> >
> >The reason why i am doing my own php script is because i run a 
> >free ISP and i am trying to write a registration script for the site.
> >
> >Cheers
> >James
> >
> >On Wed, 31 Mar 2004 13:40 , Jacques Beaudoin 
> ><[EMAIL PROTECTED]>
> >sent:
> >
> >>Hi James
> >>
> >>Im not a PHP expert so when i evaluated dbmail i add a problem:
> >>
> >>How do i administer my mail server ?
> >>
> >>I think i found a simple solution:
> >>  - I use webmin custom command (in the others section of webmin )
> >>  - And i have 5 scripts that are started by webmin to execute
> >>    dbmail-adduser, dbmail-mainnance,..  and other programs
> >>  - My staffs and I only see webmin menus     
> >>  - And i dont have to use PHP to investigate in dbmail.
> >>  - My dbmail administration is where all my others 
> >>    administration is, in webmin.
> >>
> >>Its works great, I would not have it any other way
> >>
> >>You wont have to wonder how dbmail-users, dbmail-maintenance, 
> >do there 
> >>stuff and you use simple webmin menus.
> >>
> >>If you want my scripts and the webmin menu I'll be glag to 
> >give them to 
> >>you.
> >>
> >>Bye
> >>Jacques
> >>
> >>
> >>Selon James XMS [EMAIL PROTECTED]>:
> >>
> >>> Hi All,
> >>> 
> >>> 
> >>> I am knocking up a quick php script to add users to DBMail, 
> >and i was 
> >>> wondering what dbmail-adduser does in terms of adding stuff 
> >to mysql 
> >>> when it creates a user.
> >>> So far my script does the following to add a dbmail user:
> >>> 
> >>>      $db_string = "INSERT INTO users
> >>> (userid,passwd,client_idnr,maxmail_size,encryption_type)
> >>>                    VALUES
> >>>
> >>('$frm_username$frm_domain','$frm_passwde','$frm_userlev','$fr
> >m_mboxsiz
> >>e','$frm_enctype')";
> >>>      $db_query = mysql_query($db_string) or die ("Error Writing To 
> >>> Database");
> >>> 
> >>>      $frm_uid = mysql_insert_id();
> >>> 
> >>>      $db_string = "INSERT INTO aliases 
> >(alias,deliver_to,client_idnr)
> >>>                    VALUES
> >>> ('$frm_username$frm_domain','$frm_uid','$frm_userlev')";
> >>>      $db_query = mysql_query($db_string);
> >>> 
> >>>      $db_string = "INSERT INTO mailboxes (owner_idnr,name)
> >>>                    VALUES ('$frm_uid','INBOX')";
> >>>      $db_query = mysql_query($db_string);
> >>> 
> >>> 
> >>> Am i missing anything?
> >>> 
> >>> 
> >>> Cheers
> >>> James
> >>> 
> >>> 
> >>> 
> >>> 
> >>> --- Msg sent via @Mail - http://atmail.nl/ 
> >>> _______________________________________________
> >>> Dbmail mailing list
> >>> [email protected]
> >>> https://mailman.fastxs.nl/mailman/listinfo/dbmail
> >>> 
> >>
> >
> >
> >
> >--- Msg sent via @Mail - http://atmail.nl/
> >
> >----- Fin du message transféré -----
> >_______________________________________________
> >Dbmail mailing list
> >[email protected]
> >https://mailman.fastxs.nl/mailman/listinfo/dbmail
> >
> 
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
> 

Reply via email to