Paul Waldo a écrit :
>Hi all,
>
>I have a bit of a complicated setup, and I was hoping that someone could shed
>a bit of light.
>
>I'm using dspam 3.6.2, postfix 2.2.4, and dovecot 0.99. I use fetchmail to
>get my email from my ISP. I have my ISP collect mail for
><anyuser>@mydomain.com and put it in one inbox for <me>@mydomain.com. So, for
>example, president@mydomain.com and vicepresident@mydomain.com all end up in
>my inbox at the ISP.
>
>Once fetchmail pulls all my mail from the ISP, I deliver it to postfix. I
>have a postfix virtual rule that says deliver all mydomain.com mail to the
>local user pwaldo. Great so far, eh? :-)
>
>Now the dspam problem comes in. Dspam seems to get confused by the name
>changes; it thinks that there are separate users like president@mydomain.com
>and vicepresident@mydomain.com.
>
you could expand aliases before dspam. (I personally don't like this,
except for few accounts).
If using mysql, you could use virtual_user_aliases.sql instead of
virtual_users.sql and fill in the uids (no auto incement in
virtual_user_aliases.sql) manually. This way, you could give
president@... and vp@... the same uid.
you'll of course need to clean up your db (remove the unused uid in all
the tables), possibly after merging the two users.
> An even weirder issue is that when I do
>"dspam_stats", I get stats for everybody that I sent mail *to*! I guess that
>would explain why when I send mail to someone for the first time, that
>someone also gets a copy of the firstrun.txt file mailed to them :-0.
>
>
>
don't pass "outbound" mail to dspam. one way is to use the FILTER
keyword. another way is to use multiple postfix instances, in which case
you can setup transport maps for filtering. Follow up on the postfix ML.
>I also cannot seem to cause dspam to train properly. Spam comes to me as
>pwaldo@mydomain.com. Dspam updates the stats for each incoming mail for the
>user pwaldo@mydomain.com. When I get spam and want to retrain, I forward the
>spam to spam-pwaldo@waldoware.com, but this increments the stats for user
>pwaldo. When I look at my dspam web UI, it tells me to forward spam mail to
>"spam-pwaldo@mydomain.com@yourdomain.com". This is obviously not a valid
>email address...
>
>
I don't use the web ui. sorry.
Received on Wed Jan 25 19:31:10 2006
This archive was generated by hypermail 2.1.8 : Thu Jan 26 2006 - 00:00:01 EST