I got this strange error massage that came in my maillog today. It seems like the file is missing, i searched for passwd.db but dident find any file whith that name. Anyone that know what could have happend, or know how to fix it?. /var/log/mail: Sep 10 23:59:05 webserver postfix/smtp[28849]: fatal: open database /etc/postfix/passwd.db: No such file or directory Sep 11 00:00:06 webserver postfix/smtp[29207]: fatal: open database /etc/postfix/passwd.db: No such file or directory Sep 11 00:01:07 webserver postfix/smtp[29305]: fatal: open database /etc/postfix/passwd.db: No such file or directory tnx Salomon
here is my main.cf inet_protocols = all biff = no mail_spool_directory = /var/mail canonical_maps = hash:/etc/postfix/canonical #virtual_maps = hash:/etc/postfix/virtual 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 = webserver.$mydomain program_directory = /usr/lib/postfix inet_interfaces = all masquerade_domains = mydestination = $myhostname, localhost.$mydomain defer_transports = disable_dns_lookups = no relayhost = mailbox_command = mailbox_transport = strict_8bitmime = no disable_mime_output_conversion = no smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/access, reject_unknown_sender_domain smtpd_client_restrictions = smtpd_helo_required = yes smtpd_helo_restrictions = permit_mynetworks strict_rfc821_envelopes = no #smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,reject_rbl_client bl.spamcop.net,reject_rbl_client relays.ordb.org,reject_rbl_client sbl.spamhaus.org smtp_sasl_auth_enable = yes smtpd_sasl_auth_enable = yes smtpd_use_tls = yes smtp_use_tls = yes alias_maps = hash:/etc/aliases mailbox_size_limit = 0 message_size_limit = 10240000 mydomain = zalo.net smtpd_sasl_local_domain = $myhostname smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_tls_auth_only = no smtp_tls_note_starttls_offer = yes smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom smtp_sasl_password_maps = hash:/etc/postfix/passwd smtp_sasl_security_options = virtual_maps = hash:/etc/postfix/virtusertable mydestination = /etc/postfix/local-host-names mynetworks = 127.0.0.0/8
smtp_sasl_password_maps = hash:/etc/postfix/passwd Is it this line that makes the problem??, Why is this line there if it is not used by ispconfig?.
It's used if you want to relay mails through a third-party server (see http://www.howtoforge.com/forums/showthread.php?t=72&highlight=relayhost ) which obvioulsy you don't do because relayhost is not set in your configuration. Comment out the smtp_sasl_password_maps line and restart Postfix.