Re: [Courier-imap] [OT] Deleting duplicated messages with maildrop

2007-08-11 Thread Tony Earnshaw
kazabe skrev, on 11-08-2007 14:24:

 Im using postfix with the always_bcc feature, to do a backup of all
 the messages in a backup account. Im using too amavis to provide
 antiSpam/Virus support to my server.
 
 Because im using the content filter, the messages are arriving
 duplicated to the backup account.
 
 im using maildrop to move the spam to the user junk folder, but i
 wanna know if maildrop can catch the messages with message-id
 duplicated, and delet them.
 
 Is possible do that?

maildrop can do that, I do it (but not for your reason, you should see 
and get rid of that - see messages on the Postfix ML). In maildroprc:

# Avoid messages with duplicate Message-IDs
`/usr/bin/reformail -D 16000 duplicate.cache`
if ( $RETURNCODE == 0 )
exit

Writes the duplicate.cache db to $HOME/Maildir.

 Im looking in google for that, but the information founded is about
 procmail, not to maildrop :(.

There's a separate maildrop ML.

Best,

--Tonni

-- 
Tony Earnshaw
Email: tonni at hetnet dot nl


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap


Re: [Courier-imap] [OT] Deleting duplicated messages with maildrop

2007-08-11 Thread kazabe
2007/8/11, Ralf Hildebrandt [EMAIL PROTECTED]:
 I have the same setup and it doesn't happen here. Show your master.cf,
 please.

Here is

smtp  inet  n   -   -   -   -   smtpd
pickupfifo  n   -   -   60  1   pickup
cleanup   unix  n   -   -   -   0   cleanup
qmgr  fifo  n   -   -   300 1   qmgr
rewrite   unix  -   -   -   -   -   trivial-rewrite
bounceunix  -   -   -   -   0   bounce
defer unix  -   -   -   -   0   bounce
trace unix  -   -   -   -   0   bounce
verifyunix  -   -   -   -   1   verify
flush unix  n   -   -   1000?   0   flush
proxymap  unix  -   -   n   -   -   proxymap
smtp  unix  -   -   -   -   -   smtp
relay unix  -   -   -   -   -   smtp
showq unix  n   -   -   -   -   showq
error unix  -   -   -   -   -   error
local unix  -   n   n   -   -   local
virtual   unix  -   n   n   -   -   virtual
lmtp  unix  -   -   n   -   -   lmtp
anvil unix  -   -   n   -   1   anvil

maildrop  unix  -   n   n   -   -   pipe
  flags=DRhu user=maildrop argv=/usr/bin/maildrop -d ${recipient}
uucp  unix  -   n   n   -   -   pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmailunix  -   n   n   -   -   pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix  -   n   n   -   -   pipe
  flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -t$nexthop
-f$sender $recipient
scalemail-backend unix  -   n   n   -   2   pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
${nexthop} ${user} ${extension}

smtp-amavis unix -  -   y   -   2   smtp
   -o smtp_data_done_timeout=1200
   -o disable_dns_lookup=yes
127.0.0.1:10025 inet n  -   y   -   -   smtpd
   -o content_filter=
   -o local_recipient_maps=
   -o relay_recipient_maps=
   -o smtpd_restriction_classes=
   -o smtpd_client_restrictions=
   -o smtpd_helo_restrictions=
   -o smtpd_sender_restrictions=
   -o smtpd_recipient_restrictions=permit_mynetworks,reject
   -o mynetworks=127.0.0.0/8
   -o strict_rfc821_envelopes=yes

tlsmgrunix  -   -   -   1000?   1   tlsmgr
scacheunix  -   -   -   -   1   scache
discard   unix  -   -   -   -   -   discard


Thanks for your help

-- 
Imagination is more important than knowlege
A.E.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap