Hi Reza, Le mercredi 25 août 2010 à 16:45:22 (+0700), Reza Muhammad a écrit : > Hi, > > I've been meaning to try dspam for a while but always have been hesitant to > try because of somewhat confusing > documentation,
You're welcome to share your comments on the documentation given your recent experience. The git repository is open, patches, and any proposals which can help improving the documentation are welcome ;) > but finally I tried it today, and it seems to work, barely. > > Before I have dspam, my mail server setup is running: > > smtp -> dkim-filter -> dovecot with sieve plugin (virtual user with > psql) > > > By having dspam, I imagine, I would have it somewhat like this: > > smtp -> dkim-filter -> dspam -> dovecot with sieve plugin Have you had a look to the DSPAM wiki? I run a similar setup (with MySQL) which I have described at: https://sourceforge.net/apps/mediawiki/dspam/index.php?title=Integrate_DSPAM_into_the_Debian-based_ISPmail_setup > Before I talk about my problems, let me show my configurations: > The server itself is running on: > - Ubuntu 8.04 LTS > - Dspam 3.6.8 installed via Ubuntu repo AFAIK not directly related to your question, but you might want to run a more recent release to avoid being hit by bugs which are already fixed. I build packages for Debian Lenny which are meant to be uploaded to Debian as soon as possible. You might want to take the source package and build them for Ubuntu: http://packages.kirya.net/debian/pool/main/d/dspam/ [...] > Again, with these setups, both dspam and postfix can run, but not without its > problems. Hence, my questions :) > > 1. Whenever there's an incoming mail, I think I perceive it as mail being > transferred to smtp, gets redirected to dspam, then reinjected to smtp, then > dovecot for delivery. my /var/log/mail.log looks like this: [...] > So it looks like the incoming mail is received a few times.. Is this normal? > Would this cause a "bottleneck" when there are lots of incoming mail at the > same time? Do you guys have any better solution? Use dovecot as a LDA - this solution has drawbacks as you would then have to use dovecot for all mail sent to DSPAM. I have already opened a feature request to add the possibility to define delivery profiles to DSPAM (to pass mail to dovecot or to another LDA depending on the situation). > 2. I still can't seem to get dspam-retrain to work whenever I forward an > uncaught spam message to s...@mydomain.com. When I forward the message, I > would get: > > Aug 25 16:31:25 myhostname postfix/qmgr[24572]: E13E511C3A4: > from=<rez...@mydomain.com>, size=2854, nrcpt=1 (queue active) > Aug 25 16:31:25 myhostname dspam[24476]: Unable to find a valid > signature. Aborting. > Aug 25 16:31:25 myhostname dspam[24476]: process_message returned error > -5. dropping message. > Aug 25 16:31:25 myhostname postfix/lmtp[26099]: E13E511C3A4: > to=<s...@mydomain.com>, relay=myhostname.mydomain.com[/var/run/dspam.sock], > delay=1, delays=0.92/0.01/0/0.08, dsn=2.6.0, status=sent (250 2.6.0 > <s...@mydomain.com> Message accepted for delivery) > > But, when I looked at the header of the message I was forwarding, it had a > "X-DSPAM-Signature". But why didn't it see it as a valid signature? > > 3. The last thing I notice is, whenever there's a warning or error (like the > message above, or if there's a ehlo required error), dspam would spit > something like this on stdout: > > WARNING: nonstandard use of \\ in a string literal > LINE 1: ... '2,4c74dee8244761101518019', 3492, CURRENT_DATE, > '\\000\\00... > ^ > HINT: Use the escape string syntax for backslashes, e.g., E'\\'. > > I assume it was caused by the pgsql_objects.sql but I have no idea how to fix > them. As I don't use postgresql, I am not able to answer to this, but there's an ongoing discussion on the following bug: https://sourceforge.net/tracker/?func=detail&aid=3023888&group_id=250683&atid=1126467 Cheers, Julien -- Julien Valroff <jul...@kirya.net> http://www.kirya.net GPG key: 1024D/9F71D449 17F4 93D8 746F F011 B845 9F91 210B F2AB 9F71 D449 ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user