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`

Filter by
Sorted by
Tagged with
0 votes
1 answer
449 views

How can I add a CRL to an existing Certificate Authority Certificate?

We have our own CA for internal use that secures about ten servers/services. We don't actually have or need a Certificate Revocation List. But, as we are attempting to setup Dovecot to verify the ...
Nick's user avatar
  • 4,656
2 votes
1 answer
252 views

What are the correct settings to enable TLS between Postfix and Dovecot via LMTP?

I am trying to get Postfix to forward mail via LMTP to Dovecot. This works fine when TLS is turned off in the settings on both sides. Once TLS settings are enabled, Postfix connects via LMTP and ...
Nick's user avatar
  • 4,656
1 vote
1 answer
70 views

Postfix Dovecot connection with MySQL8 SSL mode disabled

I have a production running installation of Postfix 3.1 and Dovecot. Recently upgraded to a new version of MySQL, passing from 5.6 to 8 hosted in a new server. The problem now is that postfix and ...
Sergi's user avatar
  • 113
0 votes
1 answer
164 views

Does LMTP support authentication?

Scenario: A Postfix Server runs on a VPS with a hosting company. A Dovecot IMAP server runs inside the office. We want Postfix to push mail it receives to the Dovecot IMAP server, using the least ...
Nick's user avatar
  • 4,656
0 votes
0 answers
144 views

PAM failing to authenticate all users from one domain in dovecot

I have installed a mail server using Dovecot + Postfix, and it always worked correctly. Recently I installed a new domain example.com and a user [email protected] for that domain in the mailserver ...
hitan_999's user avatar
0 votes
1 answer
91 views

Dovecot can't connect to MariaDB when require_secure_transport is on

I have a Dovecot server that uses MariaDB for virtual mailboxes. The MariaDB server is on another machine in the same LAN. We recently enabled TLS on the MariaDB machine. Dovecot works fine when ...
Nick's user avatar
  • 4,656
0 votes
0 answers
58 views

E-Mails are not storing. Postfix, Dovecot & MySQL

I am trying to set up a mail server with Postfix & Dovecot using MySQL to store the aliases, domain & user. The issue is, users are not receiving emails. According to the log files, the ...
Noaah's user avatar
  • 1
0 votes
0 answers
213 views

Can not setup postfix/dovecot with email clients

Having problems with configure postfix/dovecot with email clients such as outlook and thunderbird. Using telnet and openssl I have tested both smtp and imap through ports 587 and 993. Sent mails are ...
Dio Anderson's user avatar
0 votes
1 answer
265 views

With postfix, how do you setup SASL with dovecot to receive SMTP mail and cyrus to authenticate?

I had a static IP address and setting up my mail relay was as easy as: mynetworks = ... <static IP address> ... (and of course authorize all incoming mail from mynetworks). Now that I do not ...
Alexis Wilke's user avatar
  • 2,278
1 vote
1 answer
406 views

Dovecot process synchronization for duplicate email detection

We have a dovecot server version 2.3.16 with sieve duplicate extension enabled to detect and discard duplicates. We have duplicate routing in Postfix virtual_aliases file which causes duplicate copies ...
device_exec's user avatar
0 votes
0 answers
63 views

Postfix+Dovecot: filter email with certain `To:` address

I have a postfix+dovecot email server. There is one mailbox that was used by the Procurement department in many online shops and the address got disclosed and included in a spam list. I would like to ...
Yván Ecarri's user avatar
0 votes
1 answer
118 views

Roundcube imap domain

I have configuration Postfix+dovecot+roundcube. I have installed certificate SSL on domain main.example.com so when I have added below imap configuration test is OK and roundcube works. When I write ...
ufo1990's user avatar
0 votes
1 answer
41 views

Email client login for the virtual domains setup in postfix dovecot

I have set up a mail server using Postfix and Dovecot. Right now I don't have sasl setup. If I add a user using adduser command and login in to Thunderbird then there is no issue. But now I have also ...
Anveeg Sinha's user avatar
0 votes
0 answers
60 views

I want to import multiple Thunderbird profile to dovecot for archiving

I'm planning to combine my received emails from the last 10-20 years on a server. I've mainly been using Thunderbird on various Windows and Linux computers, so I believe the email formats are mostly ...
Michael Vogt's user avatar
0 votes
0 answers
219 views

Simple solution to archive dovecot/postfix emails to second server nightly for long term storage with roundcube access

Our email server has ~150 email accounts containing material that cannot be deleted for 10 years. Some accounts are heading towards 10gb of data so I'd like to setup a nightly archive process that ...
Adam's user avatar
  • 43
0 votes
1 answer
147 views

Dovecot_delivery transport can't write to maildir

When I was making /var/mail backup I screwed up and didn't copy permissions properly. Now I see the following message in my logs: 2023-09-17 03:10:26 1qhiB0-000Jx1-CI == [email protected] R=...
zoonman's user avatar
  • 117
0 votes
1 answer
110 views

Dovecot says user does not exist although it's in MariaDB database

I use a MariaDB to store users for Dovecot 2.2.10. The Dovecot keeps giving "Disconnected unexpectedly" errors, and I can't find a reason. Is there anything I could look at? Mail logs Aug 29 ...
岁月倾城197's user avatar
3 votes
1 answer
524 views

Linux port 25 is not working, and postfix unable to establish external connections at port 465, internal connection works with issues

I guess these are two typical issues, at least first one is. I'm trying to configure postfix dovecot on CentOS 7. First, the port 25 is open, but it is not accepting any outer connections. The ...
岁月倾城197's user avatar
0 votes
1 answer
194 views

Dovecot submission service: authentication failes

I have trouble setting up submissions with Dovecot + Postfix. doveadm auth login user pass gives the right output. When I try to send a mail with submission(s) it gives authentication failed error. ...
Andrei's user avatar
  • 5
1 vote
0 answers
271 views

How to move Spam emails to Spam folder With RoundCube and Dovecot-Pigeonhole

OS: Rocky Linux 9.2 Services: Dovecot, Dovecot-Pigeonhole, Postfix, Spamassassin, RoundCube I'm trying to move emails flagged as spam by postfix and spamassassin to spam folder using Dovecot-...
Hady Shaltout's user avatar
0 votes
1 answer
147 views

debian dovecot as a submission server

I am using debian 12 as a submission server. I cant get it to work as described. Here is my doveconf -n: auth_mechanisms = plain login disable_plaintext_auth = no mail_location = maildir:/home/vmail/%...
Andrei's user avatar
  • 5
0 votes
0 answers
50 views

SASL authorisation and hostname to access the server

I have a working postfix mail server. It is registered under two DNS names: mail.xxxx.de and xxxx.no-ip.org. I use SASL via dovecot for relay authorisation. It works flawless when the client uses the ...
EckartH's user avatar
0 votes
1 answer
148 views

Not able to receive emails on Postfix

I installed a mail server with Postfix and Dovecot on Debian. I can send emails without worries to Outlook, Yahoo, ...BUT I can't receive emails from outside. I use my internet box (free) as a router. ...
MEZIANE Yacine's user avatar
0 votes
0 answers
109 views

Dovecot authentication with hardware key ( yubikey )

Recently, I've been working on implementing hardware keys for authorization in dovecot/postfix and unfortunately, perhaps due to lack of knowledge, I wasn't able to implement it. From what I've seen, ...
Croxxy's user avatar
  • 1
0 votes
2 answers
438 views

mail_crypt dovecot plugin requires you to store private key on the server

Why does mail_crypt require generated private key to be stored on the server? I thought that the purpose of encryption at rest is to prevent attacker from reading the contents of user's mailbox. Once ...
Daniel Krajnik's user avatar
0 votes
1 answer
398 views

Dovecot fails to fetch messages due to cache size issues

I migrated maildir users from an old courier imap install to dovecot on docker alpine:latest. Initially everything seemed great, however, a problem seems to have crept in. Some messages will fail to ...
lopass's user avatar
  • 11
0 votes
0 answers
62 views

Dovecot missed permissions to access mail directory

I'm trying to install a new mail server and I think I've done something completly wrong. I don't know how to fix/continue my current situation. I've installed postfix on my Debian 11 system, working ...
lex's user avatar
  • 1
0 votes
1 answer
172 views

After upgrading Ubuntu Dovecot fails to start with a fatal error: Argument list too long

After upgrading Ubuntu from 20.04 to 22.04 I'm having a problem with starting dovecot and I'm getting the following error: $ sudo dovecot -F doveconf: Fatal: execvp(/usr/sbin/dovecot) failed: Argument ...
Alex's user avatar
  • 346
1 vote
1 answer
101 views

Postfix permit_sasl_authenticated before content_filter

I have a postfix + dovecot + spamassassin setup which works great, but I would like to bypass all outgoing messages (sasl authenticated) from spam filtering. I must do something wrong, because I ...
Darwick's user avatar
  • 121
0 votes
1 answer
388 views

shared mail address with postfix and dovecot

I'm trying to set up some shared mailboxes like contact or support. I have made it possible for me to share an IMAP folder between users in Dovecot by doing this in 15-mailboxes.conf namespace { ...
Kiwimarc's user avatar
-1 votes
1 answer
196 views

Is there a way to restrict senders access in postfix depending on Active Directory group they're in?

I have a postfix server setup and it is authenticating against AD with dovecot. Is there an option to configure it so one user in Group A can send mails as @a.local domain and user from Group B can ...
Laskus's user avatar
  • 3
0 votes
1 answer
352 views

Postfix header_checks are ignored

I'm using Ubuntu 20.04. I installed Postfix (v3.4.13) with Dovecot (v2.3.7.2) a long time ago. Now, I want to overwrite the Message-Id header using header_checks. It's the first time I'm trying to use ...
Ugnius's user avatar
  • 1
0 votes
1 answer
2k views

Dovecot Can't load SSL certificate (ssl_cert setting): There is no valid PEM certificate

I met an issue while setting up IMAP email server with postfix, so I used letsencrypt to generate the certificates, and sending/receiving email works just fine. But while I try to setup IMAP protocol ...
Xin's user avatar
  • 1
0 votes
1 answer
144 views

Unable to Automate Mail/Server Sync Using doveadm

I'm trying to migrate emails using dovecot's: doveadm sync -1 command. I have created a file of email addresses (usernames) that I'd like to iterate through and I can do this; however, each time I ...
Adam's user avatar
  • 43
0 votes
1 answer
658 views

535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6

I have Postfix installed on a Fedora 38 box with the following: $ grep smtp_ main.cf smtp_sasl_auth_enable = yes smtp_sasl_type = cyrus smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd ...
ekkis's user avatar
  • 159
0 votes
0 answers
61 views

Postfix - how can I post incoming email in a different inbox

I have successfully created 3 instances of postfix in kubernetes. Each instance checks if the user exists, passes the mail on to dovecot through the LMTP(rotocol) and dovecot saves the email in the ...
realShadow's user avatar
0 votes
1 answer
265 views

Postfix: Can't send mails from another network

I recently set a postfix (+dovecot) mail server (on a VPS) and when I am in my own home network, which I put in mynetworks, I can both send and receive mails. However when I am outside home I can only ...
Tsetsi's user avatar
  • 11
0 votes
1 answer
92 views

Postfix/Dovecot Not receiving external emails in Ubuntu 16.04

I have read all of the threads and can't figure out what is the problem. I can send emails. I can receive emails from my localhost and my other email names of the same domain, but I cannot receive ...
Don40's user avatar
  • 103
2 votes
0 answers
239 views

need help to configure postfix / dovecot + SSL for ports 993, 465 + virtual mail/accounts from file + CRAM-MD5 authentification

I have some issues in my configs to have an full functional mailserver with CRAM-MD5 authentification for only port 993 and 465. Plz help me and others to get an right config file struct for ubuntu ...
trash2's user avatar
  • 43
0 votes
0 answers
245 views

Postfix virtual_alias_maps and virtual_mailbox_maps delivery to Dovecot

I have a working Postfix setup where I can deliver incoming mails to both a Dovecot mailbox, and forward on those mails to an external address. However, this doesn't feel right, and I'd appreciate a ...
QF0's user avatar
  • 203
1 vote
0 answers
170 views

LDAP postfix "User doesn't exist"

I have a postfix server, which forwards all the emails to a dovecot server via LMTP. The usersname/groups are kept in a 389-Directory Server (LDAP) In /etc/postfix/transport I have a few lines like (...
alini76's user avatar
  • 11
1 vote
0 answers
232 views

managesieve - default sieve not applying

I set up my mail server on Debian 11 (postfix, dovecot, spamassassin, roundcube) and I got an issue with managesieve. In "90-sieve.conf" I set: sieve_default = /var/lib/dovecot/sieve/default....
roughnecks's user avatar
0 votes
0 answers
387 views

Auth/permission issues with Dovecot/Postfix with virtual users and dovecot Passwd-file

I currently have Postfix/Dovecot email-server configured to run a local system account (Dovecot auth-system) and everything runs fine with a local user set up using /etc/passwd, /etc/shadow. I would ...
rehenry's user avatar
0 votes
0 answers
137 views

Dovecot: mark messages loaded over POP3 as read

The task is to make messages delivered over POP3 marked as read while also keep them on server (even if DELE command issued by client) and accessible over IMAP. There are two exim config options: ...
Mikhail Karakulov's user avatar
1 vote
0 answers
373 views

Dovecot doveadm backup occassionally failing with error 65 - how to handle

I'm trying to set up backups of dovecot emails between 2 servers. The command doing the heavy lifting is: doveadm -D backup -R -u [email protected] ssh MAINSERVER.IP doveadm dsync-server -u ...
davidgo's user avatar
  • 6,292
0 votes
0 answers
98 views

Why the /var/log/maillog reports mail_max_userip_connections=10 if set for mail_max_userip_connections = 1000 in dovecot?

I have a Java web application which interacts with dovecot 2.2.36 and postfix 3.3.1 and I see errors from application log as keeps: Java application Log: 04-06-2023 10:18:40 ERROR http-nio-8080-exec-...
user3637971's user avatar
1 vote
0 answers
257 views

how to setup the folder separator a "/ " instead of a dot "." in imap maildir postfix and dovecot

The Question is already in the title. I want to setup dovecot and postfix with maildir , but I do not want the dot "." as folder separator. I like to use a folder system like "/" ...
Max Muster's user avatar
0 votes
0 answers
176 views

Dovecot: Restore Messages From mdbox Backups

Given a file-system backup of dovecot mailboxes (all in mdbox format) with a structure that looks something like the following: /path/to/backups/2023-03 /path/to/backups/2023-03/attachments /path/to/...
Haravikk's user avatar
  • 267
0 votes
0 answers
153 views

SASL Authentication - Why is it taking so long to login to the authentication server?

I can't describe it properly, but I have a Thunderbird mail client, I use it to receive and send mail through a user I created and an available domain. I use IMAP and POP3 services there, I also have ...
Pasrdfffsas's user avatar
0 votes
0 answers
60 views

Exim allow outgoing for specific domains

I am using Exim as MTA. I want if an email is sent out from my server, then the sender domain must be in the list "+local_domains", else it should be through the message "Not Allowed&...
Rahul Mukati's user avatar

1
2
3 4 5
35