hi Andreas,
On Fri, Dec 14, 2001 at 05:45:10PM +0100, Andreas Almstadt wrote:
> Unfortunatly, courier doesn't. The log said "unable to chdir". We will
> solve the problem with a cron job, but I would be glad if someone have a
> "real" solution.
        three ways i think i would approach if i were you.
1- simply use maildirmake in a script that first checks if 
   $HOME/Maildir/ exists and if not runs maildirmake 
   'making the /Maildir'
2- Since one can create a script that simply 
   manually makes the generic /Maildir that courierd is expecting. 
   Then append this to a script that you use to manage users
   accounts.. 
-3 i would take a look at the MDA or routine inside courierd and 
   simply add a exec call to make the maildir if it did not exist
   before trying to put mail there.. or since most unique MDA 
   allow for external command execution if used such as maildrop.. AFAIK..
   then use that so that it really doesn't matter.


        b.t.w. i would assume that chdir() is not working because 
it cannot chdir since either it does not exist or does not have 
the rights to land there.. Since i have not hit this problem well
this is pretty much solving what i do not need to therefore hope it 
is 'still_useful'.

Hope this helps a little.


Regards,
[EMAIL PROTECTED]

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to