Bug Tracker item #2781437, was opened at 2009-04-26 03:50
Message generated for change (Comment added) made by sbajic
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2781437&group_id=250683
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Alan Ott (otterpop81)
Assigned to: Nobody/Anonymous (nobody)
Summary: Multiple message delivery when not in daemon mode
Initial Comment:
When not running in daemon mode, if an email comes in with multiple recipients
for the same domain, DSPAM will call sendmail once for each recipient, but each
call will have the entire recipient list, causing recipients to get such
messages multiple times.
For example, a message comes in with a recipient list (TO:) of us...@domain,
us...@domain. Postfix will call:
/usr/sbin/sendmail -i -i -f [SENDER_EMAIL] -- us...@domain us...@domain
two times. This causes the message to get delivered to each user twice.
Further, both of the emails delivered have different DSPAM signatures, one
stored under user1's database, and one stored under user2's database. Remember
that both users got both emails. So now, one of these emails will get
re-trained when sent to spam-us...@domain. If the other one is forwarded to
spam-us...@domain, it will not re-train, because it's data is stored under
user2's database (even though it was delivered to user1 as well as user2).
This was observed using Postfix with DSPAM NOT in daemon mode. When in daemon
mode, set up as per doc/postfix.txt, it works fine.
----------------------------------------------------------------------
>Comment By: Stevan Bajic (sbajic)
Date: 2009-05-22 23:00
Message:
Assuming you have the following in your master.cf:
dspam unix - n n - - pipe
flags=Rhq user=dspam:mail argv=/usr/bin/dspam
--deliver=spam,innocent
--user ${recipient}
-i -f ${sender} -- ${recipient}
Then adding the following into your main.cf will solve the issue:
dspam_destination_recipient_limit = 1
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2781437&group_id=250683
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
Dspam-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-devel