• 1 Post
  • 6 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 😁