On Fri, 19 Nov 1999, Subba Rao wrote:
> Hello
>
> I would really appreciate some help for getting maildrop and
> it's filters to work with fetchmail and my ~/Maildir.
>
> Here is my $HOME/.qmail
>
> => '| /usr/local/bin/maildrop'
>
> and /etc/maildroprc
>
> => DEFAULT="./Maildir"
>
> My $HOME/.fetchmailrc
>
> => poll mypop.ibm.net protocol pop3 username myusername password mypassword
> => mda "/usr/local/bin/maildrop"
>
> An excerpt from my $HOME/.mailfilter
>
> => ### Store messages to Qmail in their own folder
> => if ( /^To: *qmail@list\.cr\.yp\.to.*/ \
> => || /^Cc: *qmail@list\.cr\.yp\.to.*/ )
> => {
> => to Mail/qmail
> => }
>
> In .fetchmailrc, if I use the "deliver-maildir" MDA, all the mail goes into
> my "inbox". No filtering. When I point mda to maildrop, nothing happens.
> There is a stream of mail coming in (pppstats output) but does not show up
> in the Maildir.
>
> Can someone please tell me what am I missing?
You need to:
A) Examine your logs
B) Read fetchmail documentation.
I don't know anything about fetchmail, and I have no idea how fetchmail
tells maildrop which local mailbox to dump all mail into. If fetchmail
executes maildrop without doing anything else, maildrop will simply
deliver the mail to the mailbox of the userid running maildrop. So, if
you're running fetchmail as root, maildrop will deliver to root's mailbox.
You need to read the documentation for fetchmail and determine what
options are available in fetchmail for specifying the local mailbox where
mail gets delivered.