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`
1,725
questions
1
vote
0
answers
16
views
dovecot + rspamd: learning ham and spam
I have installed my own mail server. It uses postfix, dovecot and rspamd. The delivery of emails is already working excellently, except for learning harmless and spam emails.
I found the following ...
0
votes
1
answer
104
views
Email from any outside domain bounces back with 554 5.7.1 Relay access denied error
i have setup postfix 3.6 on my ubuntu 22.04 vps (cyberpanel) with dovecot and roundcube as my webmail. i managed to fix outgoing emails but now, i am getting relay access denied errors. this is my ...
0
votes
0
answers
10
views
How to use allow_nets extra field in dovecot using GSSAPI authentication?
I would like to use dovecot withs GSSAPI autentication, using userdb with ldap backend. Is there a way how to use passdb allow_nets extra field, stored in ldap data base?
Dovecot documentation says: &...
0
votes
2
answers
37
views
postfix with dovecot : many authentication failures
I have installed postfix with dovecot and after while i have found tons of authentication failures from internet. I have installed and configured fail2ban and every not authenticated IP is banned but ...
0
votes
1
answer
34
views
How can I convince postfix to send mail to my local maildir using dovecot lmtr?
I have installed dovecot and postfix on debian 12 and it is working but broken.
I can connect to dovecot and see the existence of /var/mail/username/ on my server.
My problem is simply that sending ...
1
vote
0
answers
37
views
How to make Postfix hand off emails via LMTP to Dovecot better (virtual vs relay)?
There are 2 ways how Postfix can hand off emails via LMTP.
The first approach is recommended by Kyle Dent in his book about Postfix. He suggests it in cases when we want to store emails in a ...
0
votes
0
answers
17
views
doveadm http API payload size
I'm using docker-mailserver. I can connect to it using the doveadm http API, which allows me to read messages and perform other tasks.
I can send e-mail using SMTP through Java. I want to be able to ...
0
votes
0
answers
45
views
Postfix/dovecot use external smtp server to send auto-reply
I want that dovecot vacation extension uses an external smtp server for sending the out of office (vacation) mails.
Current setup:
I use postfix for my incomming mails and dovecot for my imap, all ...
-3
votes
0
answers
44
views
Setting up mailserver with Postfix/Dovecot
I'm probably missing something glaringly obvious here, but it's driving me nuts.
This week my mail server broke down, so I'm rebuilding one. I set this up YEARS ago, so I'm basically re-learning from ...
0
votes
1
answer
112
views
Can't receive messages in inbox of Thunderbird with Postfix and Dovecot
I have dovecot and postfix installed and working properly. I send messages to the server with postfix and Dovecot from clientnorbert@clientnorbert-1-2, with the email clientnorbert@ubuntumailsystem ...
-1
votes
1
answer
94
views
My Dovecot server stopped authorizing clients
I have seen answers to some similar queries on the web, but none of them have helped me fix this issue.
I installed an instance of Thunderbird directly on the server, and it can pick up mail from the ...
0
votes
0
answers
28
views
dovecot does not fetch emails to my client
After a considerable amount of struggle I was finally able to set up my email server and connect the account with the client.
Now I am able to send the email from the client but I do not receive any ...
1
vote
1
answer
38
views
dovecot telnet localhost 143
I have problem with dovecot, when im trying telnet localhost 143 i got
root@ubuntuserver:/etc/dovecot# telnet localhost 143
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection ...
0
votes
0
answers
23
views
[Postfix][Dovecot] Automatically forward a sent message under the identity of an email list to all other members of that list
I am running Postfix 3.8.4, Dovecot 2.3.20 (with pigeon hole sieve support) and OpenLDAP 2.6.4 as the backend for account and alias management.
Let's assume I have two mail accounts jane.doe@my-domain....
0
votes
0
answers
33
views
Connection closed by foreing host - Postifx, Dovecot
2024-02-07T10:44:27.271322+00:00 ubuntuserver postfix/postfix-script[23192]: starting the Postfix mail system
2024-02-07T10:44:27.277625+00:00 ubuntuserver postfix/master[23194]: daemon started -- ...
0
votes
0
answers
61
views
Postfix/Dovecot fails to send emails "SASL PLAIN authentication failed" - no further message
I have been all around the houses trying to configure Postfix and Dovecot so I can send through my domain from Gmail, which as far as I know is simply Gmail acting as a regular SMTP client talking to ...
0
votes
2
answers
173
views
Postfix/Dovecot presenting default SSL certificate from Apache to Thunderbird client
I've been struggling with this issue for some time now.
I want thunderbird to get the certificate for mail.******.cl, but it always seem to get ******.cl.
So I've done a couple of tests, and realized ...
0
votes
0
answers
86
views
Using Dovecot on Linux as an email archive repository
I am helping a company who has recently moved from one host to another. The new host has an 4.48gb limit for email which the companies emails fills. They don't want to lose the older emails but they ...
0
votes
0
answers
24
views
Is it possible to allow plaintext authentication only from certain users in dovecot?
is it possible to have the setting disable_plaintext_auth only affect certain users?
goal is that i can define users which are allowed to login over unencrypted connections, default should be ...
0
votes
1
answer
83
views
Postfix+Dovecot: emoji in subject from command line break the delivery ("SMTPUTF8 is required, but was not offered"), works from Gmail
Tl;dr: if I send an email to my Postfix+Dovecot server with the subject containing UTF-8 characters
email from Gmail => Postfix+Dovecot deliver the email correctly
email from mail (command line) =&...
0
votes
0
answers
38
views
What is the difference between BEFORE, SENTBEFORE, and SAVEDBEFORE?
In doveadm-search-query(7), it states:
BEFORE date specification
Matches messages with an internal date before date specification.
SENTBEFORE date specification
Matches messages with a Date: ...
0
votes
1
answer
32
views
Permission error when setting global-acls in dovecot
Dovecot's ACL plugin instructions indicate that for global acl's, we're supposed to create an acl file in /etc/dovecot/. and to include the access control list items in it. So I've created /etc/...
0
votes
0
answers
119
views
Dovecot Error: Namespace 'Mail storage autodetection failed with home=/home/username
Server is Centos 7 running Dovecot 2.2.36 and SendMail 8.14.7. Postfix 2.10.1 is installed but not running.
We've been running a SendMail / Dovecot combination for 20 years and across 3 server/OS ...
-1
votes
3
answers
137
views
Outlook getting spurious SMTP errors when connecting to Linux dovecot mail server
I'm running a mail server for about 30 people. I have had zero issues with it. But last week, several users began reporting an error in their email client, Outlook:
Checking the server mail log ...
0
votes
1
answer
28
views
Dovecot/Pigeonhole: How to specify default directory permission for newly created ./sieve directory for fresh uers?
I am running Dovecot 2.3.20 with enabled Sieve support. I am using virtual mail boxes for several hosted virtual domains. The system account and group which owns (shall own) the directories and mail ...
0
votes
0
answers
33
views
dovecot: sync client mails to server
One of my mailservers stopped working and the mails seem to be lost. I have a copy of them (IMAP) on my smartphone, which unfortunately doesn't allow to export them.
My question is: if I set up a new ...
0
votes
1
answer
106
views
Something sends email to OpenDKIM even after purging it
I can't send email from my server using Postfix. The /var/log/mail.log has:
postfix/local[1803]: 59367CDB9: to=<[email protected]>, orig_to=<opendkim>, relay=local, delay=0.03, delays=0....
0
votes
1
answer
1k
views
Dovecot - rcpt [email protected]: Failed to initialize user
I have an SMTP server:
Dovecot as its IMAP server
Postfix as its MTA
OpenDKIM to sign the emails.
When I send mail it throws this error:
Jan 01 10:46:01 example.com dovecot[211047]: lmtp(219823): ...
0
votes
2
answers
85
views
Dovecot/Postfix: How to enforce an intial syntax check on user name before querying LDAP for authentication?
I have a Postfix/Dovecot setup and use OpenLDAP as the user/password backend. Users must login with their fully-qualified email address as their username due to virtual hosting and hence the domain ...
0
votes
2
answers
273
views
Configuring S3 bucket as alternative storage for Dovecot sdbox
I'm trying to use an S3 bucket for long-term storage for emails, served with Dovecot, with a cron job to doveadm altmove everything older than a few weeks to alternative storage. I've been able to ...
0
votes
1
answer
128
views
Why dovecot use "postfix_accounts.users" to retrieve mail user information after username/password auth?
I had set up a mail server in my Rocky Linux 9.1 that comes with postfix, dovecot and mysql (refer to https://computingforgeeks.com/how-to-setup-mail-server-on-centos/).
Every thing is updated. (...
0
votes
1
answer
133
views
How to disable an IMAP capability in Dovecot?
For testing purposes, I want to disable specific capabilities in a Dovecot IMAP Server. In the documentation, I only find
imap_capability
Default: <empty>
Values: String
Override the IMAP ...
1
vote
0
answers
41
views
Sasl connection refused
i am trying to run a selfhosted mailserver using postfix and dovecot.
firstly i configured only postfix without dovecot and that worked fine but i wanted to use a mail client so i installed dovecot to ...
0
votes
0
answers
96
views
Dovecot not receiving mail while making use of vmail
Below is my current vmail configuration.
auth_mechanisms = plain login
auth_username_format = %n
protocols = imap lmtp
# Search for valid users in /etc/passwd
userdb {
driver = passwd
...
0
votes
0
answers
274
views
How to upgrade postfix/dovecot/spamassassin/postscreen email server from Ubuntu 20.04 to Ubuntu 22.04?
I am running an Ubuntu 20.04 based LEMP Email server running Postfix, Dovecot, Postscreen, and SpamAssassin. I built the server using this Linuxbabe Guide, and followed the instructions and every ...
0
votes
1
answer
20
views
What is meant by "Message sorting optimization records" in dovecot index?
Dovecot documentation here "https://doc.dovecot.org/developer_manual/design/indexes/index_file_format/#main-index" says that "Message sorting optimization records" are stored in ...
0
votes
0
answers
39
views
What is difference between uidvalidity and list index file in dovecot?
Dovecot's document notation says that uid-validity file store IMAP UID to filename mapping but it also says list.index file also store same. If it's so what is need of two files.
0
votes
1
answer
62
views
doveadm-move : source emails are expunged but disk space not freed
I'm migrating a mailbox setup for a small office where all people are storing company emails in their own personal mailbox to a public mailbox that everyone can access. I started out with doveadm-copy,...
0
votes
0
answers
147
views
Dovecot: Import from /var/spool/mail mbox to ~/Maildir
I've just migrated a personal mailserver from Courier MTA setup to a Postfix/Dovecot one. I thought I had it all worked out, but after I updated the MX record I realized Postfix was dumping mail into ...
0
votes
1
answer
469
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 ...
0
votes
0
answers
57
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 ...
0
votes
0
answers
29
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 ...
0
votes
1
answer
48
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 (...
0
votes
1
answer
194
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 ...
0
votes
0
answers
106
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....
0
votes
1
answer
50
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 (...
0
votes
0
answers
426
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 ...
0
votes
1
answer
408
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 ...
2
votes
1
answer
239
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 ...
1
vote
1
answer
65
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 ...