Menu

#69 vdelivermail patch in order to handle maildrop filtering cap

closed-duplicate
nobody
None
5
2007-05-01
2006-10-26
No

We were looking over internet for someone who patched
vdelivermail in order to call maildrop in the delivery
process for filtering purpose.

This kind of implementation using maildrop for
filtering seems to be the cleanest way for us in our
mind, because we do not have to change .qmail-default
behavior in many ways (ie because of other qmail tools
like qmailadmin…).
And therefore, using vdelivermail make us sure to do
many more check regarding vpopmail, like for sample
‘bouncing over-quota mails over full mailboxes’ and
reading dot qmail files.

We founded a patch located here :
http://katastrophos.net/andre/blog/2006/10/03/vpopmail-maildrop-sqwebmail-mailfilter-patch/
but after many check and test this was not as clean as
we wanted.

So we rewritted a patch from scratch, witch is working
fine in ours tests …

in synthesis :

This patch keep the behavior of vdelivermail on all
delivering cases (like bouncing, deferals …). This is
particularly important on the way that vdelivermail
handle quota, and the users notifications.

It also has the granularity of a using a mailfilter
configuration file for domains (ie
/home/vpopmail/domains/onedomain/mailfilter), all
domains (ie /home/vpopmail/domains/mailfilter) … and
indeed a default one in /etc/mailfilter.
If no mailfilter file is present, vdelivermail act as
it does naturally.

You'll find our patch below, if it can help someone ...

Any feedback would be cool :)

Regards,

Discussion

  • Jerome MOLLIER-PIERRET

    The vdelivermail patch for maildrop delivery (tested vpopmail 5.4.17)

     
  • Rick Widmer

    Rick Widmer - 2007-05-01

    Logged In: YES
    user_id=939952
    Originator: NO

    Bill Shupp has added the ability to call maildrop from vdelivermail to 5.4.19. That will become the 'official' way to do so.

     
  • Rick Widmer

    Rick Widmer - 2007-05-01
    • status: open --> closed-duplicate
     

Log in to post a comment.