Dear Sam Varshavchik,

You are wrongly assuming that the -d flag is not being used.

The -d flag is being used when invoking maildrop, and while logged in as
root. Without using the -d flag, then how do you think maildrop is reading
the mailfilter from the home directory of the actual user "vmail" with which
the userdb is implemented. You could verify it with the verbose option (-V)
and by providing ".mailfilter" in (1) the home directory of "vmail" and (2)
later by moving the mailfilter to the home-directory specified in the
userdb. In the case of (1) the mailfilter would be read, and in case (2) the
filter would not be read.

Also, in my system where postfix is the MTA, only maildrop can deliver mails
to the maildir of the virtual email accounts. And maildrop cannot do it
without the help of userdb. So, my point is that the maildrop is being
invoked with the -d flag and it is reading the userdb properly. Otherwise
the mail would not be delivered to the maildir of virtual email accounts.

I too wish that Maildrop behaved in the way you are insisting on. But
unfortunately it is not.

Thanks,
Mathew Simon


-----Original Message-----
From: Sam Varshavchik [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 04, 2001 7:09 PM
To: [EMAIL PROTECTED]
Subject: Re: Maildrop - Error


Mathew Simon writes:

> Situation:
> Have "userdb" and virtual email domains. The userdb uses the real linux
> user-ID "vmail" to implement all the virtual domains. The local mail
> delivery is done by maildrop version-1.3.3. (Postfix is the MTA and
> Sqwebmail version-2.1.1 is used for the web based mail access.)
>
> Current Behavior of Maildrop:
> The documentation as part of Sqwebmail and Maildrop gives the impression
> that if there is a ".mailfilter" file present in the home directory, then
it
> would be used. But if a ".mailfilter" file is deposited in the home
> directory (as specified in the userb) of a virtual email user, then
maildrop
> won't use it. Instead maildrop is looking for the mailfilter in the
> home-directory of the real linux user "vmail".

Maildrop's documentation contains clear instructions for enabling userdb
lookups by using the -d flag.

> How Maildrop Should Behave:
> If userdb is used to obtain the mail delivery information, then Maildrop
> should look for the mailfilter in the home directory specified in the
> userdb.

Correct.  And that's exactly how it works provided that userdb is enabled,
and the -d flag is specified.

--
Sam

Reply via email to