From: "Veikko \"Wexi\" Skurnik" on
Hi

I'm having trouble configuring a working duplicate filter for my mail
server. This simple procmail recipe does the trick:

MAILDIR=/var/vmail

:0 Wh: msgid.lock

| formail -D 8192 .msgid.cache


The question is, is it possible to configure postfix to use procmail as
a content filter along with ClamAV and then after the filtering, postfix
gives the messages to Dovecot's deliver for delivery?

I basically want to do this:

Unfiltered mail -> Postfix -> Procmail filter -> ClamAV filter ->
Postfix -> Dovecot delivery

My mail server is otherwise working fine but I want to eliminate the
multiple delivery of a message to a virtual users Maildir that has more
than one e-mail address.

Any help will be greatly appreciated
Wexi

--
* Veikko "Wexi" Skurnik: +358(44)5288338 *
* wexi(a)wexin.net Wexi(a)IRCNet *
* N�ytt�m�nkatu 4 B 12 33720 Tampere *
* "Kosminen balanssi ei saa j�rkky�" *

From: "Veikko \"Wexi\" Skurnik" on
On 12.2.2010 15:12, Veikko "Wexi" Skurnik wrote:
> Hi
>
> I'm having trouble configuring a working duplicate filter for my mail
> server. This simple procmail recipe does the trick:
>
> MAILDIR=/var/vmail
>
> :0 Wh: msgid.lock
>
> | formail -D 8192 .msgid.cache
>
>
> The question is, is it possible to configure postfix to use procmail
> as a content filter along with ClamAV and then after the filtering,
> postfix gives the messages to Dovecot's deliver for delivery?
>
> I basically want to do this:
>
> Unfiltered mail -> Postfix -> Procmail filter -> ClamAV filter ->
> Postfix -> Dovecot delivery
>
> My mail server is otherwise working fine but I want to eliminate the
> multiple delivery of a message to a virtual users Maildir that has
> more than one e-mail address.
>
> Any help will be greatly appreciated
> Wexi
>
Does anyone have any ideas regarding this. If you know a better way to
eliminate duplicates than procmail please tell me, I've been struggling
with this for a while now and haven't found an acceptable solution...

Wexi

--
* Veikko "Wexi" Skurnik: +358(44)5288338 *
* wexi(a)wexin.net Wexi(a)IRCNet *
* N�ytt�m�nkatu 4 B 12 33720 Tampere *
* "Kosminen balanssi ei saa j�rkky�" *