Re: A strange problem when adding DSPAM to Postfix

2015-01-30 Thread Noel Jones
Postfix logs all transactions. No logs suggests that either your logging is broken or something other than postfix is providing mail service to outside clients. For the logging, make sure that chroot column in master.cf is set to "n" for all services. Use lsof or some other system tool to see wh

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Орхан Ибад-оглы Гасымов
When looking into Postfix messages in "/var/log/maillog", I noticed that for every mail that I send between 2 mailboxes on my local server, Posfix creates messages. When I send a mail from outer server to my server, Posfix creates no messages at all (although with no DSPAM tags, mail is delivered).

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread li...@rhsoft.net
Am 29.01.2015 um 19:03 schrieb Орхан Ибад-оглы Гасымов: This message was really informative, thanks. Actually in my configs I use spaces where needed, it's just my mail client deletes spases if they are the first character of a sentence. I didn't find anything useful in DSPAM logs, but I'll tak

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Орхан Ибад-оглы Гасымов
This message was really informative, thanks. Actually in my configs I use spaces where needed, it's just my mail client deletes spases if they are the first character of a sentence. I didn't find anything useful in DSPAM logs, but I'll take a second look at them tomorrow. The only thing I'd like to

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Noel Jones
On 1/29/2015 10:52 AM, Орхан Ибад-оглы Гасымов wrote: > I always intend to understand configs that I take from examples. The > problem is, almost all examples describing "master.cf > " say to put the string: > > "-o content_filter=lmtp:unix:/var/run/dspam.sock" > under > "smtp

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Орхан Ибад-оглы Гасымов
In the configs I use all spacings properly (as you could see, if you had a glance at them). It's just my mail client deletes spaces if they are the first character of a string. Once again: the problem is that if I use this in "master.cf": smtp inet n - n - - smtpd -o content_filter=lmtp:unix:/va

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread li...@rhsoft.net
Am 29.01.2015 um 17:52 schrieb Орхан Ибад-оглы Гасымов: 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 if you write it taht way it is completly wrong sm

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Орхан Ибад-оглы Гасымов
I always intend to understand configs that I take from examples. The problem is, almost all examples describing "master.cf" 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 ac

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Noel Jones
The fix I provided is correct. If it doesn't work, then either you are editing the wrong postfix config or you have some additional problem. -- Noel Jones On 1/29/2015 10:19 AM, Орхан Ибад-оглы Гасымов wrote: > That string does nothing when uncommented. Previously it was > uncommented, but t

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Орхан Ибад-оглы Гасымов
That string does nothing when uncommented. Previously it was uncommented, but then DSPAM didn't tag headers at all. Then I copied that string under string starting with "smtps" (as you can see in "master.cf"), and DSPAM started to tag mails from local users, but not from outer domains. After tha

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Noel Jones
On 1/29/2015 7:32 AM, Орхан Ибад-оглы Гасымов wrote: > > 2. master.cf : > > # > == > # service type private unpriv chroot wakeup maxproc command + args > # (yes) (yes) (yes) (never) (

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Орхан Ибад-оглы Гасымов
OK. 1. postconf -n: broken_sasl_auth_clients = yes command_directory = /usr/local/sbin config_directory = /usr/local/etc/postfix daemon_directory = /usr/local/libexec/postfix data_directory = /var/db/postfix debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin d

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread li...@rhsoft.net
please don't top-post and don't link to external ressources especially not ones require javascript * output of "pstconf -n" * "master.cf" * directly into the mail the whole sentence with "unders smtp and not under smtps" makes no sense Am 29.01.2015 um 11:25 schrieb Орхан Ибад-оглы Гасымов: Pe

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Орхан Ибад-оглы Гасымов
Personally for me, it's an interesting situation: DSPAM works, but tags only local mail; other mail is delivered as if there's no content filter at all. Maybe something is wrong with my "master.cf" file? If anyone here used Postfix with DSPAM, please take a look at my Postfix configs, I'm stuck in

Re: A strange problem when adding DSPAM to Postfix

2015-01-28 Thread Орхан Ибад-оглы Гасымов
I read the file "postfix.txt" in shared docs of DSPAM, 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.co

Re: A strange problem when adding DSPAM to Postfix

2015-01-28 Thread Орхан Ибад-оглы Гасымов
"...on the dspam list are for sure more people using dspam as here" - probably correct. That's why I started conversation with a question: "Did anyone had this type of misconfiguration before?" If nobody on this list ever used DSPAM, then there's no point to bother list users with questions about P

Re: A strange problem when adding DSPAM to Postfix

2015-01-28 Thread li...@rhsoft.net
Am 28.01.2015 um 19:44 schrieb Орхан Ибад-оглы Гасымов: Thanks for your reply. 1. "...this is the wrong list" - disagree: if the result comes from interaction of two pieces of software (in this case, Postfix and DSPAM), either list could be considered relevant. Following this idea, I've emailed

Re: A strange problem when adding DSPAM to Postfix

2015-01-28 Thread Орхан Ибад-оглы Гасымов
Thanks for your reply. 1. "...this is the wrong list" - disagree: if the result comes from interaction of two pieces of software (in this case, Postfix and DSPAM), either list could be considered relevant. Following this idea, I've emailed my question to DSPAM mailing list too. 2. "...dspam is ab

Re: A strange problem when adding DSPAM to Postfix

2015-01-28 Thread li...@rhsoft.net
Am 28.01.2015 um 19:04 schrieb Орхан Ибад-оглы Гасымов: Trying to add DSPAM to my Postfix - Dovecot setup, I came across an interesting situation, maybe someone here had a similar problem before? Here's what happens: Only local mail (i.e. letters sent from one mailbox to another mailbox on my s

A strange problem when adding DSPAM to Postfix

2015-01-28 Thread Орхан Ибад-оглы Гасымов
Hello! Trying to add DSPAM to my Postfix - Dovecot setup, I came across an interesting situation, maybe someone here had a similar problem before? 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 s