Probleme mit Postfix / Spamassassin

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
hansmuenchen
Posts: 22
Joined: 2003-11-04 20:50
Location: München

Probleme mit Postfix / Spamassassin

Post by hansmuenchen » 2005-01-31 00:54

Hallo!

Ich habe die Tage versucht Spamassassin zu installieren.

Jedoch bekomme ich jetzt im logfile nach dem neustart von Postfix zu lesen:

Code: Select all

Jan 31 01:00:27 h7302 postfix/smtp[6314]: fatal: valid hostname or network address required in SMTP server description: hash:
Jan 31 01:00:27 h7302 postfix/smtp[6315]: fatal: valid hostname or network address required in SMTP server description: hash:
Jan 31 01:00:27 h7302 postfix/smtp[6316]: fatal: valid hostname or network address required in SMTP server description: hash:
Jan 31 01:00:27 h7302 postfix/smtp[6317]: fatal: valid hostname or network address required in SMTP server description: hash:
Jan 31 01:00:27 h7302 postfix/smtp[6318]: fatal: valid hostname or network address required in SMTP server description: hash:
Jan 31 01:00:28 h7302 postfix/qmgr[6310]: warning: premature end-of-input on private/smtp socket while reading input attribut
Jan 31 01:00:28 h7302 postfix/qmgr[6310]: warning: private/smtp socket: malformed response
Jan 31 01:00:28 h7302 postfix/qmgr[6310]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile recor
Jan 31 01:00:28 h7302 postfix/master[919]: warning: process /usr/lib/postfix/smtp pid 6314 exit status 1
Jan 31 01:00:28 h7302 postfix/master[919]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling
Jan 31 01:00:28 h7302 postfix/master[919]: warning: process /usr/lib/postfix/smtp pid 6315 exit status 1
Jan 31 01:00:28 h7302 postfix/qmgr[6310]: warning: premature end-of-input on private/smtp socket while reading input attribut
Jan 31 01:00:28 h7302 postfix/qmgr[6310]: warning: private/smtp socket: malformed response
Jan 31 01:00:28 h7302 postfix/qmgr[6310]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile recor
Jan 31 01:00:28 h7302 postfix/qmgr[6310]: warning: premature end-of-input on private/smtp socket while reading input attribut
Jan 31 01:00:28 h7302 postfix/qmgr[6310]: warning: private/smtp socket: malformed response
Jan 31 01:00:28 h7302 postfix/qmgr[6310]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile recor
Jan 31 01:00:28 h7302 postfix/master[919]: warning: process /usr/lib/postfix/smtp pid 6316 exit status 1
Jan 31 01:00:28 h7302 postfix/master[919]: warning: process /usr/lib/postfix/smtp pid 6317 exit status 1
Jan 31 01:00:28 h7302 postfix/qmgr[6310]: warning: premature end-of-input on private/smtp socket while reading input attribut
Jan 31 01:00:28 h7302 postfix/qmgr[6310]: warning: private/smtp socket: malformed response
Jan 31 01:00:28 h7302 postfix/qmgr[6310]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile recor
Jan 31 01:00:28 h7302 postfix/master[919]: warning: process /usr/lib/postfix/smtp pid 6318 exit status 1
Jan 31 01:00:28 h7302 postfix/qmgr[6310]: warning: premature end-of-input on private/smtp socket while reading input attribut
Jan 31 01:00:28 h7302 postfix/qmgr[6310]: warning: private/smtp socket: malformed response
Jan 31 01:00:28 h7302 postfix/qmgr[6310]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile recor
Hat jemand evtl. eine Idee wie ich das beheben kann?

Danke schon mal für die Antwort!

Bei bedarf kann ich auch gern die master.cf sowie die main.cf hier posten.

Gruß
Hans
Last edited by hansmuenchen on 2005-01-31 01:01, edited 1 time in total.

adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

Re: Probleme mit Postfix / Spamassassin

Post by adjustman » 2005-01-31 01:01

HansMuenchen wrote:Bei bedarf kann ich auch gern die master.cf sowie die main.cf hier posten.
das solltest Du tun. :wink: Aber ohne Kommentare. Besser noch postconf -n

hansmuenchen
Posts: 22
Joined: 2003-11-04 20:50
Location: München

Re: Probleme mit Postfix / Spamassassin

Post by hansmuenchen » 2005-01-31 01:13

adjustMan wrote:
HansMuenchen wrote:Bei bedarf kann ich auch gern die master.cf sowie die main.cf hier posten.
das solltest Du tun. :wink: Aber ohne Kommentare
main.cf

Code: Select all

soft_bounce = no
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
myhostname = www.domain.de
unknown_local_recipient_reject_code = 450
debug_peer_level = 2
debugger_command =
	 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
	 xxgdb $daemon_directory/$process_name $process_id & sleep 5

sendmail_path = /usr/sbin/sendmail
mailq_path = /usr/bin/mailq
setgid_group = maildrop
manpage_directory = /usr/share/man
readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual, hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = h7302.serverkompetenz.net
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains = 
mydestination = $myhostname, localhost.$mydomain
defer_transports = 
disable_dns_lookups = no
relay_domains = $virtual_maps
relayhost = $virtual_maps
content_filter= smtp-amavis:[127.0.0.1]:10024
mailbox_command = 
mailbox_transport = 
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions = 
smtpd_helo_required = no
smtpd_helo_restrictions = 
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = No
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
Master.cf

Code: Select all

smtp	  inet	n	-	n	-	-	smtpd
#smtps	  inet	n	-	n	-	-	smtpd
#  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission	inet	n	-	n	-	-	smtpd
#  -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628	  inet	n	-	n	-	-	qmqpd
pickup	  fifo	n	-	n	60	1	pickup
cleanup	  unix	n	-	n	-	0	cleanup
qmgr	  fifo	n	-	n	300	1	qmgr
#qmgr	  fifo	n	-	n	300	1	nqmgr
#tlsmgr   fifo  -       -       n       300     1       tlsmgr
rewrite	  unix	-	-	n	-	-	trivial-rewrite
bounce	  unix	-	-	n	-	0	bounce
defer	  unix	-	-	n	-	0	bounce
flush	  unix	n	-	n	1000?	0	flush
proxymap  unix	-	-	n	-	-	proxymap
smtp	  unix	-	-	n	-	-	smtp
relay	  unix	-	-	n	-	-	smtp
#	-o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix	n	-	n	-	-	showq
error     unix	-	-	n	-	-	error
local	  unix	-	n	n	-	-	local
virtual	  unix	-	n	n	-	-	virtual
lmtp	  unix	-	-	n	-	-	lmtp

smtp-amavis unix -      -       n     -       2  lmtp
    -o smtp_data_done_timeout=1200
    -o disable_dns_lookups=yes

localhost:10025 inet	n	-	n	-	-	smtpd -o content_filter=
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
cyrus	  unix	-	n	n	-	-	pipe
  user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp	  unix	-	n	n	-	-	pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
#procmail  unix -       n      n      -      -       pipe
#flags=R user=nobody argv=/usr/bin/procmail -p USER=${user}
#EXTENSION=${extension} /etc/procmailrc

procmail  unix  -       n       n       -       -       pipe
  flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
Im übrigen läuft auch antivir auf dem system sowie confixx (bin mir nur nicht sicher welcher version). Als Betriebssystem Suse 9

Gruß
Hans

hansmuenchen
Posts: 22
Joined: 2003-11-04 20:50
Location: München

Re: Probleme mit Postfix / Spamassassin

Post by hansmuenchen » 2005-01-31 01:19

Hier noch Postconf -n Ausgabe:

Code: Select all

alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport =
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
myhostname = xxx.net
newaliases_path = /usr/bin/newaliases
program_directory = /usr/lib/postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relay_domains = $virtual_maps
relayhost = $virtual_maps
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 = yes
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
soft_bounce = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 450
Gruß
Hans