Christian Schmitt schrieb:
Fred Ockert schrieb:
Christian Schmitt schrieb:
Hallo,
ich benutze einen Postfix mit cyrus als Mailserver. Nun habe ich Spamassassin installiert
- /etc/postfix/master.cf
folgendes Hinzugefügt:
smtp inet n - - smtpd -o content_filter=spamd
letzte Zeile neu: spamd unix - n n - - pipe user=spam argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
Das war alles. (noch nicht weiter Konfiguriert).
Dieser funktioniert auch. auszug eines logs einer zugestellte Nachricht:
Sep 18 10:53:19 nevada spamd[24596]: spamd: connection from localhost [127.0.0.1] at port 22935 Sep 18 10:53:19 nevada spamd[24596]: spamd: setuid to spam succeeded Sep 18 10:53:19 nevada spamd[24596]: spamd: processing message <48D216FF.90906@gsc.tu-darmstadt.de> for spam:1008 Sep 18 10:53:19 nevada spamd[24596]: spamd: clean message (0.4/5.0) for spam:1008 in 0.1 seconds, 588 bytes. Sep 18 10:53:19 nevada spamd[24596]: spamd: result: . 0 - AWL scantime=0.1,size=588,user=spam,uid=1008,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=22935,mid=<48D216FF.90906@gsc.
tu-darmstadt.de>,autolearn=ham
Das einzige was mich stutzig macht, ist diese Fehlermeldung:
postfix/qmgr[28151]: warning: connect to transport spamcheck: Connection refused
Kann mir einer sagen wo da der Fehler ist?
postconf -n sagt ??
Fred
ein postconf -n sagt: alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases biff = no canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/lib/postfix debug_peer_level = 2 defer_transports = disable_dns_lookups = no disable_mime_output_conversion = no html_directory = /usr/share/doc/packages/postfix/html inet_interfaces = all inet_protocols = all mail_owner = postfix mail_spool_directory = /var/mail mailbox_command = mailbox_size_limit = 0 mailbox_transport = lmtp:unix:public/lmtp mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = masquerade_exceptions = root message_size_limit = 10240000 mydestination = $myhostname,localhost.$mydomain,localhost,$mydomain mydomain = gsc.tu-darmstadt.de myhostname = nevada.gsc.ce.tu-darmstadt.de mynetworks_style = subnet myorigin = $mydomain newaliases_path = /usr/bin/newaliases queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/packages/postfix/README_FILES relay_domains = relayhost = mailout.hrz.tu-darmstadt.de relocated_maps = hash:/etc/postfix/relocated sample_directory = /usr/share/doc/packages/postfix/samples sender_canonical_maps = hash:/etc/postfix/sender_canonical sendmail_path = /usr/sbin/sendmail setgid_group = maildrop smtp_sasl_auth_enable = no smtp_use_tls = no smtpd_client_restrictions = smtpd_helo_required = no smtpd_helo_restrictions = smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination smtpd_sasl_auth_enable = no smtpd_sender_restrictions = hash:/etc/postfix/access smtpd_use_tls = no strict_8bitmime = no strict_rfc821_envelopes = no transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 550 virtual_alias_domains = hash:/etc/postfix/virtual virtual_alias_maps = hash:/etc/postfix/virtual
Ich kann nirgends einen solchen Eintrag finden. Ich habe Postfix neu gestartet. Muss ich noch was anderes neu starten?
Christian
Es waren noch Mails in der Que, welche vor langer Zeit mit einer anderen Einstellung in der master.cf versendet wurden. Damals stand als content_filter noch spamcheck. Nach dem löschen der Que und einem Neustart von Postfix ist diese Fehlermeldung weg. Anscheinen haben die Mails in der Que die alte Einstellung gesucht. Christian -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org