4 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Use maildirmake withi...
FromSent OnAttachments
sim085Jun 24, 2009 7:58 am 
Sam VarshavchikJun 24, 2009 2:51 pm 
Todd LyonsJun 24, 2009 8:21 pm 
sim085Jun 25, 2009 12:32 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: [maildropl] Use maildirmake within maildroprc, possible?Actions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Jun 24, 2009 2:51:00 pm
List:net.sourceforge.lists.courier-maildrop

sim085 writes:

Hello,

I have been looking to try and make this work for the last two days. However I can not manage to create the maildir for a new user when this receives a new email.

You should create a new user's maildir at the same time you create the account. It is not the mail server's job to create maildirs. A mail server's job is to deliver mail to maildirs, not create them.

I did look on the internet but everything I tried failed. The first thing I tried was this:

maildirmake "$HOME/$USER"

and then I passed to this:

'maildirmake "$HOME/$USER"'

I copied these commands from two scripts I found on the internet. However I had no luck.

Copying random scripts from somewhere on the Internet is not likely to be very successful. Half the time, whoever wrote them doesn't know any better than you.