On 29. jan. 2015 11:23, Орхан Касумов wrote:

Personally for me, it's an interesting situation: DSPAM works, but tags only local mail; other mail is delivered as if there was no content filter at all. Maybe something is wrong with my "master.cf" file?

If anyone here used DSPAM with Postfix, please take a look at my Postfix configs, I'm stuck in this situation and don't know what troubleshooting steps to take further.

Thanks in advance!




Четверг, 29 января 2015, 11:25 +03:00 от Орхан Касумов <orkhan-az...@mail.ru>:

    Actually I tried it before and now tried it again to double-check
    - it doesn't work, situation is the same.


    Четверг, 29 января 2015, 1:18 -07:00 от Eric Broch
    <ebr...@whitehorsetc.com>:

        1) According to the postfix.txt you should have
        TrustedDeliveryAgent commented out.


        On 1/29/2015 12:00 AM, Орхан Касумов wrote:

        I read the file "postfix.txt" in shared docs, but I can't
        make DSPAM insert any headers into mails if I only specify it
        as a content filter under "smtp" in "master.cf", and not
        under "smtps". Probably my configuration files (with stripped
        comments) will explain everything better:

        dspam.conf:
        https://cloud.mail.ru/public/8eda6c0df06a/dspam.conf.txt
        master.cf:
        https://cloud.mail.ru/public/7a06ab781307/master.cf.txt
        main.cf: https://cloud.mail.ru/public/2dd1062220e2/main.cf.txt

        For simplicity of my first setup, I installed DSPAM on the
        same machine as Postfix, and configured it to use
        libhash_drv.so, not other DB drivers. Software versions are
        the latest DSPAM and Postfix installed on FreeBSD 10.0. I
        didn't change too many defaults in configs, but maybe I've
        misconfigured something so obvious that any experienced user
        will be able to point it out right away.

        Please help me to find the error, any help is highly appreciated!




        Среда, 28 января 2015, 11:49 -07:00 от Eric Broch
        <ebr...@whitehorsetc.com>
        <//e.mail.ru/compose/?mailto=mailto%3aebr...@whitehorsetc.com>:

            What's your master.cf look like?
            What's your dspam.conf look like?

            On 1/28/2015 11:01 AM, Орхан Касумов wrote:
            Great!

            Trying to add DSPAM to my Postfix - Dovecot setup, I
            came across an interesting situation, maybe someone here
            had a similar situation? Here's what happens:

            Only local mail (i.e. letters sent from one mailbox to
            another mailbox on my server) is passed through DSPAM.
            Emails from other servers are received, but no DSPAM
            headers are inserted in them. And "dspam_stats" command
            shows no hits in the second case, while there are hits
            for the local mail.

            Did anyone had this type of misconfiguration before?
            Your help would be highly appreciated!





Well, it seems nobody "official" is stepping in here, so I will have a go :-)

Obvously all readmes and docs need to be applied with some thought, never just slavishly cut and paste. What you need to think about is: - How is mail handled by YOUR postfix ? Draw maps of how a mail flows (incoming and outgoing) in YOUR specific system. - Think about which mails you want piped through dspam (usually not mail from you to the world).
- If you have special needs, you may ned to either
x) set up a recipient map or transport map on your smtps port to handle <user>-spam and <user>-nospam.
           I find that a bit fiddly,
x) set up multiple postfix instances to easily route mail from different sources through dspam once and only once.
           Debian has a nice framework for doing so.
x) remove the filter and set up dspam as local delivery agent, which in turn delivers to the mailboxes.
       x) other alternatives I can not remember right now

NOTE! You most likely do NOT want to set up dspam accounts for everyone you ar sending mail TO. For my own server, most of the mail I get through smtps MAY be ment for <user>-spam@myhost or <user>-nospam@myhost, but other than that I do not want mail submitted through smtps to go via dspam. In fact I found using the retrainging through mail-adresses to be cumbersome, so I have set up my local mail-store (dovecot) to retrain whenever users move mail into/out-of the spam folder by using the dovecot antispam plugin. Far cleaner.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to