Emails stopped to work

Discussion in 'ISPConfig 3 Priority Support' started by Mister, Nov 7, 2014.

  1. Mister

    Mister Member

    I have a few emails set up for various websites which have all stopped working.

    Not really sure what I have done for them to stop, maybes added some spam emails to the blacklist, or updatated the system but for whatever reason I can no longer send or recieve emails.

    Errors showing in log:

    Code:
    Nov  6 19:56:58 domain postfix/smtpd[28962]: error: open file /etc/postfix/local-host-names: No such file or directory
    Nov  6 19:59:08 domain postfix/proxymap[29004]: error: open file /etc/postfix/local-host-names: No such file or directory
    Nov  6 19:59:08 domain postfix/smtpd[29003]: error: open file /etc/postfix/local-host-names: No such file or directory
    Nov  6 19:59:09 domain postfix/trivial-rewrite[29005]: error: open file /etc/postfix/local-host-names: No such file or directory
    Nov  6 20:00:04 domain postfix/cleanup[29069]: error: open file /etc/postfix/local-host-names: No such file or directory
    Nov  6 20:00:04 domain postfix/smtp[29072]: error: open file /etc/postfix/local-host-names: No such file or directory
    Nov  6 20:00:06 domain postfix/smtpd[29105]: error: open file /etc/postfix/local-host-names: No such file or directory
    Nov  6 20:00:06 domain postfix/error[29106]: error: open file /etc/postfix/local-host-names: No such file or directory
    Nov  6 20:00:06 domain postfix/bounce[29107]: error: open file /etc/postfix/local-host-names: No such file or directory
    Nov  6 20:00:15 domain postfix/showq[29121]: error: open file /etc/postfix/local-host-names: No such file or directory
    Could it somehow be relate to mail_plugins = sieve quota?

    dovecot.conf reads

    Code:
    ssl_key = </etc/postfix/smtpd.key
    passdb {
      args = /etc/dovecot/dovecot-sql.conf
      driver = sql
    }
    userdb {
      args = /etc/dovecot/dovecot-sql.conf
      driver = sql
    }
    plugin {
      quota = dict:user::file:/var/vmail/%d/%n/.quotausage
      sieve=/var/vmail/%d/%n/.sieve
    }
    service auth {
      unix_listener /var/spool/postfix/private/auth {
        group = postfix
        mode = 0660
        user = postfix
      }
      unix_listener auth-userdb {
        group = vmail
        mode = 0600
        user = vmail
      }
      user = root
    }
    service imap-login {
      client_limit = 1000
      process_limit = 500
    }
    protocol imap {
      mail_plugins = quota imap_quota
    }
    protocol pop3 {
      pop3_uidl_format = %08Xu%08Xv
      mail_plugins = quota
    }
    protocol lda {
       mail_plugins = sieve quota
       postmaster_address = [email protected]
    }
    When attempting to send emails I recieve error message: Temporary lookup failure
     
  2. srijan

    srijan New Member HowtoForge Supporter

    There are some config files missing.

    If you use ISPConfig then download ispconfig again, unpack it and run the update.php script which is in the install folder. Choose yes when the updater asks you if the services shall be reconfigured.

    If your setup is not a ispconfig server, then you might want to redo the guide that you used to setupthe server and create the missing config files manually.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    On a ispconfig 3 system there is no file /etc/postfix/local-host-names. Do you run ispconfig 2 and not ispconfig 3?
     
  4. Mister

    Mister Member

    Hi Till,

    No idea what I could have done, I don't really mess with the servers much, apart from run updates...I was running Ispconfig 3, decided to reinstall to make sure everything is OK

    Thanks
     
  5. srijan

    srijan New Member HowtoForge Supporter

    If you are on ISPConfig-3 try to update it as:

     
    Last edited: Nov 11, 2014

Share This Page