"enable_original_recipient = no" does not avoid duplicate mails (on my system...)

From: Andrea Zoose (no email)
Date: Tue Dec 09 2003 - 11:23:43 EST


I still have problems with duplicate mails.

I tried procmailrc trick, setting /etc/procmailrc as follows:

##############
:0 Wh: $1.lock
| /usr/bin/procmail -D 8192 /var/cache/procmail/$1
##############

and using

##############
mailbox_command = /usr/bin/procmail -a "$USER"
##############

in /etc/postfix/main.cf .

Such configuration did not resolve.
No cache was created in /var/cache/procmail directory,
which exists and is empty.
Duplicate mails were still present.

So I installed postfix-2.0.16-20031207.

In main.cf, I set the following command:

##############
enable_original_recipient = no
##############

Wrong behavior remains.
If I send a mail to ,
and a real user account appears in both aliases, such user
still receives the same message twice.

My postfix has a virus scanner system with amavis 0.3.12,
that is in my main.cf there is the following command:

##############
content_filter = vscan:
##############

and in my master.cf there are the following lines:

##############
vscan unix - n n - 20 pipe user=amavis argv=/usr/sbin/amavis ${sender} ${recipient}
localhost:10025 inet n - n - - smtpd -o content_filter=
##############

Where is the problem?
Am I using enable_original_recipient switch correctly?
Why do I receive duplicate mails?
May amavis work in such manner to make enable_original_recipient
switch useless?

Thank you for any help,
                           Andrea Z.
                           Genova - Italy








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD