postfix error: unsupported dictionary type: localhost.http:

Discussion in 'Installation/Configuration' started by mystix, Dec 3, 2005.

  1. mystix

    mystix New Member HowtoForge Supporter

    I have installed my server following the 'Perfect setup Debian Sarge' howto.
    Since september I had no problems, but since yesterday evening I have a problem with postfix. I didn't made any changes in the server config the last days.

    The problem is, i can't send or receive emails anymore.

    I got the folling warnings in the logfiles:

    /var/log/mail.log
    Code:
    Dec  3 15:07:45 japes postfix/pickup[13835]: fatal: dict_open: unsupported dictionary type: localhost.http:  Is the postfix-localhost.http package installed?
    Dec  3 15:07:45 japes postfix/qmgr[13836]: fatal: dict_open: unsupported dictionary type: localhost.http:  Is the postfix-localhost.http package installed?
    Dec  3 15:07:46 japes postfix/master[12687]: warning: process /usr/lib/postfix/pickup pid 13835 exit status 1
    Dec  3 15:07:46 japes postfix/master[12687]: warning: /usr/lib/postfix/pickup: bad command startup -- throttling
    Dec  3 15:07:46 japes postfix/master[12687]: warning: process /usr/lib/postfix/qmgr pid 13836 exit status 1
    Dec  3 15:07:46 japes postfix/master[12687]: warning: /usr/lib/postfix/qmgr: bad command startup -- throttling
    
    /var/log/syslog
    Code:
    Dec  3 15:07:46 japes postfix/master[12687]: warning: process /usr/lib/postfix/pickup pid 13835 exit status 1
    Dec  3 15:07:46 japes postfix/master[12687]: warning: /usr/lib/postfix/pickup: bad command startup -- throttling
    Dec  3 15:07:46 japes postfix/master[12687]: warning: process /usr/lib/postfix/qmgr pid 13836 exit status 1
    Dec  3 15:07:46 japes postfix/master[12687]: warning: /usr/lib/postfix/qmgr: bad command startup -- throttling
    Dec  3 15:08:15 japes postfix/smtpd[13845]: fatal: dict_open: unsupported dictionary type: localhost.http:  Is the postfix-localhost.http package installed?
    Dec  3 15:08:16 japes postfix/master[12687]: warning: process /usr/lib/postfix/smtpd pid 13845 exit status 1
    Dec  3 15:08:16 japes postfix/master[12687]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
    Dec  3 15:08:46 japes postfix/pickup[13853]: fatal: dict_open: unsupported dictionary type: localhost.http:  Is the postfix-localhost.http package installed?
    Dec  3 15:08:46 japes postfix/qmgr[13854]: fatal: dict_open: unsupported dictionary type: localhost.http:  Is the postfix-localhost.http package installed?
    Dec  3 15:08:47 japes postfix/master[12687]: warning: process /usr/lib/postfix/pickup pid 13853 exit status 1
    Dec  3 15:08:47 japes postfix/master[12687]: warning: /usr/lib/postfix/pickup: bad command startup -- throttling
    Dec  3 15:08:47 japes postfix/master[12687]: warning: process /usr/lib/postfix/qmgr pid 13854 exit status 1
    Dec  3 15:08:47 japes postfix/master[12687]: warning: /usr/lib/postfix/qmgr: bad command startup -- throttling
    Dec  3 15:09:01 japes /USR/SBIN/CRON[13858]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
    
    Code:
    # postconf -n
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    append_dot_mydomain = no
    biff = no
    broken_sasl_auth_clients = yes
    config_directory = /etc/postfix
    inet_interfaces = all
    mailbox_size_limit = 0
    mydestination = /etc/postfix/local-host-names
    myhostname = japes.sitesitting.org
    mynetworks = 127.0.0.0/8
    myorigin = /etc/mailname
    recipient_delimiter = +
    relayhost =
    smtp_tls_note_starttls_offer = yes
    smtp_use_tls = yes
    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_local_domain =
    smtpd_sasl_security_options = noanonymous
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_auth_only = no
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    smtpd_use_tls = yes
    tls_random_source = dev:/dev/urandom
    
    Any help would be appreciated

    marc
     
  2. mystix

    mystix New Member HowtoForge Supporter

    problem solved

    Ok I've found the problem.

    A user has added a codomain 'localhost.http://subdomain.usersdomain.tld' via ispconfig
    Don't ask me why he did this ;-)

    I've found the 'localhost.http://subdomain.usersdomain.tld' in the /etc/postfix/local-domain-names and this caused the error.

    Maybe there is a way to avoid users to insert such things in the codomain form.

    I gave the user three days to learn the usermanual by heard :D
    greets

    marc
     
  3. xenos29

    xenos29 New Member

    Postfix error

    Hi

    First, Sorry for my english .

    I have installed my server following the 'Perfect setup Debian Sarge' howto.
    Since six month ago and i have no problem.

    But yesterday, The same Problem to Mystix appear . i can't send or receive emails anymore.


    /var/log/syslog
    Code:
    Dec  8 14:03:11 serveur1 postfix/pickup[18796]: fatal: dict_open: unsupported dictionary type: http:  Is the postfix-http package installed?
    Dec  8 14:03:11 serveur1 postfix/qmgr[18797]: fatal: dict_open: unsupported dictionary type: http:  Is the postfix-http package installed?
    Dec  8 14:03:12 serveur1 postfix/master[18702]: warning: process /usr/lib/postfix/pickup pid 18796 exit status 1
    Dec  8 14:03:12 serveur1 postfix/master[18702]: warning: /usr/lib/postfix/pickup: bad command startup -- throttling
    Dec  8 14:03:12 serveur1 postfix/master[18702]: warning: process /usr/lib/postfix/qmgr pid 18797 exit status 1
    Dec  8 14:03:12 serveur1 postfix/master[18702]: warning: /usr/lib/postfix/qmgr: bad command startup -- throttling
    Dec  8 14:03:19 serveur1 postfix/smtpd[18802]: fatal: dict_open: unsupported dictionary type: http:  Is the postfix-http package installed?
    Dec  8 14:03:20 serveur1 postfix/master[18702]: warning: process /usr/lib/postfix/smtpd pid 18802 exit status 1
    Dec  8 14:03:20 serveur1 postfix/master[18702]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
    Dec  8 14:03:25 serveur1 postfix/postmap[18858]: warning: /etc/postfix/virtusertable.db: duplicate entry: "simon"
    Dec  8 14:03:42 serveur1 proftpd[18924]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - FTP session opened. 
    Dec  8 14:03:42 serveur1 ipop3d[18925]: connect from 127.0.0.1 (127.0.0.1)
    Dec  8 14:03:42 serveur1 ipop3d[18925]: pop3 service init from 127.0.0.1
    Dec  8 14:03:42 serveur1 ipop3d[18925]: Command stream end of file while reading line user=??? host=UNKNOWN
    Dec  8 14:03:42 serveur1 proftpd[18924]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - FTP session closed. 
    Dec  8 14:04:12 serveur1 postfix/pickup[18962]: fatal: dict_open: unsupported dictionary type: http:  Is the postfix-http package installed?
    Dec  8 14:04:12 serveur1 postfix/qmgr[18963]: fatal: dict_open: unsupported dictionary type: http:  Is the postfix-http package installed?
    Dec  8 14:04:13 serveur1 postfix/master[18702]: warning: process /usr/lib/postfix/pickup pid 18962 exit status 1
    Dec  8 14:04:13 serveur1 postfix/master[18702]: warning: /usr/lib/postfix/pickup: bad command startup -- throttling
    Dec  8 14:04:13 serveur1 postfix/master[18702]: warning: process /usr/lib/postfix/qmgr pid 18963 exit status 1
    Dec  8 14:04:13 serveur1 postfix/master[18702]: warning: /usr/lib/postfix/qmgr: bad command startup -- throttling
    Dec  8 14:04:20 serveur1 postfix/smtpd[18964]: fatal: dict_open: unsupported dictionary type: http:  Is the postfix-http package installed?
    Dec  8 14:04:21 serveur1 postfix/master[18702]: warning: process /usr/lib/postfix/smtpd pid 18964 exit status 1
    Dec  8 14:04:21 serveur1 postfix/master[18702]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
    Dec  8 14:05:13 serveur1 postfix/pickup[18981]: fatal: dict_open: unsupported dictionary type: http:  Is the postfix-http package installed?
    Dec  8 14:05:13 serveur1 postfix/qmgr[18982]: fatal: dict_open: unsupported dictionary type: http:  Is the postfix-http package installed?
    Dec  8 14:05:14 serveur1 postfix/master[18702]: warning: process /usr/lib/postfix/pickup pid 18981 exit status 1
    Dec  8 14:05:14 serveur1 postfix/master[18702]: warning: /usr/lib/postfix/pickup: bad command startup -- throttling
    Dec  8 14:05:14 serveur1 postfix/master[18702]: warning: process /usr/lib/postfix/qmgr pid 18982 exit status 1
    Dec  8 14:05:14 serveur1 postfix/master[18702]: warning: /usr/lib/postfix/qmgr: bad command startup -- throttling
    Dec  8 14:05:21 serveur1 postfix/smtpd[18987]: fatal: dict_open: unsupported dictionary type: http:  Is the postfix-http package installed?
    Dec  8 14:05:22 serveur1 postfix/master[18702]: warning: process /usr/lib/postfix/smtpd pid 18987 exit status 1
    Dec  8 14:05:22 serveur1 postfix/master[18702]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
    
    /var/log/mail
    Code:
    Dec  8 15:10:40 serveur1 postfix/pickup[23854]: fatal: dict_open: unsupported dictionary type: http:  Is the postfix-http package installed?
    Dec  8 15:10:40 serveur1 postfix/qmgr[23855]: fatal: dict_open: unsupported dictionary type: http:  Is the postfix-http package installed?
    Dec  8 15:10:41 serveur1 postfix/master[23418]: warning: process /usr/lib/postfix/pickup pid 23854 exit status 1
    Dec  8 15:10:41 serveur1 postfix/master[23418]: warning: /usr/lib/postfix/pickup: bad command startup -- throttling
    Dec  8 15:10:41 serveur1 postfix/master[23418]: warning: process /usr/lib/postfix/qmgr pid 23855 exit status 1
    Dec  8 15:10:41 serveur1 postfix/master[23418]: warning: /usr/lib/postfix/qmgr: bad command startup -- throttling
    Dec  8 15:10:45 serveur1 postfix/smtpd[23858]: fatal: dict_open: unsupported dictionary type: http:  Is the postfix-http package installed?
    Dec  8 15:10:46 serveur1 postfix/master[23418]: warning: process /usr/lib/postfix/smtpd pid 23858 exit status 1
    Dec  8 15:10:46 serveur1 postfix/master[23418]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
    Dec  8 15:11:41 serveur1 postfix/pickup[23879]: fatal: dict_open: unsupported dictionary type: http:  Is the postfix-http package installed?
    Dec  8 15:11:41 serveur1 postfix/qmgr[23880]: fatal: dict_open: unsupported dictionary type: http:  Is the postfix-http package installed?
    Dec  8 15:11:42 serveur1 postfix/master[23418]: warning: process /usr/lib/postfix/pickup pid 23879 exit status 1
    Dec  8 15:11:42 serveur1 postfix/master[23418]: warning: /usr/lib/postfix/pickup: bad command startup -- throttling
    Dec  8 15:11:42 serveur1 postfix/master[23418]: warning: process /usr/lib/postfix/qmgr pid 23880 exit status 1
    Dec  8 15:11:42 serveur1 postfix/master[23418]: warning: /usr/lib/postfix/qmgr: bad command startup -- throttling
    Dec  8 15:11:46 serveur1 postfix/smtpd[23884]: fatal: dict_open: unsupported dictionary type: http:  Is the postfix-http package installed?
    Dec  8 15:11:47 serveur1 postfix/master[23418]: warning: process /usr/lib/postfix/smtpd pid 23884 exit status 1
    Dec  8 15:11:47 serveur1 postfix/master[23418]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
    
    

    I search in => /etc/postfix/local-domain-names Like Mystix explain , but i haven't got this file local-domain-names

    Thanks so much for help,

    All my mail are block

    best regards,
    Gilles
     
  4. falko

    falko Super Moderator Howtoforge Staff

    The correct name is /etc/postfix/local-host-names.
     

Share This Page