8 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Problems with autocre...
FromSent OnAttachments
Saulo Calixto BonfimMar 5, 2004 2:24 pm 
Bernhard SchmidtMar 6, 2004 6:33 am 
cue...@saulo.eti.brMar 6, 2004 2:48 pm 
Bernhard SchmidtMar 7, 2004 2:29 am 
Saulo Calixto BonfimMar 8, 2004 12:48 pm 
Bernhard SchmidtMar 9, 2004 4:28 am 
Saulo Calixto BonfimMar 9, 2004 5:50 am 
Bernhard SchmidtMar 9, 2004 6:09 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] Problems with autocreation of maildirActions...
From:Saulo Calixto Bonfim (cue@saulo.eti.br)
Date:Mar 8, 2004 12:48:42 pm
List:net.sourceforge.lists.courier-maildrop

Em 07-03-2004 07:14, Bernhard Schmidt escreveu:

cue@saulo.eti.br wrote:

the $DEFAULT gives me /var/spool/mail/domain.tld/user/Maildir, and $HOME gives me /var/spool/mail/domain.tld/user - but i only got the $HOME and $DEFAULT when the user's maildir is created in the linux system. It seems that maildrop can only get the $HOME and $DEFAULT mysql variables only if the maildir is created... such a strange behaviour.

It is just the normal maildrop behaviour as it seems. You have to set HOME to /var/spool/mail and MAILDIR to domain.tld/user/Maildir otherwise maildrop isn't able to change to user's home directory. Maildroprc and .mailfilter is executed after being in there as far as I know.

OK, but my $HOME and $DEFAULT maildroip variables aren't set by me or by the linux system, but by the mysql database, am I right?

Example:

$ cat /etc/maildroprc

`echo $HOME > /tmp/maildir` `echo $DEFAULT >> /tmp/maildir` $ $ mail user@domain.tld $ $ cat /tmp/maildir /var/spool/mail/domain.tld/user /var/spool/mail/domain.tld/user/Maildir $ $ mail user@domain.tld $ $ cat /tmp/maildir $

Obviously, $HOME and $DEFAULT in my linux box are variables from the linux system, and doesn't have nothing to do with maildrop/mysql/courier environment.

My question again is: why the heck maildrop doesn't get those variables when maildir is not created?