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
35 views

Roundcube unable to connect to managesieve server

EDIT I connected with sieve-connect using PLAIN and an authentication method, and the login went ahead just fine. So I think there's an issue in Roundcube's config. $ ./sieve-connect.pl --debug -s ...
Morpheu5's user avatar
  • 259
0 votes
0 answers
15 views

Permission problems with uWSGI and Modoboa

I have run a manual installation of Modoboa (https://modoboa.readthedocs.io/en/latest/installation.html#manual-installation), which runs a webapp in uWSGI. I moved the static content to /var/www/html ...
daydr3amer's user avatar
0 votes
0 answers
16 views

dovecot maillog does not run or does not update after error appears

Dovecot maillog doesn't run after receiving an error like this, is there a solution to handle it? for email to run smoothly only maillog doesn't work, I've tried restarting postfix & dovecot, and ...
reaquan's user avatar
0 votes
1 answer
15 views

PigeonHole/Dovecot configuration for Sieve extension "Spamtest" with respect to "rspamd"

I try to configure the Sieve extension "Spamtest" (see Pigeonhole Sieve: Spamtest and Virustest Extensions) for rspamd. Rspamd is configured to add the extended mail header (...
user2690527's user avatar
0 votes
1 answer
121 views

Dovecot certificate is empty

I configured a Mail server with postfix, dovecot and mysql from the documentation. When I add a mail address in Outlook, it refused. I tried everything what I can find, but nothing helps. Can somebody ...
Nameless's user avatar
0 votes
0 answers
44 views

Migrate existing Maildir to Dovecot Maildir sub folder

I have an existing Maildir (one file per message) from a backup: root@host:/var/vmail/myname/cur# ls -lha | head -n 7 total 347M drwx------ 2 vmail vmail 844K Nov 5 10:15 . drwxr-xr-x 5 vmail vmail 4....
MrSnrub's user avatar
  • 153
-1 votes
0 answers
42 views

postfix/smtp[1353]: connect to gmail-smtp-in.l.google.com 25 Connection timed out on aws ec2

I already clear the restriction for port 25 from AWS side our domain Officielcrm.in. our mail server domain mail.officielcrm.in and Public IP is 43.205.38.228. We are not able to send mail outgoing ...
Naman Dixit's user avatar
0 votes
1 answer
12 views

Dovecot saves incoming mail from LMTP in wrong home directory despite being correctly overwritten

I have setup Postfix 3.8.1, Dovecot 2.3.20 and OpenLDAP on Ubuntu 23.10. Postfix transfers mails for local delivery via LMTP to Dovecot. In some cases, the mail address as seen from the outside world (...
user2690527's user avatar
0 votes
0 answers
66 views

Dovecot: SSL not working (no suitable signature algorithm), other daemons work just fine

I try to secure my Dovecot with SSL/TLS using Letsencrypt certificates. Dovecot immediately closes any TLS connection and reports the confusing error "no suitable signature algorithm" in the ...
user2690527's user avatar
0 votes
1 answer
67 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 Lockheart's user avatar
2 votes
1 answer
151 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 Lockheart's user avatar
1 vote
1 answer
42 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
53 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 Lockheart's user avatar
0 votes
0 answers
24 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 inf[email protected] for that domain in the mailserver ...
hitan_999's user avatar
0 votes
1 answer
66 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 Lockheart's user avatar
0 votes
0 answers
33 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
76 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
85 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,240
1 vote
1 answer
303 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
32 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
81 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
25 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
27 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
64 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
  • 41
0 votes
1 answer
45 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
76 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
243 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
117 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
138 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
82 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
32 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
109 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
61 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
131 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
126 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
38 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
99 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
57 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
208 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
104 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
178 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
600 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
0 answers
66 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
  • 41
0 votes
1 answer
378 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
47 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
153 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
72 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
144 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
129 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
  • 191
1 vote
0 answers
124 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
2 3 4 5
34