Page 1 of 1

[Gelöst!] Postfix - Variable falsch laut Logs ?!

Posted: 2004-08-18 18:48
by klerfrq
Hallo zusammen,

ich nutze folgendes System: Suse 9.1, Postfix 2.0.19-20040312 (die von 1und1 installierte Version). Zusätzlich habe ich nach einem Howto mir einen Spamfilter und Virenscanner für Postfix installiert.
Quelle des Howtos: http://www.linux-tin.org/modules.php?op ... page_id=11

Soweit so gut, Viren werden auch aussortiert und Spam wird als Spam erkannt. Ich kann E-Mail schicken und auch empfangen.

Jedoch bekomme ich den mail-Logs jede Minute diesen Eintrag:

Code: Select all

Aug 18 18:25:37 p15139 postfix/smtp[29972]: fatal: parameter smtp_data_done_timeout: bad time unit:
Aug 18 18:25:38 p15139 postfix/master[29962]: warning: process /usr/lib/postfix/smtp pid 29972 exit status 1
Aug 18 18:25:38 p15139 postfix/master[29962]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling
Meine master.cf

Code: Select all

smtp    inet    n       -       n       -       50      smtpd -o content_filter=smtp:[localhost]:10024
smtps     inet  n       -       n       -       -       smtpd
  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
.
.
.
localhost:10025 inet n - y - - smtpd
        -o content_filter=
        -o local_recipient_maps=
        -o relay_recipient_maps=
        -o smtpd_restriction_classes=
        -o smtpd_client_restrictions=
        -o smtpd_helo_restrictions=
        -o smtpd_sender_restrictions=
        -o smtpd_recipient_restrictions=permit_mynetworks,reject
        -o mynetworks=127.0.0.1/8
        -o strict_rfc821_envelopes=yes
        -o smtpd_error_sleep_time=0
        -o smtpd_soft_error_limit=1001
        -o smtpd_hard_error_limit=1000
smtp-amavis unix - - y - 3 smtp
        -o smtp_data_done_timeout = 1200
Meine main.cf

Code: Select all

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
default_privs = autoresponder
inet_interfaces = all
unknown_local_recipient_reject_code = 450
debug_peer_level = 2
debugger_command =
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = maildrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
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 = meinelustigedomain.de
program_directory = /usr/lib/postfix
masquerade_domains = 
mydestination = $myhostname, localhost.$mydomain
defer_transports = 
disable_dns_lookups = no
relayhost = 
content_filter = 
mailbox_command = /usr/bin/procmail
mailbox_transport = 
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions = 
#smtp_data_done_timeout = 600
smtpd_helo_required = no
smtpd_helo_restrictions = 
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000

#SMTPD Auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes

#TLS Support
smtpd_use_tls = yes
#smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/postfix/key.pem
smtpd_tls_cert_file = /etc/postfix/cert.pem
smtpd_tls_CAfile = /etc/ssl/certs/p15139377.pureserver.info-sample-ca.crt
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

# Virecheck
content_filter = smtp-amavis:[127.0.0.1]:10024
Das normale Mailverkehr funktioniert aber.

Ich hoffe jemand kann mir bei diesem Problem weiterhelfen. Vielen Dank im Vorraus.

Gruß
klerfrq

Re: [Gelöst!] Postfix - Variable falsch laut Logs ?!

Posted: 2004-08-18 18:50
by squize
Hast du mal versucht den time out einfach hochzusetzen?

Gruss

Marc

Re: [Gelöst!] Postfix - Variable falsch laut Logs ?!

Posted: 2004-08-18 18:56
by klerfrq
Ja habe sowohl mal auf 600 als auch auf 2400 probiert. Trotzdem die Fehlermeldungen.

Nur damit ich mich vergewissern kann, ich muss ja nur bei der Ã?nderung Postfix neustarten, oder hat zufällig auch ein anderer Dienst was damit zu tun ??

Gruß
klerfrq

Re: [Gelöst!] Postfix - Variable falsch laut Logs ?!

Posted: 2004-08-18 20:44
by Joe User

Re: [Gelöst!] Postfix - Variable falsch laut Logs ?!

Posted: 2004-08-18 20:59
by klerfrq
Gut dass ich da nicht drauf bekommen bin *kopfhau*

Sorry aber da sind nur Anleitungen wie man es macht und es geht bei meinem Problem ja um "smtp_data_done_timeout" und die haben die Suchergebnisse in Google auch :(

Re: [Gelöst!] Postfix - Variable falsch laut Logs ?!

Posted: 2004-08-18 21:27
by klerfrq
Erledigt

Die Leerzeichen waren es mal wieder... :wink:

Es muss heissen
smtp-amavis unix - - y - 3 smtp
-o smtp_data_done_timeout=1200
und nicht wie oben in meinem ersten Beitrag.

Danke!