[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qmail-ldap
Subject:    RE: custom_dirmaker question
From:       "Mike Roest" <qmail-ldap () blahz ! ab ! ca>
Date:       2002-07-25 16:45:34
[Download RAW message or body]

That's what happens with mine.  when a mail is received or the user logs
in with POP3 the dir is created.  I don't have that logger line in there
though.  did you try it without the logging line?  also after you setup
the control file did you restart qmail to force it to re-read the
configs?

-----Original Message-----
From: Mark Hutchinson [mailto:markinfrance@hotmail.com] 
Sent: Thursday, July 25, 2002 10:41 AM
To: qmail-ldap@argus.pipeline.ch
Subject: custom_dirmaker question


I have a question about how custom_dirmaker works.
When compiling qmail I include the MAKEMAILDIR.......
 
and then in /var/qmail/control I have a file called dirmaker
and in /var/qmail/control/dirmaker I have:
/var/qmail/bin/custom_dirmaker
 
and /var/qmail/bin/custom_dirmaker is:
#!/bin/sh
   logger "Creating Maildir/ for $1"
   mkdir -m 700 -p $1
 
So far this is correct right?  OK, so when is this called?  If a user
exists in LDAP and email is sent to them, right now the logs indicate
that the mail directory for that user does not exist.  I am assuming
that qmail is supposed to create this directory when mail is recieved
the first time?  Is this right.  This is not happening now.  
 
Any insight on this?
 
Thanks
 
Mark

  _____  

Send and receive Hotmail on your mobile device: Click
<http://g.msn.com/1HM1ENCA/c152??PI=44318> Here



[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2716.2200" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=498074416-25072002><FONT face=Arial color=#0000ff size=2>That's 
what happens with mine.&nbsp; when a mail is received or the user logs in with 
POP3 the dir is created.&nbsp; I don't have that logger line in there 
though.&nbsp; did you try it without the logging line?&nbsp; also after you 
setup the control file did you restart qmail to force it to re-read the 
configs?</FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Mark Hutchinson 
  [mailto:markinfrance@hotmail.com] <BR><B>Sent:</B> Thursday, July 25, 2002 
  10:41 AM<BR><B>To:</B> qmail-ldap@argus.pipeline.ch<BR><B>Subject:</B> 
  custom_dirmaker question<BR><BR></FONT></DIV>
  <DIV>
  <DIV>I have a question about how custom_dirmaker works.</DIV>
  <DIV>When compiling qmail I include the MAKEMAILDIR.......</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>and then in /var/qmail/control I have a file called dirmaker</DIV>
  <DIV>and in /var/qmail/control/dirmaker I have:</DIV>
  <DIV>/var/qmail/bin/custom_dirmaker</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>and /var/qmail/bin/custom_dirmaker is:</DIV>
  <DIV>#!/bin/sh<BR>&nbsp;&nbsp; logger "Creating Maildir/ for 
  $1"<BR>&nbsp;&nbsp; mkdir -m 700 -p $1</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>So far this is correct right?&nbsp; OK, so when is this called?&nbsp; If 
  a user exists in LDAP and email is sent to them, right now the logs indicate 
  that the mail directory for that user does not exist.&nbsp; I am assuming that 
  qmail is supposed to create this directory when mail is recieved the first 
  time?&nbsp; Is this right.&nbsp; This is not happening now.&nbsp; </DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Any insight on this?</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Thanks</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Mark</DIV></DIV><BR clear=all>
  <HR>
  Send and receive Hotmail on your mobile device: <A 
  href="http://g.msn.com/1HM1ENCA/c152??PI=44318">Click 
Here</A><BR></BLOCKQUOTE></BODY></HTML>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic