SMTP server OFFLINE

Discussion in 'Installation/Configuration' started by henlon, Nov 4, 2010.

  1. henlon

    henlon New Member

    I have just installed ISPConfig 3 on ubuntuserver 10.10
    I followed the installation guide and everything seems to work fine exept the SMTP server who is offline.
    I have tried to restart the whole server several times, but still the smtp server is offline

    How do I proceed to solve the problem?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Any errors in your mail log (/var/log/mail.log)?
     
  3. henlon

    henlon New Member

    There is a bunch of errors.
    As I understand, the problem is in postfix.
    At first I reconfigured postfix and the smtp server goes ONLINE.
    But I can't send or receive messages.

    In the mail err-log I can read:

    Nov 6 14:14:17 ubuntuisp postfix/trivial-rewrite[967]: fatal: open database /etc/postfix/virtual.db: Invalid argument
    Nov 6 14:14:17 ubuntuisp postfix/cleanup[968]: fatal: open database /etc/postfix/virtual.db: Invalid argument
    Nov 6 14:14:18 ubuntuisp postfix/smtpd[969]: fatal: open database /etc/postfix/virtual.db: Invalid argument

    How do I proceed?
     
  4. henlon

    henlon New Member

    Yes, I have solved the problem.
    I wrote the line.

    domain.com smtp:[10.10.1.50]

    in the file transport and regenerated the new databasefile transport.db with the command:

    # postmap /etc/postfix/transport

    and then there were no errors in the Mail err-Log

    My next problem is that I can't receive any messages just send
     
  5. falko

    falko Super Moderator ISPConfig Developer

    Please check your mail log again. Also make sure that the MX record of your domain points to the correct server. You can check that with
    Code:
    dig mx yourdomain.com
     
  6. henlon

    henlon New Member

    There are no error posts in the error log no longer.
    The mx pointer points to the mailserver
     
  7. falko

    falko Super Moderator ISPConfig Developer

    What about the mail log?
     

Share This Page