Questions tagged [dovecot]

QUESTIONS ABOUT POSTFIX ADMINISTRATION ARE OFF-TOPIC. Dovecot is an IMAP and POP3 server for Linux

Dovecot is an open-source IMAP and POP3 server for Linux originally developed by Timo Sirainen in 2002.

Please note that https://serverfault.com/ is another Stack Exchange website where you can ask especially configuration specific problems.

Useful links

343 questions
1
vote
0 answers

php imap_open transitory IMAP connection broken with localhost dovecot

I use the PHP function imap_open to connect to a localhost dovecot server. It works most of the time, but sometimes I have warning: PHP Warning: imap_open(): Couldn't open stream {imap.fluoo.com/imap:993/ssl/novalidate-cert}INBOX Can…
Rémy D
  • 11
  • 2
1
vote
1 answer

Creating a Unix socket based authentication server for dovecot in Python

I am in the process of building a custom authentication for email accounts. The imap/pop3 server is dovecot. The dovecout have an easy option to use Key-value authentication (dict) database via socket. The have the documentation and perl socket…
sherin
  • 323
  • 3
  • 10
1
vote
0 answers

Roundcube SSL connection IMAP Error: Login failed. Problem with my certificate ssl?

today haved a issues with the conection in my mailserver, when I try to login can't access. The error says: IMAP Error: Login failed for user@myserver.com against host.myserver.com from IP_ADDRESS. Could not connect to ssl://host.myserver.com:993:…
1
vote
1 answer

Change dovecot user password

I am using dovecot and configured it to load User accounts from a mySQL Table. This is my configuration: driver=mysql connect = "host=127.0.0.1 dbname=vmail user=vmail password=verySecret" default_pass_scheme = SHA512-CRYPT password_query = SELECT…
Daniel Pomrehn
  • 791
  • 3
  • 8
  • 23
1
vote
1 answer

Setting up postfix and dovecot and having authenticity failed issues

I have setup postfix, dovecot and rainloop on Ubuntu Server 20.04 and having some issues with authentication on the SMTP connection, I can successfully login using rainloop and I can also access via ios externally and view emails but I am unable to…
s7ntax
  • 9
  • 4
1
vote
1 answer

SASL in postfix/dovecot setup: Where is it used?

I'm trying to setup a mailserver with Postfix/Dovecot for a learning experience. (This means you do not have to discurage me!!) Towards 2/3 of any guides they just say "we're about to enable SASL authentication now". But I don't get where SASL fits…
TobTobXX
  • 418
  • 4
  • 17
1
vote
1 answer

Apparmor aa-genprof /etc/apparmor.d//local/usr.lib.dovecot.anvil not found

Hi I`m new to using apparmor. So i created a simple script on my Debian 10 to look how apparmor works: #! /bin/sh echo "hi from Apparmor">/tmp/hi.txt cat /tmp/hi.txt rm /tmp/hi.txt Then I saved the file as s.sh and try to generate a…
Romyl Rem
  • 11
  • 2
1
vote
1 answer

dovecot unable to start due to address already in use

I upgraded my Linux kernel and dovecot failed to start with the following error messages: Error: service(managesieve-login): listen(*, 4190) failed: Address already in use Error: service(pop3-login): listen(*, 110) failed: Address already in…
fatdragon
  • 2,211
  • 4
  • 26
  • 43
1
vote
0 answers

local mailsystem with Postfix, Dovecot: MUA is tricked with wrong address information while sending to alias address?

I have a local mailsystem with postfix, dovecot, virtual users, postfixadmin and getmail. Everything is working so far, except aliases. Aliases are delivered to the (expanded) recipients correctly, but a MUA is tricked to supply wrong From: and To:…
alex999
  • 59
  • 1
  • 5
1
vote
1 answer

how to send mail with javamail and postfix/dovecot

Hey I've recently been trying to send mail with javamail with my postfix/dovecot server. First I set up my mailserver using this tutorial: https://upcloud.com/community/tutorials/secure-postfix-using-lets-encrypt/ I can send and recieve mail fine on…
BastouP411
  • 19
  • 4
1
vote
0 answers

Dovecot Component that handles connection and passing data among its processes

I am looking for the component that interacts with the email client and passes credential for further authentication within Dovecot. I am also looking for the component that passes from the mail process to the email client.
Shawn Sim
  • 545
  • 1
  • 5
  • 17
1
vote
1 answer

Does Dovecot-LDA need the -f argument (and what is its purpose)?

Dovecot-LDA seems to deliver mail without the -f argument, and delivered mail is identical with and without it, however many setup guides include it in the delivery command. I'm frequently seeing error messages regarding invalid -f arguments, and I…
ATLief
  • 428
  • 4
  • 15
1
vote
0 answers

Handling multiple domains in local_name

I have the following dovecot configuration: local_name "www.example.org example.org" { ssl_cert =
Zhivko Angelov
  • 139
  • 2
  • 7
1
vote
1 answer

What is the correct way to format a Sieve script to include MIME with HTML?

I am trying to implement autoresponders on a server using Dovecot Sieve. I have managed to produce sieve scripts with simple html which works, however, when trying to implement more complex html I am receiving syntax errors. How can I formulate the…
Lee Colarelli
  • 151
  • 2
  • 13
1
vote
0 answers

Execute PHP script after mail server receives a mail

I am writing an application When email server received an email, to run PHP script in order to replace the mail "from address" with random generated email address as from address. Basically, email server receives an email, need to identify specific…