On Thu, 2004-12-09 at 17:02, Computer King wrote: > I am using Freebsd 4.10stable, postfix 2.1.5 with SASL and TLS with > clamd daemon 0.80 (OS: freebsd4.10, ARCH: i386, CPU: i386) > > I have sent the following message to the clamsmtp list as well but > believe it is on topic for this list as well please let me know it this > not polite. > > when i try to start clamsmtp i get the following error in my syslog and > my maillog too. > > Dec 9 17:06:39 tokyo clamsmtpd: couldn't bind to address: > 127.0.0.1:10025: Address already in use > > here is what my clam log states in verbose mode it does not seem to > notice the error > > +++ Started at Thu Dec 9 17:16:15 2004 > clamd daemon 0.80 (OS: freebsd4.10, ARCH: i386, CPU: i386) > Log file size limited to 1048576 bytes. > Verbose logging activated. > Running as user clamav (UID 106, GID 106) > Reading databases from /usr/local/share/clamav > Protecting against 25253 viruses. > Bound to address 127.0.0.1 on port 10025 > Setting connection queue length to 15 > Listening daemon: PID: 938 > Archive: Archived file size limit set to 10485760 bytes. > Archive: Recursion level limit set to 5. > Archive: Files limit set to 1000. > Archive: Compression ratio limit set to 250. > Archive support enabled. > Archive: RAR support disabled. > Portable Executable support enabled. > Mail files support enabled. > OLE2 support enabled. > HTML support enabled. > Self checking every 1800 seconds. > > > I am sure this is just a simple misconfiguration of the port settings on > my behalf but i have tried many setting and have now become confused > could someone please help me. > > >>>>>clamsmtp.conf > > # The address to send scanned mail to. > # This option is required unless TransparentProxy is enabled > OutAddress: 127.0.0.1:10026 > > # Address to listen on (defaults to all local addresses on port 10025) > Listen: 127.0.0.1:10025 > > > >>>>>clamd.conf > > # TCP port address. > # Default: disabled > TCPSocket 10025 > > # TCP address. > # By default we bind to INADDR_ANY, probably not wise. > # Enable the following to provide some degree of protection > # from the outside world. > # Default: disabled > TCPAddr 127.0.0.1 > > > >>>>>in postfix master.cf > > # antivirus CalmAV > # AV scan filter (used by content_filter) > scan unix - - n - 16 smtp > -o smtp_send_xforward_command=yes > # For injecting mail back into postfix from the filter > 127.0.0.1:10026 inet n - n - 16 smtpd > -o content_filter= > -o > receive_override_options=no_unknown_recipient_checks,no_header_body_checks > -o smtpd_helo_restrictions= > -o smtpd_client_restrictions= > -o smtpd_sender_restrictions= > -o smtpd_recipient_restrictions=permit_mynetworks,reject > -o mynetworks_style=host > -o smtpd_authorized_xforward_hosts=127.0.0.0/8 > > > >>>>>in postfix main.conf > > #------------------------------------------------------------------------------ > #antivirus stuff clamav > #------------------------------------------------------------------------------ > content_filter = scan:127.0.0.1:10025 > receive_override_options = no_address_mappings
It would help if you didn't try to have both clamsmtpd and clamd bind to the same port. -- /"\ ASCII RIBBON Robin Lynn Frank \ / CAMPAIGN Director of Operations X AGAINST Paradigm-Omega, LLC / \ HTML MAIL http://www.paradigm-omega.com/ ===================================================================== Spambots visit http://paradigm-omega.net/cgi-bin/custmail.cgi ===================================================================== In a perfect world, there would be no usenet.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
