Maybe because SpamAssassin listen on UDS (Unix Domain Socket) which is not TCP
- Please result of the postconf smtpd_milters command
- Please content of your /etc/default/spamass-milter file
- Please content of your /etc/default/spamassassin file
- Content of your /etc/postfix/main.cf file
- Content of your /etc/postfix/master.cf file
and again, status of both spamassassin and spamass-milter services.
Thank.
Hi Nuxwin, i was in holidays for 1 week.
1. smtpd_milters = unix:/spamass/spamass.sock, unix:/clamav/clamav-milter.ctl
2.:
- # spamass-milt startup defaults
- # OPTIONS are passed directly to spamass-milter.
- # man spamass-milter for details
- # Non-standard configuration notes:
- # See README.Debian if you use the -x option with sendmail
- # You should not pass the -d option in OPTIONS; use SOCKET for that.
- # Default, use the spamass-milter user as the default user, ignore
- # messages from localhost
- OPTIONS="-e localhost -f -u spamass-milter -r 15 -- --socket=/var/run/spamassassin.sock"
- # Reject emails with spamassassin scores > 20.
- OPTIONS="-e -f -u spamass-milter -r -1"
- # Do not modify Subject:, Content-Type: or body.
- #OPTIONS="-m"
- ######################################
- # If /usr/sbin/postfix is executable, the following are set by
- # default. You can override them by uncommenting and changing them
- # here.
- SOCKET="/var/spool/postfix/spamass/spamass.sock"
- SOCKETOWNER="postfix:postfix"
- SOCKETMODE="0666"
- ######################################
Display More
3.
- # /etc/default/spamassassin
- # Duncan Findlay
- # WARNING: please read README.spamd before using.
- # There may be security risks.
- # Change to one to enable spamd
- ENABLED=1
- # Options
- # See man spamd for possible options. The -d option is automatically added.
- # SpamAssassin uses a preforking model, so be careful! You need to
- # make sure --max-children is not set to anything higher than 5,
- # unless you know what you're doing.
- OPTIONS="--max-children=5 --sql-config --nouser-config --username=debian-spamd --groupname=debian-spamd --helper-home-dir=/var/lib/spamassassin --socketpath=/var/run/spamassassin.sock --socketowner=debian-spamd --socketgroup=debian-spamd --socketmode=0666"
- # Pid file
- # Where should spamd write its PID to file? If you use the -u or
- # --username option above, this needs to be writable by that user.
- # Otherwise, the init script will not be able to shut spamd down.
- PIDFILE="/var/run/spamd.pid"
- #PIDFILE="/var/run/spamassassin.pid"
- # Set nice level of spamd
- #NICE="--nicelevel 15"
- # Cronjob
- # Set to anything but 0 to enable the cron job to automatically update
- # spamassassin's rules on a nightly basis
- CRON=1
Display More
4.
- # POSTFIX(1) configuration file - auto-generated by i-MSCP
- # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
- #
- # General parameters
- inet_protocols = ipv4
- inet_interfaces = all
- mynetworks_style = host
- smtp_bind_address = * primary-ip-address *
- smtp_bind_address6 =
- myhostname = my.hostname.de
- mydomain = my.hostname.de.local
- myorigin = $myhostname
- smtpd_banner = $myhostname ESMTP i-MSCP Git 1.5.x Managed
- append_dot_mydomain = no
- append_at_myorigin = yes
- biff = no
- recipient_delimiter = +
- message_size_limit = 0
- # Local delivery parameters
- mydestination = $myhostname localhost.$mydomain localhost $mydomain
- alias_database = hash:/etc/aliases
- alias_maps = hash:/etc/aliases
- local_transport = local
- local_destination_concurrency_limit = 2
- local_destination_recipient_limit = 1
- local_recipient_maps = proxy:unix:passwd.byname $alias_maps
- mail_spool_directory = /var/mail
- mailbox_size_limit = 0
- # Virtual delivery parameters
- virtual_mailbox_base = /var/mail/virtual
- virtual_mailbox_limit = 0
- virtual_mailbox_domains = hash:/etc/postfix/imscp/domains
- virtual_mailbox_maps = hash:/etc/postfix/imscp/mailboxes
- virtual_alias_domains =
- virtual_alias_maps = hash:/etc/postfix/imscp/aliases
- virtual_transport = maildrop
- virtual_destination_concurrency_limit = 2
- virtual_destination_recipient_limit = 1
- virtual_minimum_uid = 999
- virtual_uid_maps = static:999
- virtual_gid_maps = static:8
- # Relay parameters
- relay_domains = hash:/etc/postfix/imscp/relay_domains
- relay_recipient_maps =
- relay_transport = relay
- relayhost =
- # Transport parameters
- transport_maps = hash:/etc/postfix/imscp/transport
- # SMTP restrictions
- smtpd_helo_required = yes
- smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, permit
- smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_sender, reject_unknown_sender_domain, permit
- smtpd_recipient_restrictions = reject_non_fqdn_recipient, reject_unknown_recipient_domain, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unlisted_recipient, permit
- smtpd_data_restrictions = reject_multi_recipient_bounce, reject_unauth_pipelining
- # i-MSCP responder parameters
- imscp-arpl_destination_concurrency_limit = 2
- imscp-arpl_destination_recipient_limit = 1
- # Parameters added at run-time by i-MSCP or 3rd-party components
- smtpd_sasl_type = cyrus
- smtpd_sasl_authenticated_header = yes
- broken_sasl_auth_clients = yes
- maildrop_destination_recipient_limit = 1
- smtpd_sasl_path = smtpd
- smtpd_sasl_security_options = noanonymous
- smtpd_sasl_auth_enable = yes
- maildrop_destination_concurrency_limit = 2
- smtpd_tls_received_header = yes
- smtpd_tls_cert_file = /etc/imscp/imscp_services.pem
- smtpd_tls_ciphers = high
- smtp_tls_ciphers = high
- smtpd_tls_loglevel = 0
- smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_scache
- smtp_tls_loglevel = 0
- smtp_tls_security_level = may
- smtp_tls_exclude_ciphers = aNULL, MD5
- smtp_tls_protocols = !SSLv2, !SSLv3
- smtp_tls_session_cache_database = btree:/var/lib/postfix/smtp_scache
- smtpd_tls_auth_only = no
- smtpd_tls_protocols = !SSLv2, !SSLv3
- smtpd_relay_restrictions =
- smtpd_tls_security_level = may
- smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
- smtpd_tls_exclude_ciphers = aNULL, MD5
- smtpd_tls_key_file = /etc/imscp/imscp_services.pem
- smtpd_tls_session_cache_timeout = 3600s
- milter_default_action = tempfail
- non_smtpd_milters = unix:/spamass/spamass.sock, unix:/clamav/clamav-milter.ctl
- smtpd_milters = unix:/spamass/spamass.sock, unix:/clamav/clamav-milter.ctl
- milter_connect_macros = i j {daemon_name} v {if_name} _
Display More
5.
- # POSTFIX(1) master(5) configuration file - auto-generated by i-MSCP
- # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
- #
- # ==========================================================================
- # service type private unpriv chroot wakeup maxproc command + args
- # (yes) (yes) (yes) (never) (100)
- # ==========================================================================
- smtp inet n - y - - smtpd
- submission inet n - y - - smtpd
- -o smtpd_sasl_auth_enable=yes
- -o smtpd_client_restrictions=permit_sasl_authenticated,reject
- smtps inet n - y - - smtpd
- -o smtpd_tls_wrappermode=yes
- -o smtpd_sasl_auth_enable=yes
- -o smtpd_client_restrictions=permit_sasl_authenticated,reject
- pickup fifo n - y 60 1 pickup
- cleanup unix n - y - 0 cleanup
- qmgr fifo n - n 300 1 qmgr
- tlsmgr unix - - y 1000? 1 tlsmgr
- rewrite unix - - y - - trivial-rewrite
- bounce unix - - y - 0 bounce
- defer unix - - y - 0 bounce
- trace unix - - y - 0 bounce
- verify unix - - y - 1 verify
- flush unix n - y 1000? 0 flush
- proxymap unix - - n - - proxymap
- proxywrite unix - - n - 1 proxymap
- smtp unix - - y - - smtp
- relay unix - - y - - smtp
- -o smtp_fallback_relay=
- showq unix n - y - - showq
- error unix - - y - - error
- retry unix - - y - - error
- discard unix - - y - - discard
- local unix - n n - - local
- virtual unix - n n - - virtual
- lmtp unix - - y - - lmtp
- anvil unix - - y - 1 anvil
- scache unix - - y - 1 scache
- imscp-arpl unix - n n - - pipe
- flags=O user=vmail:imscp argv=/var/www/imscp/engine/messenger/imscp-arpl-msgr $recipient
- maildrop unix - n n - - pipe
- flags=DRhu user=vmail:mail argv=maildrop -w 90 -d ${user}@${nexthop} ${extension} ${recipient} ${user} ${nexthop} ${sender}
Display More
Status Spamassassin
- ● spamassassin.service - Perl-based spam filter using text analysis
- Loaded: loaded (/lib/systemd/system/spamassassin.service; enabled)
- Active: active (running) since Fri 2019-04-26 11:09:10 CEST; 1 weeks 4 days ago
- Process: 19995 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
- Main PID: 20011 (spamd)
- CGroup: /system.slice/spamassassin.service
- ├─20011 /usr/bin/perl -T -w /usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --max-children=5 --sql-config --nouser-config --username=debian-spamd --groupname=debian-spamd --helper-home-dir=/var/l...
- ├─20045 spamd child
- └─20046 spamd child
- May 07 06:34:59 jupiter spamd[5379]: logger: removing stderr method
- May 07 06:35:01 jupiter spamd[20011]: zoom: able to use 345/345 'body_0' compiled rules (100%)
- May 07 06:35:05 jupiter spamd[20044]: util: setuid: ruid=0 euid=0 rgid=0 egid=0
- May 07 06:35:05 jupiter spamd[20011]: auto-whitelist: sql-based get_addr_entry ignore@compiling.spamassassin.taint.org|none: SQL error: Unknown column 'last_hit' in 'order clause'
- May 07 06:35:06 jupiter spamd[20011]: spamd: server started on UNIX domain socket /var/run/spamassassin.sock (running version 3.4.2)
- May 07 06:35:06 jupiter spamd[20011]: spamd: server pid: 20011
- May 07 06:35:06 jupiter spamd[20011]: spamd: server successfully spawned child process, pid 20045
- May 07 06:35:06 jupiter spamd[20011]: spamd: server successfully spawned child process, pid 20046
- May 07 06:35:06 jupiter spamd[20011]: prefork: child states: IS
- May 07 06:35:06 jupiter spamd[20011]: prefork: child states: II
Display More
Status Spamass-milter
- ● spamass-milter.service - LSB: milter for spamassassin
- Loaded: loaded (/etc/init.d/spamass-milter)
- Active: active (running) since Fri 2019-04-26 11:07:51 CEST; 1 weeks 4 days ago
- CGroup: /system.slice/spamass-milter.service
- └─896 /usr/sbin/spamass-milter -P /var/run/spamass/spamass.pid -f -p /var/spool/postfix/spamass/spamass.sock -e -f -u spamass-milter -r -1
- May 07 12:27:10 jupiter spamc[6885]: connect to spamd on ::1 failed, retrying (#2 of 3): Connection refused
- May 07 12:27:11 jupiter spamc[6885]: connect to spamd on 127.0.0.1 failed, retrying (#3 of 3): Connection refused
- May 07 12:40:13 jupiter spamc[8354]: connect to spamd on 127.0.0.1 failed, retrying (#1 of 3): Connection refused
- May 07 12:40:13 jupiter spamc[8354]: connect to spamd on ::1 failed, retrying (#1 of 3): Connection refused
- May 07 12:40:14 jupiter spamc[8354]: connect to spamd on 127.0.0.1 failed, retrying (#2 of 3): Connection refused
- May 07 12:40:14 jupiter spamc[8354]: connect to spamd on ::1 failed, retrying (#2 of 3): Connection refused
- May 07 12:54:02 jupiter spamc[8805]: connect to spamd on 127.0.0.1 failed, retrying (#1 of 3): Connection refused
- May 07 12:54:02 jupiter spamc[8805]: connect to spamd on ::1 failed, retrying (#1 of 3): Connection refused
- May 07 12:54:03 jupiter spamc[8805]: connect to spamd on 127.0.0.1 failed, retrying (#2 of 3): Connection refused
- May 07 12:54:03 jupiter spamc[8805]: connect to spamd on ::1 failed, retrying (#2 of 3): Connection refused
Display More
joximu
Prozesse Spam
- 896 ? Ssl 1:07 /usr/sbin/spamass-milter -P /var/run/spamass/spamass.pid -f -p /var/spool/postfix/spamass/spamass.sock -e -f -u spamass-milter -r -1
- 11333 pts/0 S+ 0:00 grep spam
- 20011 ? Ss 0:11 /usr/bin/perl -T -w /usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --max-children=5 --sql-config --nouser-config --username=debian-spamd --groupname=debian-spamd --helper-home-dir=/var/lib/spamassassin --socketpath=/var/run/spamassassin.sock --socketowner=debian-spamd --socketgroup=debian-spamd --socketmode=0666
- 20045 ? S 0:00 spamd child
- 20046 ? S 0:00 spamd child
Danke für Eure Unterstützung