Hello,
But the .mailfilter is generate by sqwebmail. It should not modify by myself.
And .qmail-hello I change it point to mailfilter file the following shown:
[root@mail01]# cat .qmail-hello
|/usr/local/bin/maildrop ./hello/.mailfilter
Dec 26 13:00:48 mail01 qmail: 1009342848.948868 new msg 605642
Dec 26 13:00:48 mail01 qmail: 1009342848.948985 info msg 605642: bytes 1477 from
<Hila...@realvision.com.hk> qp 3399 uid 0
Dec 26 13:00:49 mail01 qmail: 1009342849.022675 starting delivery 278: msg 60564
2 to local euro...@euro-tech.com
Dec 26 13:00:49 mail01 qmail: 1009342849.022768 status: local 1/10 remote 0/20
Dec 26 13:00:49 mail01 maildrop[3401]: Unable to open mailbox.
Dec 26 13:00:49 mail01 qmail: 1009342849.035833 delivery 278: deferral: /usr/loc
al/bin/maildrop:_Unable_to_open_mailbox./
Dec 26 13:00:49 mail01 qmail: 1009342849.035906 status: local 0/10 remote 0/20
I know what's the problem now. It seems the maildrop cannot find the Maildir
location
since it may start at domain root. ie (/home/vpopmail/domains/euro-tech.com/)
but
the filter specified relative directory which make maildrop confuse to deliver
the
mail.
Can I have any method to solve such problem ?
Thanks for advance.
Regards,
Hilary
Sam Varshavchik wrote:
Hilary Luk writes:
Hello,
The following shown on maillog after change maildirfilterconfig to the follow:
[root@mail01]# cat .qmail-hello
|/usr/local/bin/maildrop /home/vpopmail/domains/euro-tech.com/hello/Maildir
This can't be right. maildrop's argument should be the filter file, not the
maildir.
if ((/^test/:b))
{
to "./Maildir /.test/."
}
This is wrong too. The extra spaces don't belong there.