[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [mpop-users] [PATCH 3/9] Accept relative pathnames on exchange and maildir delivery



Martin Lambers wrote:
> Hi!
> 
> I don't understand which problem this patch tries to solve.
> On initialization of the delivery method, we chdir() to the right
> directory. What exactly is the error that can occur?
> The maildir directory we chdir() to is an absolute path.
> 
> Regards,
> Martin

No. The maildir directory is whatever the user puts in the delivery
line. Thus if the user puts a relative path and there are multiple
accounts, mpop tries to chdir() to the second account from the second
one.


For example:
> (common code omitted)
>
> account one
> delivery exchange one
>
> account two
> delivery exchange two
> 
with folders one and two, a run of mpop -a will try to deliver the mails
from the second account into one/two



Additionally, patch 3 is useful for incrementally going to patch 4 :)