• 5 Posts
  • 20 Comments
Joined 1 year ago
cake
Cake day: April 22nd, 2025

help-circle



  • Hello again! 👋✌️

    $cat /etc/aliases
    mailer-daemon: postmaster
    postmaster: root
    nobody: root
    hostmaster: root
    usenet: root
    news: root
    webmaster: root
    www: root
    ftp: root
    abuse: root
    noc: root
    security: root
    
    $doveconf -n
    dovecot_config_version = #just some version that I hide
    auth_mechanisms = plain login
    auth_username_format = %{user|username|lower}
    dovecot_storage_version = #just some version that I hide
    fts_autoindex = yes
    fts_autoindex_max_recent_msgs = 999
    fts_search_add_missing = yes
    mail_driver = maildir
    mail_home = /home/%{user | username}
    mail_inbox_path = ~/Maildir/INBOX
    mail_path = ~/Maildir
    mail_privileged_group = mail
    protocols {
      imap = yes
      lmtp = yes
    }
    ssl = required
    userdb passwd {
      driver = passwd
    }
    service auth {
      unix_listener /var/spool/postfix/private/auth {
        group = postfix
        mode = 0660
        user = postfix
      }
    }
    passdb pam {
    }
    namespace inbox {
      inbox = yes
      mailbox Drafts {
        auto = subscribe
        special_use = "\\Drafts"
      }
      mailbox Junk {
        auto = subscribe
        special_use = "\\Junk"
      }
      mailbox Sent {
        auto = subscribe
        special_use = "\\Sent"
      }
      mailbox Trash {
        auto = subscribe
        special_use = "\\Trash"
      }
    }
    service imap-login {
      inet_listener imap {
      }
      inet_listener imaps {
      }
    }
    service pop3-login {
      inet_listener pop3 {
      }
      inet_listener pop3s {
      }
    }
    service submission-login {
      inet_listener submission {
      }
      inet_listener submissions {
      }
    }
    service lmtp {
      unix_listener lmtp {
      }
    }
    service imap {
    }
    service pop3 {
    }
    service submission {
    }
    service auth-worker {
    }
    service dict {
      unix_listener dict {
      }
    }
    ssl_server {
      cert_file = /etc/letsencrypt/live/mail.xolat.games/fullchain.pem
      key_file = /etc/letsencrypt/live/mail.xolat.games/privkey.pem
      prefer_ciphers = server
    }
    protocol lda {
      mail_plugins {
        sieve = yes
      }
    }
    protocol imap {
      mail_plugins {
        imap_sieve = yes
      }
    }
    protocol lmtp {
      auth_username_format = %{user | username | lower}
      mail_plugins {
        sieve = yes
      }
    }
    sieve_script personal {
      active_path = ~/.dovecot.sieve
      driver = file
      path = ~/.sieve
      type = personal
    }
    sieve_script default {
      active_path = /var/lib/dovecot/sieve/default.sieve
      driver = file
      name = default
      path = /var/lib/dovecot/sieve
      type = default
    }
    

    Cool thing, btw! 👍 Didn’t know that I can do this 😁




  • Do you mean to don’t write some message to root@xolat.games? 🤔

    But there’s the problem, if you mean this! I was try to write to hello@xolat.games, and I’ve already made separated user on my server for this, and have add it to mail group. But, despite on this, I guess that it still tries to put something to root user 🤷‍♂️

    Try emailing a non-root user. It should write to the inbox. I mean, without your Dovecot configs, I can’t tell if there’s anything else wrong with them, but from the errors it seems Dovecot would work if not for the permissions errors.

    But what’s the configs do you need? 🤔 Dovecot has about 20 separated configuration files! Do I will need to put each of them? 🤷‍♂️






  • I changed the IP address from “127.0.0.1” for connection to the server in the configs of the game to the IP adress of the VPS. And in this case the logs from the browser console looks so now:

    Blocked loading mixed active contenthttp://218.14.40.150:777/abilities/active/all%E2%80%9D game.js:9:186044
    TypeError: NetworkError when attempting to fetch resource.
        create https://example.com/game.js:9
        _godot_js_fetch_create https://example.com/game.js:9
        callUserCallback https://example.com/game.js:9
        runIter https://example.com/game.js:9
        Browser_mainLoop_runner https://example.com/game.js:9
    game.js:474:18
    SCRIPT ERROR: Assertion failed. game.js:474:18
       at: HttpHighClient.send_request (res://scripts/common/http/http_high_client.gd:37) game.js:474:18
    ERROR: Parse JSON failed. Error at line 0: Unknown error getting token game.js:474:18
       at: parse_string (core/io/json.cpp:582) game.js:474:18
    �[91m�[1mERROR: �[22mDB API can't read this response: /abilities/active/all�[39m�[0m game.js:459:16
    ERROR: DB API can't read this response: /abilities/active/all game.js:474:18
       at: push_error (core/variant/variant_utility.cpp:1098) game.js:474:18
    

    But the connection still won’t works 🤷‍♂️

    P.S: Some content from the logs was changed for privacy reason.


  • This is a piece of logs from the browser console:

    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://127.0.0.1:777/abilities/active/all. (Reason: CORS request did not succeed). Status code: (null).
    TypeError: NetworkError when attempting to fetch resource. game.js:474:18
    Firefox can’t establish a connection to the server at ws://127.0.0.1:888/. game.js:9:219740
    SCRIPT ERROR: Assertion failed. game.js:474:18
       at: HttpHighClient.send_request (res://scripts/common/http/http_high_client.gd:37) game.js:474:18
    ERROR: Parse JSON failed. Error at line 0: Unknown error getting token game.js:474:18
       at: parse_string (core/io/json.cpp:582) game.js:474:18
    �[91m�[1mERROR: �[22mDB API can't read this response: /abilities/active/all�[39m�[0m game.js:459:16
    

    Firewall I’ve already checked.