At 09.39 17/10/2002 -0500, Ken Jones wrote:
Feel free to submit a patch for vpopbull.

Ken Jones
Ok, I did and tested it:

Here's the diff,

It implements the auto create maildir in vpopbull

# diff vpoppatched/vpopbull.c vpopmail-5.2.1/vpopbull.c
186d185
< struct stat mystatbuf;
188,196d186
< /* check if the directory exists and create if needed */
<
< if ( stat(pwent->pw_dir, &mystatbuf ) == -1 ) {
< if ( vmake_maildir(domain, pwent->pw_dir )!= VA_SUCCESS ) {
< printf("Auto re-creation of maildir failed. vpopmail (#5.9.9)\n");
< vexit(-1);
< }
< }
<

What do u think about it ??



Edoardo Serra
WeBRainstorm - IT Consulting


Reply via email to