Hi
Thanks for advice. It works, but with the problems:
If size of all emails in a mailox is over warning level, but below quota, I
get quota warning message always when I receive an email, although I should
get it only once per 24 hours.
Moreover, if the email which would exceed the quota is sent, the next quota
warning messages are received in intervals, but that big email won't return
to the sender with pernament error and it stucks in the queue. But the
maildrop exits with exit code 77, though, so the pernament error message
should be send to the sender.
One more thing I've mentioned - Maildir/tmp is filling with about 4 files per
minute (qmail tries to deliver the email ???).
The same problem was by using .qmail:
|/usr/bin/maildrop -w 50
Please help me how can I fix that
Thanks in advance
Best regards
On Monday 14 February 2005 10:18, Scott Ryan wrote:
> On Monday 14 February 2005 10:56, M.Zdila/EpiSoftware Slovakia Ltd. shaped
> the
>
> electrons to say:
> > Hi
> >
> > I use qmail-ldap with courier-imap. Is it somehow possible to setup
> > server side mail filtering? My requiremenst are:
> >
> > - filtering = filtering by email content: email delivery to a specific
> > IMAP folder (and maybe email forwarding and dropping)
> > - filtering of incomming emails using a script written in mail filtering
> > language (e.g. maildrop)
> > - user's individual email filters
> > - quota support
> > - vacation support
> >
> > I've tried to use maildrop, but I can't combine qmail-local with maildrop
> > (and of course maildrop + LDAP)
>
> Why not? what is the problem? Are you using the deliveryprogrampath LDAP
> attribute?
>
> LDAP_PROGRAM (default: "deliveryProgramPath")
>
> Program to execute for all incoming mails. Gets the message as input on
> stdin.
> Example: /usr/bin/program -c -s
> Note: multifield. The same as |/usr/bin/program -c -s in .qmail
> Works only with qmailDotMode set to ldapwithprog or both.
> With ldaponly set deliveryProgramPath is silently ignored.
> Before using it have a look at QLDAPNEWS, qmail-ldap.h, check.c and
> see also 5.2.
> Program delivery is done in addition to local (maildir/mbox)
> delivery. Program delivery can be disabled without having to remove the
> entries. See deliveryMode for more information on both.
> A valid home-directory is needed so either LDAP_MAILSTORE or
> LDAP_HOMEDIR needs to be defined.
>
> > Thanks in advance.
--
Martin Zdila
Analyst/Developer
EpiSoftware Slovakia Ltd.
Juzna Trieda 125, 040 01 Kosice
cellular: +421 908 363 848
phone: +421 55 6770 420
fax: +421 55 6780 439
e-mail: [EMAIL PROTECTED]
www: www.episoftware.com