There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

conrad82 ,

I use dovecot for this. And thunderbird to actually move/archive the emails. I use caddy for many of my services, so I have pointed dovecot to caddys certificates (for “my.domain”), since it manages certificates through let’s encrypt. I had a plan to install postfix for sending internal emails from my self-hosted services, but it seemed like a bit of configuration and I got busy with other stuff

I made an excerpt from my docker-compose.yml, but you probably have to figure out some things on your own


<span style="color:#323232;">
</span><span style="color:#323232;">version: '3.4'
</span><span style="color:#323232;">
</span><span style="color:#323232;">services:
</span><span style="color:#323232;">  dovecot:
</span><span style="color:#323232;">    image: dovecot/dovecot:2.3.20
</span><span style="color:#323232;">    restart: unless-stopped
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - ./dovecot/:/etc/dovecot
</span><span style="color:#323232;">      - /mnt/storage/dovecot/mail:/srv/mail
</span><span style="color:#323232;">      - ./caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/wildcard_.my.domain/wildcard_.my.domain.crt:/etc/ssl/cert.crt
</span><span style="color:#323232;">      - ./caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/wildcard_.my.domain/wildcard_.my.domain.key:/etc/ssl/key.key
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - 993:993
</span>

contents of ./dovecot folder:


<span style="color:#323232;">dovecot.conf
</span><span style="color:#323232;">passwords
</span>

contents of dovecot.conf (I think I searched online to find a good example, I don’t remember where from…)


<span style="color:#323232;">## manage this file
</span><span style="color:#323232;">
</span><span style="color:#323232;">mail_home=/srv/mail/%Lu
</span><span style="color:#323232;">mail_location=sdbox:~/Mail
</span><span style="color:#323232;">mail_uid=1000
</span><span style="color:#323232;">mail_gid=1000
</span><span style="color:#323232;">
</span><span style="color:#323232;">protocols = imap pop3 submission sieve lmtp
</span><span style="color:#323232;">
</span><span style="color:#323232;">first_valid_uid = 1000
</span><span style="color:#323232;">last_valid_uid = 1000
</span><span style="color:#323232;">
</span><span style="color:#323232;">passdb {
</span><span style="color:#323232;">  driver = passwd-file
</span><span style="color:#323232;">  args = scheme=argon2i /etc/dovecot/passwords
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="color:#323232;">ssl=yes
</span><span style="color:#323232;">ssl_cert=</etc/ssl/cert.crt
</span><span style="color:#323232;">ssl_key=</etc/ssl/key.key
</span><span style="color:#323232;">
</span><span style="color:#323232;">namespace {
</span><span style="color:#323232;">  inbox = yes
</span><span style="color:#323232;">  separator = /
</span><span style="color:#323232;">
</span><span style="color:#323232;">  mailbox Drafts {
</span><span style="color:#323232;">    auto = subscribe
</span><span style="color:#323232;">    special_use = Drafts
</span><span style="color:#323232;">  }
</span><span style="color:#323232;">  mailbox Sent {
</span><span style="color:#323232;">    auto = subscribe
</span><span style="color:#323232;">    special_use = Sent
</span><span style="color:#323232;">  }
</span><span style="color:#323232;">  mailbox Spam {
</span><span style="color:#323232;">    auto = subscribe
</span><span style="color:#323232;">    special_use = Junk
</span><span style="color:#323232;">  }
</span><span style="color:#323232;">  mailbox Trash {
</span><span style="color:#323232;">    auto = subscribe
</span><span style="color:#323232;">    special_use = Trash
</span><span style="color:#323232;">  }
</span><span style="color:#323232;">  mailbox Archive {
</span><span style="color:#323232;">    auto = subscribe
</span><span style="color:#323232;">    special_use = Archive
</span><span style="color:#323232;">  }
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="color:#323232;">service lmtp {
</span><span style="color:#323232;">  inet_listener {
</span><span style="color:#323232;">    port = 24
</span><span style="color:#323232;">  }
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="color:#323232;">listen = *
</span><span style="color:#323232;">
</span><span style="color:#323232;">log_path=/dev/stdout
</span><span style="color:#323232;">info_log_path=/dev/stdout
</span><span style="color:#323232;">debug_log_path=/dev/stdout
</span>
  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines