•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the *nix Software section within the Tech Talk category of DaniWeb, a massive community of 456,609 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,469 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our *nix Software advertiser: Lunarpages Linux Web Hosting
Views: 5218 | Replies: 1
![]() |
•
•
Join Date: Aug 2004
Posts: 12
Reputation:
Rep Power: 5
Solved Threads: 0
I recently set up smtp-vilter 1.1.4, SpamAssassin, and ClamAv 0.75 on Fedora Core 2, I am having problems with the three programs working together. smtp-vilter seems to be working and I can send/receive mail, but clamd and spamd don't seem to be configured right, or they don't have the proper permissions. Here is a section of my mail log file with the errors:
Aug 19 15:33:53 pma smtp-vilter[20173]: clamd: unable to connect socket, Connection refused
Aug 19 15:33:53 pma smtp-vilter[20173]: error during virus scan of file /tmp/vilter.XXXXlVgJIQ
Aug 19 15:33:53 pma smtp-vilter[20173]: marking message (but deliver anyway)
Aug 19 15:33:53 pma sendmail[20176]: i7JKXk0h020176: Milter add: header: X-Virus-Scan: smtp-vilter
Aug 19 15:33:53 pma sendmail[20176]: i7JKXk0h020176: Milter add: header: X-SMTP-Vilter-Version: 1.1.4
Aug 19 15:33:53 pma sendmail[20176]: i7JKXk0h020176: Milter add: header: X-SMTP-Vilter-Backend: vilter-clamd
Aug 19 15:33:53 pma sendmail[20176]: i7JKXk0h020176: Milter add: header: X-SMTP-Vilter-Status: unchecked
Aug 19 15:33:53 pma spamd[20114]: connection from localhost.localdomain [127.0.0.1] at port 36154
Aug 19 15:33:53 pma spamd[20178]: Still running as root: user not specified with -u, not found, or set to root. Fall back to nobody.
Aug 19 15:33:53 pma spamd[20178]: checking message <6.1.2.0.2.20040819154256.035a0e20@smtp.rapco-rfs.com> for (unknown):99.
Aug 19 15:33:53 pma spamd[20178]: bad protocol: header error: (Content-Length mismatch: Expected 49346064674759899 bytes, got 42203 bytes)
Aug 19 15:33:53 pma smtp-vilter[20173]: spamd: no response to STREAM cmd, Success
Aug 19 15:33:53 pma smtp-vilter[20173]: error during spam scan of file /tmp/vilter.XXXXlVgJIQ
Aug 19 15:33:53 pma smtp-vilter[20173]: marking message (but deliver anyway)
Aug 19 15:33:53 pma sendmail[20176]: i7JKXk0h020176: Milter add: header: X-Spam-Checker: smtp-vilter
Aug 19 15:33:53 pma sendmail[20176]: i7JKXk0h020176: Milter add: header: X-SMTP-Vilter-Version: 1.1.4
Aug 19 15:33:53 pma sendmail[20176]: i7JKXk0h020176: Milter add: header: X-SMTP-Vilter-Backend: vilter-spamd
Aug 19 15:33:53 pma sendmail[20176]: i7JKXk0h020176: Milter add: header: X-Spam-Score: 0.0
Aug 19 15:33:53 pma sendmail[20176]: i7JKXk0h020176: Milter add: header: X-Spam-Status: unchecked
Could there be a problem with user or group permissions on any of the directories used by smtp-vilter or clamd? What user should spamassassin be running as, and what permissions are needed on the /tmp folder?
Thanks in advance for any help with this.
Aug 19 15:33:53 pma smtp-vilter[20173]: clamd: unable to connect socket, Connection refused
Aug 19 15:33:53 pma smtp-vilter[20173]: error during virus scan of file /tmp/vilter.XXXXlVgJIQ
Aug 19 15:33:53 pma smtp-vilter[20173]: marking message (but deliver anyway)
Aug 19 15:33:53 pma sendmail[20176]: i7JKXk0h020176: Milter add: header: X-Virus-Scan: smtp-vilter
Aug 19 15:33:53 pma sendmail[20176]: i7JKXk0h020176: Milter add: header: X-SMTP-Vilter-Version: 1.1.4
Aug 19 15:33:53 pma sendmail[20176]: i7JKXk0h020176: Milter add: header: X-SMTP-Vilter-Backend: vilter-clamd
Aug 19 15:33:53 pma sendmail[20176]: i7JKXk0h020176: Milter add: header: X-SMTP-Vilter-Status: unchecked
Aug 19 15:33:53 pma spamd[20114]: connection from localhost.localdomain [127.0.0.1] at port 36154
Aug 19 15:33:53 pma spamd[20178]: Still running as root: user not specified with -u, not found, or set to root. Fall back to nobody.
Aug 19 15:33:53 pma spamd[20178]: checking message <6.1.2.0.2.20040819154256.035a0e20@smtp.rapco-rfs.com> for (unknown):99.
Aug 19 15:33:53 pma spamd[20178]: bad protocol: header error: (Content-Length mismatch: Expected 49346064674759899 bytes, got 42203 bytes)
Aug 19 15:33:53 pma smtp-vilter[20173]: spamd: no response to STREAM cmd, Success
Aug 19 15:33:53 pma smtp-vilter[20173]: error during spam scan of file /tmp/vilter.XXXXlVgJIQ
Aug 19 15:33:53 pma smtp-vilter[20173]: marking message (but deliver anyway)
Aug 19 15:33:53 pma sendmail[20176]: i7JKXk0h020176: Milter add: header: X-Spam-Checker: smtp-vilter
Aug 19 15:33:53 pma sendmail[20176]: i7JKXk0h020176: Milter add: header: X-SMTP-Vilter-Version: 1.1.4
Aug 19 15:33:53 pma sendmail[20176]: i7JKXk0h020176: Milter add: header: X-SMTP-Vilter-Backend: vilter-spamd
Aug 19 15:33:53 pma sendmail[20176]: i7JKXk0h020176: Milter add: header: X-Spam-Score: 0.0
Aug 19 15:33:53 pma sendmail[20176]: i7JKXk0h020176: Milter add: header: X-Spam-Status: unchecked
Could there be a problem with user or group permissions on any of the directories used by smtp-vilter or clamd? What user should spamassassin be running as, and what permissions are needed on the /tmp folder?
Thanks in advance for any help with this.
•
•
Join Date: Aug 2004
Location: Pasadena, Maryland
Posts: 298
Reputation:
Rep Power: 5
Solved Threads: 2
Aug 19 15:33:53 pma smtp-vilter[20173]: clamd: unable to connect socket, Connection refused
clamav seems to not be able to connect. (probably to an external host for updates
then fails the scan without virus definitions, or the port could be in use already)
check the clamav documentation for which ports to allow/deny for clamav.
I usually run spamassassin as the postfix user. (but then I use postfix for my MTA)
file permissions could indeed play a part..
clamav seems to not be able to connect. (probably to an external host for updates
then fails the scan without virus definitions, or the port could be in use already)
check the clamav documentation for which ports to allow/deny for clamav.
I usually run spamassassin as the postfix user. (but then I use postfix for my MTA)
file permissions could indeed play a part..
I used up all my money on you baby...
... and I want it BACK.
... and I want it BACK.
![]() |
•
•
•
•
•
•
•
•
DaniWeb *nix Software Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
ajax applications asp blog bt business business software core developer development erp systems fedora india intel internet java linux malware mcafee media microsoft mmorpg msdn network news office open-source pirates pricing programming project project management publishing rss search security server software software selection spyware sql sun technology evaluation tips vista web wiki windows xp
- setup modem on fedora core (*nix Software)
- Dual booting windows xp and fedora core 1 using grub (*nix Software)
- setup dual boot xp and fedora core 1 (*nix Software)
- problem when installing fedora core 2 (*nix Software)
- fedora core 1 hang on install (*nix Software)
- anyone know when fedora core 2 is out (Getting Started and Choosing a Distro)
Other Threads in the *nix Software Forum
- Previous Thread: httpd setup problem
- Next Thread: installing linux over troubled windows


Linear Mode