/var/log/mail.err file does not exist

Discussion in 'Installation/Configuration' started by ganewbie, Nov 24, 2018.

  1. ganewbie

    ganewbie Member HowtoForge Supporter

    Hello,
    A new server running Debian 9, apache and postfix.
    For some reason, the file /var/log/mail.err does not exist.
    Do I just create a file?
    What could be the reason that the file does not exist?
    Thanks
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Maybe your server has not had any errors?
    On my debian host, mail.err has no lines made by postfix. Only dovecot seems to write there. Maybe you do not have dovecot installed or not running?
    Your topic is wrong. Unable to read is not the same thing as file does not exist.
     
  3. ganewbie

    ganewbie Member HowtoForge Supporter

    Thanks for the quick response, I have edited the title.
    Dovecot is running
     
  4. I have never seen anything in mail.err on debian like distros for 10 years...
     
  5. ganewbie

    ganewbie Member HowtoForge Supporter

    The only reason I found out is when I click on
    "Show Mail Error-Log" in the ISPC3 it shows the image attached. Not sure if i have anything wrong or that is the way it supposes to be.
     

    Attached Files:

  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Well, to get something in that mail.err file do this:
    1. log out of Webmail/Outlook/Thunderbird
    2. stop database: systemctl stop mariadb.service
    3. try to log back in your e-mail program
    4. See what appears in mail.err

    Only thing I have in mail.err is dovecot complaining it can not access database.
    In case you want you system back to working state: systemctl start mariadb.service
     
    ganewbie likes this.

Share This Page