Questions tagged [dovecot]

An IMAP and POP3 email server. When asking about Dovecot problems, please include relevant maillog lines and output of the following command: `doveconf -n`

Dovecot is an IMAP and POP3 server for *nix systems. It emphasizes security, and is also easy to set up and use, as well as having high performance.

More information about dovecot is available at http://www.dovecot.org/

1676 questions
2
votes
2 answers

Thunderbird doesn't work with postfix/dovecot

My environment: ubuntu 20.04.1 LTS postfix 3.4.13 dovecot 2.3.7.2 Setup is extremely simple. I configured postfix via built-in master as an internet site host. Dovecot (I use it as IMAP server) settings are all default. Now, I'm able to connect to…
2
votes
1 answer

access mail from old dovecot server backup

I want to access a few gigabytes of old mail that I have in an archived copy of a dovecot mail server's virtual mailbox files. I think it's an old version of dovecot's mdbox format? The server was built in 2008, and the archive taken in 2011. I'm…
mc0e
  • 5,866
  • 18
  • 31
2
votes
3 answers

Using ENV variables in Postfix and Dovecot configuration files

I'm trying to dockerize my mailing server and I'm having some troubles regarding how am I supposed to use environment variables inside Postfix and Dovecot configuration files (I'm using the latest packages available through apt for ubuntu:18.04). I…
2
votes
2 answers

Certbot post-renewal/post-deploy hook in cron job

On a mail server I need to reload Dovecot after Certbot renews my Let's Encrypt certificates. According to the Certbot documentation a --deploy-hook can be used: Command to be run in a shell once for each issued certificate. I found the cron job…
2
votes
0 answers

Setting SpamAssassin's Bayes_path per user and dovecot

I have dovecot, Spamassassin and postfix running. I started to use sa-learn to get better and more precise spam identification and filtering. I have not set the Bayes_path preference on my local.cf file, thus when I call sa-learn -u…
2
votes
0 answers

Send Mails with Postfix through SSH Tunnel

I'm a bloody newbie to SMTP and Postfix but I have configured a Postfix SMTP Service with SASL authentication on Raspbian in a local network behind a firewall. There is also a Dovecat IMAP Server running on the same instance. I setted up reverse…
jo87casi
  • 121
  • 1
1
vote
1 answer

Error: Couldn't drop privileges: User is missing UID (see mail_uid setting)

I have an email system that is setup loosely around the ISPMail guides here - https://workaround.org/ispmail/buster/ I am trying to setup a script for automatic password scheme migration, but I'm running into issues. I've been following guides…
Aaron A
  • 239
  • 2
  • 14
1
vote
1 answer

How to disable SMTP access to certain users in Exim using Dovecot Authenticator

I need to make an Dovecot IMAP email account receive-only so that the users can browse, move, delete existing emails but without being able to send email from that account. Sending is done via exim accepting SMTP connections from MUAs. It uses…
artfulrobot
  • 2,949
  • 13
  • 36
  • 60
1
vote
1 answer

adding user_attrs to dovecot-ldap.conf triggers "couldn't drop privileges: User is missing UID (see mail_uid setting)"

Background: I'm using Dovecot on Debian 10 and switching the userdb/passdb backend from NIS to LDAP, mainly because I want to learn about LDAP. For NIS I had this in dovecot.conf: userdb { driver = passwd } passdb { driver = pam args =…
1
vote
1 answer

Postfix send subdomain emails rewritten to main domain

I have Postfix + Dovecot + Mysql config, where I support multiple domains. The problem is when I add subdomain that already has main domain in virtual_mailbox_domains, Postfix rewrites it to main domain. For example: I send email as…
Navidot
  • 111
  • 3
1
vote
1 answer

How to create my own simple autoresponder for Postfix with custom conditions?

Postfix/Dovecot I want to create my simple custom autoresponder for Postfix, in Python, for instance. I don't need any third-party ready-to-user one. I want it to have some custom conditions such as "autoreply only when 'from == A' or/and 'to == B'…
Rajaru
  • 11
  • 1
  • 2
1
vote
0 answers

Postfix connection refused

So I recently set up Postfix and Dovecot with SpamAssassin for my email server and I tried using telnet to test SMTP and on all SMTP ports (25, 465, 587), I receive connection refused. I've set IP Tables and UFW. When executing netstat -tulpn | grep…
San
  • 11
  • 1
1
vote
1 answer

Dovecot: issue with converting mdbox to MailDir

I have a problem to convert mdbox to MailDir. Log from that process looks like: /bin/dsync -Dv -u user@domian.com mirror maildir:/tmp/destination/mailboxes/user@domian.com Debug: Loading modules from directory: /lib/dovecot Debug: Module loaded:…
JackTheKnife
  • 371
  • 1
  • 6
  • 24
1
vote
0 answers

Postfix error: status bounced/deferred

I tried setting up Postfix 2.10/Dovecot 2.2 email server for my domain on my CentOS 7 VPS, but I have met my match and must defer to the internet. I am using Nginx and MariaDB with PostfixAdmin, and will be using Roundcube for webmail (but first…
SKNB
  • 25
  • 1
  • 10
1
vote
2 answers

Postfix local mail delivery rate

I would like to increase the speed of the delivery rate of postfix to the local mailboxes. On the postfix man page I have found Resource And Rate Controls and I am trying to play with that. Altough there is still 70 mails in the mailq all coming…
Arany Péter
  • 112
  • 1
  • 6