Den 13. des. 2011 23:20, skrev Tom Hendrikx:
> On 13/12/11 23:04, Håkon Alstadheim wrote:
>> Den 13. des. 2011 20:07, skrev Håkon Alstadheim:
>>> Den 18. nov. 2011 10:11, skrev Igor Smitran:
>>>> Hello all.
>>>>
>>>> My setup is this:
>>>>
>>>> postfix:25>    dspam>    postfix:2525>    dovecot-lmtp>    user mailbox
>>>>
>>>> for incoming mail dspam is only marking message as spam in header.
>>>> During delivery sieve filter moves message to Spam if it founds dspam
>>>> tag in header.
>>>>
>>>>
>>>> for outgoing emails dspam is quarantining mail. Since all users are
>>>> inside one group admin can use webui to retrain dspam in case of an error.
>>>> And there is my problem.
>>>>
>>>> When admin tries to retrain dspam by clicking "Deliver checked" error
>>>> occures. In my postfix maillog i can see:
>>>>
>>>> warning: Illegal address syntax from localhost[127.0.0.1] in RCPT
>>>> command:<????????>
>>>>
>>>> Looks like dspam interprets email wrong because something is wrong in
>>>> group managing inside dspam.
>>>>
>>>> If groupname is for example "GLOBAL" error would be
>>>>
>>>> warning: Illegal address syntax from localhost[127.0.0.1] in RCPT
>>>> command:<????AL>
>>>>
>>>> If groupname is for example "TE" error would be
>>>>
>>>> warning: Illegal address syntax from localhost[127.0.0.1] in RCPT
>>>> command:<????????>
>>>>
>>>> my group file looks like this:
>>>> nl:shared,managed:*,@my_domain.tld
>>>>
>>>> In dspam there are only two virtual users - nl and my_domain.tld
>>>>
>>>> Or maybe dspam-webui is to be blamed, i don't know :(
>>>>
>>>> server is scientific linux 6.1 - dspam is installed from epel repo:
>>>> dspam-libs-3.10.1-1.el6.i686
>>>> dspam-web-3.10.1-1.el6.i686
>>>> dspam-mysql-3.10.1-1.el6.i686
>>>> dspam-3.10.1-1.el6.i386
>>>> dspam-client-3.10.1-1.el6.i686
>>>>
>>>> I hope someone will be able to reproduce this.
>>> Did you get anywhere with this problem ? Had a couple of mails today in
>>> quarantine that disappeared (recently upgraded to 3.10.1). I have this
>>> in my mail.log:
>>> ---
>>> Dec 13 15:25:33 garbo postfix/smtpd[4086]: connect from localhost[127.0.0.1]
>>> Dec 13 15:25:33 garbo postfix/smtpd[4086]: warning: Illegal address
>>> syntax from localhost[127.0.0.1] in RCPT command:<>
>>> Dec 13 15:25:33 garbo dspam[4085]: Got error 501 in response to RCPT TO:
>>> 501 5.1.3 Bad recipient address syntax
>>> Dec 13 15:25:33 garbo postfix/smtpd[4086]: disconnect from
>>> localhost[127.0.0.1]
>>> Dec 13 15:25:33 garbo postfix/smtpd[4086]: connect from localhost[127.0.0.1]
>>> Dec 13 15:25:33 garbo postfix/smtpd[4086]: NOQUEUE: reject: RCPT from
>>> localhost[127.0.0.1]: 550 5.1.1<      n...@alstadheim.priv.no>: Recipient
>>> address rejected: User unknown in local recipient table; from=<>
>>> to=<????n...@alstadheim.priv.no>   proto=SMTP helo=<localhost>
>>> Dec 13 15:25:33 garbo dspam[4087]: Got error 550 in response to RCPT TO:
>>> 550 5.1.1<      n...@alstadheim.priv.no>: Recipient address rejected: User
>>> unknown in local recipient table
>>> Dec 13 15:25:33 garbo postfix/smtpd[4086]: disconnect from
>>> localhost[127.0.0.1]
>>>
>>> ---
>>> My mail address is<hakon@...>, not<      n@...>.
>>>
>>>
>> Got some more logging going, and there is nothing wrong with the
>> command-line I'm giving to dspam, but postfix is seeing a DIFFERENT
>> garbled RCPT TO for each test. Something is randomizing memory on the
>> way. I'd post my /etc/dspam/dspam.conf, but it is a bit of an
>> embarassing mess. Dspam is clearly attempting to deliver through this
>> part of my config though:
>> ---
>> DeliveryHost        127.0.0.1
>> DeliveryPort        10025
>> DeliveryIdent       localhost
>> DeliveryProto       SMTP
>> --
>> I'm running dspam from debian squeeze-backports, version   Installed:
>> 3.10.1+dfsg-3~bpo60+1
>>
> Hi Hakon,
>
> Would it be possible to test whether dspam 3.10.0 (or wherever you
> upgraded from, please specify) is able to deliver the exact same message
> from quarantine?
>
> I assume that you had issues delivering mail from quarantine before (and
> tested that, opposed to 'never tried, but i guess it was working')?
I run a VERY low volume site, and dspam was well trained, and behind som 
rbl-checks so this was the first time I had an erroneous Quarantine 
since upgrading on december 6th. I guess I should compile my own, but 
this server is only a home/family thing so I try not to spend too much 
time nursing my setup.

 From my server logs it seems I upgraded from 3.6.8-9 to  
3.10.1+dfsg-3~bpo60+1 on December 6th, and I can't seem to find any 
version for squeeze, so I guess I've been running the same binary 
(3.6.8) since lenny. I hacked the .cgi frontend a bit over time though.

Adding lenny back into my sources, so I've got lenny, squeeze and 
squeeze-backports (squeeze is current stable ), the versions I can test 
easily are  3.10.1+dfsg-3~bpo60+1 and    3.6.8-9 0. Anyway , i would 
guess that the breakage I'm seeing is quite likely coming from the 
debian build, would you not say ? Seeing as I'm running a hybrid system 
(with only parts of it from backports) one might suspect that as a 
source of my errors, but when I issue a dist-upgrade command, the only 
stuff that has been kept back is postgresql. Inspecting the dependencies 
with the ldd command makes gives me no indications of anything amiss. 
See command output below if you are very curious.

--------------ldd fiddling follows:-----
for a in $(for f in $(ldd `which dspam` | awk '{print $1}'); do dpkg -S 
$f;done|awk '{print $1}' |sed -e 's/://' |sort -u) ; do apt-cache policy 
$a;done
dpkg: *linux-gate.so.1* not found.
libc6:
   Installed: 2.11.2-10
   Candidate: 2.11.2-10
   Version table:
  *** 2.11.2-10 0
         500 http://ftp.no.debian.org/debian/ squeeze/main i386 Packages
         500 http://ftp.se.debian.org/debian/ squeeze/main i386 Packages
         100 /var/lib/dpkg/status
      2.7-18lenny7 0
         500 http://ftp.no.debian.org/debian/ lenny/main i386 Packages
         500 http://ftp.se.debian.org/debian/ lenny/main i386 Packages
         500 http://security.debian.org/ lenny/updates/main i386 Packages
libc6-i686:
   Installed: 2.11.2-10
   Candidate: 2.11.2-10
   Version table:
  *** 2.11.2-10 0
         500 http://ftp.no.debian.org/debian/ squeeze/main i386 Packages
         500 http://ftp.se.debian.org/debian/ squeeze/main i386 Packages
         100 /var/lib/dpkg/status
      2.7-18lenny7 0
         500 http://ftp.no.debian.org/debian/ lenny/main i386 Packages
         500 http://ftp.se.debian.org/debian/ lenny/main i386 Packages
         500 http://security.debian.org/ lenny/updates/main i386 Packages
libdspam7:
   Installed: 3.10.1+dfsg-3~bpo60+1
   Candidate: 3.10.1+dfsg-3~bpo60+1
   Version table:
  *** 3.10.1+dfsg-3~bpo60+1 0
         100 http://www.uk.backports.org/ squeeze-backports/main i386 
Packages
         100 http://ftp.tiscali.nl/pub/mirror/debian-backports/ 
squeeze-backports/main i386 Packages
         100 /var/lib/dpkg/status
      3.6.8-9 0
         500 http://ftp.no.debian.org/debian/ lenny/main i386 Packages
         500 http://ftp.se.debian.org/debian/ lenny/main i386 Packages
libgcrypt11:
   Installed: 1.4.5-2
   Candidate: 1.4.5-2
   Version table:
  *** 1.4.5-2 0
         500 http://ftp.no.debian.org/debian/ squeeze/main i386 Packages
         500 http://ftp.se.debian.org/debian/ squeeze/main i386 Packages
         100 /var/lib/dpkg/status
      1.4.1-1 0
         500 http://ftp.no.debian.org/debian/ lenny/main i386 Packages
         500 http://ftp.se.debian.org/debian/ lenny/main i386 Packages
libgnutls26:
   Installed: 2.8.6-1
   Candidate: 2.8.6-1
   Version table:
  *** 2.8.6-1 0
         500 http://ftp.no.debian.org/debian/ squeeze/main i386 Packages
         500 http://ftp.se.debian.org/debian/ squeeze/main i386 Packages
         100 /var/lib/dpkg/status
      2.4.2-6+lenny2 0
         500 http://ftp.no.debian.org/debian/ lenny/main i386 Packages
         500 http://ftp.se.debian.org/debian/ lenny/main i386 Packages
         500 http://security.debian.org/ lenny/updates/main i386 Packages
libgpg-error0:
   Installed: 1.6-1
   Candidate: 1.6-1
   Version table:
  *** 1.6-1 0
         500 http://ftp.no.debian.org/debian/ squeeze/main i386 Packages
         500 http://ftp.se.debian.org/debian/ squeeze/main i386 Packages
         100 /var/lib/dpkg/status
      1.4-2 0
         500 http://ftp.no.debian.org/debian/ lenny/main i386 Packages
         500 http://ftp.se.debian.org/debian/ lenny/main i386 Packages
libldap-2.4-2:
   Installed: 2.4.23-7.2
   Candidate: 2.4.23-7.2
   Version table:
  *** 2.4.23-7.2 0
         500 http://ftp.no.debian.org/debian/ squeeze/main i386 Packages
         500 http://ftp.se.debian.org/debian/ squeeze/main i386 Packages
         100 /var/lib/dpkg/status
      2.4.11-1+lenny2.1 0
         500 http://ftp.no.debian.org/debian/ lenny/main i386 Packages
         500 http://ftp.se.debian.org/debian/ lenny/main i386 Packages
      2.4.11-1+lenny2 0
         500 http://security.debian.org/ lenny/updates/main i386 Packages
libsasl2-2:
   Installed: 2.1.23.dfsg1-7
   Candidate: 2.1.23.dfsg1-7
   Version table:
  *** 2.1.23.dfsg1-7 0
         500 http://ftp.no.debian.org/debian/ squeeze/main i386 Packages
         500 http://ftp.se.debian.org/debian/ squeeze/main i386 Packages
         100 /var/lib/dpkg/status
      2.1.22.dfsg1-23+lenny1 0
         500 http://ftp.no.debian.org/debian/ lenny/main i386 Packages
         500 http://ftp.se.debian.org/debian/ lenny/main i386 Packages
         500 http://security.debian.org/ lenny/updates/main i386 Packages
libtasn1-3:
   Installed: 2.7-1
   Candidate: 2.7-1
   Version table:
  *** 2.7-1 0
         500 http://ftp.no.debian.org/debian/ squeeze/main i386 Packages
         500 http://ftp.se.debian.org/debian/ squeeze/main i386 Packages
         100 /var/lib/dpkg/status
      1.4-1 0
         500 http://ftp.no.debian.org/debian/ lenny/main i386 Packages
         500 http://ftp.se.debian.org/debian/ lenny/main i386 Packages
zlib1g:
   Installed: 1:1.2.3.4.dfsg-3
   Candidate: 1:1.2.3.4.dfsg-3
   Version table:
  *** 1:1.2.3.4.dfsg-3 0
         500 http://ftp.no.debian.org/debian/ squeeze/main i386 Packages
         500 http://ftp.se.debian.org/debian/ squeeze/main i386 Packages
         100 /var/lib/dpkg/status
      1:1.2.3.3.dfsg-12 0
         500 http://ftp.no.debian.org/debian/ lenny/main i386 Packages
         500 http://ftp.se.debian.org/debian/ lenny/main i386 Packages
0:garbo:/home/hakon#




------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to