|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
m.cuypers
mgvd.be
Date: Tue Jun 19 2007 - 04:26:47 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Rocco Scappatura schreef:
> I'm trying to setup Maildrop filtering for many reasons (adding
> disclaimer, put spam email in an ad hoc folder and so on).
>
> I'm using a Postfix+MySQL+Courier-IMAP platform.
>
> I'm using virtual user and maildrop. Herre the relative entry in the
> master.cf file:
>
> .
> .
> .
> virtual unix - n n - - virtual
> .
> .
> .
> maildrop unix - n n - - pipe
> .
> .
> .
>
> I have put in '/etc/maildroprc' the lines below.
>
> if( $SIZE < $SCANSPAMSIZE )
> {
> xfilter "/usr/bin/spamc -u $USER -s $SCANSPAMSIZE"
> }
>
> if (/^X-Spam-Status: *YES/:h)
> {
> exception {
> to "$DEFAULT/.Spam/"
> }
> }
>
> The problem is that when I receive an email for one of my mailbox, that
> message is not scanned by maildrop:
>
> Jun 18 08:37:12 dev postfix/smtpd[16012]: connect from
> relay.sttspa.it[80.74.176.142] Jun 18 08:37:12 dev postfix/smtpd[16012]:
> 3593043E2:
> client=relay.sttspa.it[80.74.176.142]
> Jun 18 08:37:12 dev postfix/cleanup[16017]: 3593043E2:
> message-id=<D1B1DF404A32164AACB366ADFEA7C0E00113A0E0
srv5.stt.loc>
> Jun 18 08:37:12 dev postfix/qmgr[29684]: 3593043E2: from=<xxx
yy>,
> size=1522, nrcpt=1 (queue active) Jun 18 08:37:12 dev
> postfix/smtpd[16012]: disconnect from relay.sttspa.it[80.74.176.142] Jun
> 18 08:37:12 dev postfix/virtual[16019]: 3593043E2:
> to=<rocco
nomesito.it>, relay=virtual, delay=0, status=sent (delivered
> to maildir) Jun 18 08:37:12 dev postfix/qmgr[29684]: 3593043E2: removed
>
> It seems to me the problem is that the message is delivered to the
> virtual mailbox before is scanned ("relay=virtual" on the 6th line
> above).
>
> Have anybody any idea of what it can be the mistake?
Did you set virtual_transport and maildrop_destination_recipient_limit=1
in main.cf?
--
Marc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]