Thanks a lot for your work, I really appreciate your involvement.

Unfortunately, I can't quite accommodate your setup for my case. According to 
your "main.cf" file, you went with a standard setup, and your SMTP server uses 
port 25, and IMAP server (seemingly) uses port 143. With this setup, probably 
if I replicate everything you did, my DSPAM will work OK for all incoming mails.

However, my setup is different: SMTP server uses port 465 and IMAP server uses 
port 993; both use SSL encryption. Maybe, technically it doesn't mean a lot 
from DSPAM integration point of view, but my problem is that... well, for an 
unknown reason, I experience problems! When I try to follow "postfix.txt", I 
get no result. Only if I use this:

smtps      inet  n       -       n       -       -       smtpd
(space)-o content_filter=lmtp:unix:/var/run/dspam.sock

I get local mail tagged, but mail from external servers comes with no tag.

I think the only way to find the cause, is for a person with more experience 
than me to try to replicate my setup as much as possible. Currently you're the 
only one who is really close to that, because you've already done most of the 
work setting up a Postfix - DSPAM - Dovecot(?) interaction. Could you please 
modify your test setup a bit? Try to use ports 465 & 993 for SMTP and IMAP, and 
SSL encryption for both. Then make sure that DSPAM tags all incoming mails.

If you get everything working with no problems, then I'll now for sure that my 
problem is...well... between the chair and the keyboard, obviously.


Четверг, 29 января 2015, 21:04 -07:00 от Eric Broch <[email protected]>:
>Hi,
>
>Sorry it took so long to get back to you. I set up a postfix/dspam
      combination on a CentOS 7 test server. I was able to get the
      system working following the instructions, almost verbatim, in the
      postfix.txt I sent you in an earlier post. I've put the dspam.conf
      and postfix files, main.cf and master.cf, on my ftp site in the
      following directory:  ftp://ftp.whitehorsetc.com/pub/dspam/temp/ where 
you're free to download and look at them. I sent a test
      email from another smtp server and the email had all the DSPAM
      headers in it.
>
>Postfix version is 2.2.10
>Dspam version is 3.10.2
>
>Eric
>
>There are some differences between our two setups. 1) I set up
      MySQL 
>
>On 1/29/2015 9:47 AM, Орхан Касумов wrote:
>>I always intend to understand configs that I take from examples.
      The problem is, almost all examples say to put the string:
>>
>>"-o content_filter=lmtp:unix:/var/run/dspam.sock"
>>under 
>>"smtp      inet  n       -       n       -       -       smtpd"
>>
>>In my setup, if I do so, it accomplishes nothing: DSPAM doesn't
      tag headers at all.
>>
>>What worked in my case for local mails, was the same string
>>
>>"-o content_filter=lmtp:unix:/var/run/dspam.sock"
>>under 
>>"smtps      inet  n       -       n       -       -       smtpd"
>>
>>Then DSPAM started to tag headers for mail from local users.
>>
>>I don't know why this happens, maybe it's because of SSL configs
      in Postfix? (However, I've provided "main.cf", is there something
      wrong?)
>>But if my current way of applying a content filter is not correct,
      then with "correct" config like in examples:
>>
>>smtp inet n - n - - smtpd
>>-o content_filter=lmtp:unix:/var/run/dspam.sock
>>
>>DSPAM just doesn't tag any header. We can describe the problem
        in this way, if you wish.
>>
>>
>>Четверг, 29 января 2015, 9:09 -07:00 от Eric Broch <[email protected]> :
>>>On 1/29/2015
                7:48 AM, Håkon Alstadheim wrote:
>>>> Obvously all readmes and docs need to be applied
                with some thought,
>>>> never just slavishly cut and paste
>>>Obviously you haven't read the document.
>>>
>>>
>>>------------------------------------------------------------------------------
>>>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
>>>[email protected]
>>>https://lists.sourceforge.net/lists/listinfo/dspam-user
>>
>>
>>
>>------------------------------------------------------------------------------
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
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/dspam-user
>
>------------------------------------------------------------------------------
>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
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/dspam-user

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to