Re: [vchkpw] how auto create folder

2002-08-20 Thread Matt Wade

There may be easier ways, and I am by no means either familar with or really
even used vpopmail. BUT, in the vpopmail.c source file, you will see this in
a function called make_user_dir():

   if (mkdir("new",VPOPMAIL_DIR_MODE) == -1) {
chdir(tmpbuf); free(tmpbuf); free(tmpdir);
printf("make_user_dir: error 6\n");
return(NULL);
}

if (mkdir("tmp",VPOPMAIL_DIR_MODE) == -1) {
chdir(tmpbuf); free(tmpbuf); free(tmpdir);
printf("make_user_dir: error 7\n");
return(NULL);
}

if you were to add your own dir in here and recompile, it should work...

Matt Wade

- Original Message -
From: "Jose Morales" <[EMAIL PROTECTED]>
To: "VpopMail-List" <[EMAIL PROTECTED]>
Sent: Tuesday, August 20, 2002 6:30 PM
Subject: [vchkpw] how auto create folder


> Hello list...
> the question
> How can I tell to vpopmail that every time  I add a
> new user create the folder .JunkMail with their
> respectiv sub-folders: new, cur and tmp???
>
>
> Best regards.
>
> __
> Do You Yahoo!?
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com
>




Re: [vchkpw] Deny the option Roaming-User the a specific Pool of IP

2002-08-20 Thread Matt Wade



Just to preface this, I'm a newbie at both unix, 
qmail, and vpopmail. But here is how I think what you want done can be 
accomplished. It's a bit of a hack, but should work...
 
The file open.smtp contains data such 
as:
 
123.123.123.123:allow,RELAYCLIENT="",RBLSMTPD=""   
1029889261
 
This file is cleared out by the clearopensmtp 
program that is scheduled by cron. What if you placed the IP's you would like to 
ban in the open.smtp file, but with a timestamp that is far in the future? And 
use deny rather than allow? I should think it would work. Maybe a vpopmail guru 
can comment on this
 
Matt Wade
 

  - Original Message - 
  From: 
  Juan 
  Enciso - DNSQ 
  To: [EMAIL PROTECTED] 
  Sent: Tuesday, August 20, 2002 7:46 
  PM
  Subject: [vchkpw] Deny the option 
  Roaming-User the a specific Pool of IP
  
  
  Hello people.
  I am using vpopmail-5.2.1 with the option roaming-user 
  available and everything works very well.
  I have a suggestion to add a new function to the program, 
  specifically in the option of romaing-user. It wanted that only 
  some pools of IP have the possibility of making a pop 
  authentication, thus to be able to send messages. 
  These pools would be put in a file with similar format to 
  tcp.smtp. 
  I want to have a better control on the IP that can send 
  messages. Desire to have the capacity to deny any IP or pools IP even so 
  they are my users. 
   
  Thanks for your response
   
  Juan Enciso Condeña.Área de 
  OperacionesQnet - Servicios InternetTelf. 241-4122 anexo 2245 - 
  2244www.qnet.com.pe