From: kazabeDELETE on
Hi.

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 (or what another tool or process can helpme
to doit).

Im looking in google for that, but the information founded is about
procmail, not to maildrop :(. (and apparently procmail dont work fine
with the virtual users).

Thanks in advance

From: Ralf Hildebrandt on
On 2007-08-11, kazabeDELETE(a)gmailDELETE.com <kazabe(a)gmail.com> wrote:
> Hi.
>
> 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.

You misconfigured postfix.
Show master.cf

--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt(a)charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to plonk(a)charite.de
From: kazabeDELETE on
On 12 ago, 06:24, Ralf Hildebrandt <hil...(a)charite.de> wrote:
> You misconfigured postfix.
> Show master.cf
>
Here is

smtp inet n - - - - smtpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
rewrite unix - - - - - trivial-
rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 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)
ifmail unix - 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

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

From: Ralf Hildebrandt on
On 2007-08-13, kazabeDELETE(a)gmailDELETE.com <kazabe(a)gmail.com> wrote:
> On 12 ago, 06:24, Ralf Hildebrandt <hil...(a)charite.de> wrote:
>> You misconfigured postfix.
>> Show master.cf
>>
> Here is
>
> smtp inet n - - - - smtpd

That should be:

smtp inet n - - - - smtpd -o receive_override_options=no_address_mappings

> 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

This one lacks:
-o receive_override_options=no_unknown_recipient_checks

--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt(a)charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to plonk(a)charite.de