Hello everybody,
I'm probably the newest member of this list and for sure a newbie user of
maildrop.
I have a real problem: I'd like to set a filter so emails coming from
certain individuals will get through; all the other emails should be
forwarded to my secretary.
To accomplish this I have put into my home directory:
a .qmail file reading:
| /var/qmail/bin/preline -f /usr/bin/maildrop .mailfilter
a email.allow file reading:
us...@domain.com
us...@anotherdomain.com
....
and a .mailfilter file:
DEFAULT="./Maildir/"
logfile "maildrop.log"
if (/^From: *!.*/ && lookup($MATCH2, "email.allow"))
{
to "./Maildir/"
}
else
{
to "!my.s...@provus.ro"
}
Delivery to Maildir works just fine. However, no email gets forwarded to
secretary.
Bellow is a snippet of /var/log/qmail/current:
@400000003e662a562a4897b4 starting delivery 16995: msg 1713722 to local
cris...@provus.ro
@400000003e662a562a48b30c status: local 1/10 remote 0/20
@400000003e662a562be2e6c4 delivery 16995: deferral:
This_account_is_currently_not_available./
I can assure you that account really exists.
There are lots of entries like this in the log file:
Date: Wed Mar 5 18:48:12 2003
From: "Cristian Grigoriu" <cris...@provus.ro>
Subj: testing maildrop
!Err: !my.s...@provus.ro
Any idea why is this happening?
Thank you,
Grig