5 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Autocreation of m...
FromSent OnAttachments
Andreas AlmstadtDec 14, 2001 6:46 am 
Andreas AlmstadtDec 14, 2001 8:45 am 
drea...@dreamwvr.comDec 14, 2001 9:54 am 
Gordon MessmerDec 14, 2001 10:17 am 
drea...@dreamwvr.comDec 14, 2001 10:58 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Autocreation of maildirActions...
From:drea...@dreamwvr.com (drea@dreamwvr.com)
Date:Dec 14, 2001 9:54:42 am
List:net.sourceforge.lists.courier-users

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.