Author Topic: Mail won't start  (Read 1574 times)

mutation

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Mail won't start
« on: December 21, 2009, 08:19:43 pm »
tried every thing i can, can't find what has changed, but whenever i make a change to anything do do with mail for example if i disable TLS for SMTP server in MAIL General and ask it to save it stops at Current operation: Saving mail module.  the save changes button at the top goes from red to green, but mail does not start.  in the ebox.log i get alot of "client_host_ip" violates not-null constraint


J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Mail won't start
« Reply #1 on: December 21, 2009, 08:30:56 pm »
What is the version? (apt-cache policy ebox-mail)
Zentyal Server Lead Developer

mutation

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Mail won't start
« Reply #2 on: December 21, 2009, 08:33:21 pm »
Installed: 1.2.3-0ubuntu1~ppa1~hardy1

mutation

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Mail won't start
« Reply #3 on: December 21, 2009, 09:00:02 pm »
here is the complete error i get in ebox.log

ERROR> PgDBEngine.pm:165 EBox::PgDBEngine::insert - Error inserting data: INSERT INTO message ( from_address, message_id, message_size, status, postfix_date, event, message, to_address, client_host_name, relay, client_host_ip) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
ERROR:  null value in column "client_host_ip" violates not-null constraint

mutation

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Mail won't start
« Reply #4 on: December 22, 2009, 10:42:22 pm »
anyone?

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Mail won't start
« Reply #5 on: December 22, 2009, 11:56:52 pm »
Ignore that error, it's related to the log parsing.

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Mail won't start
« Reply #6 on: December 22, 2009, 11:58:19 pm »
It's difficult to diagnose your issue from here.

Is it a production server or testing server?

If it's a testing server you can try reinstall with:

Quote
sudo apt-get remove --purge ^ebox-.* slapd
sudo apt-get remove -purge libebox ebox
sudo apt-get install ebox-mail