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
20
votes
2 answers

Using Docker for a mail server

I've been interested in docker for a while, but not jumped in yet. I have a need to set up a mail server, so thought maybe I could use this as a reason to learn more about docker. However, I'm unclear how to best go about it. I've installed a…
Tauren
  • 26,795
  • 42
  • 131
  • 167
11
votes
1 answer

Some exposed Docker ports are not accessible from outside (dovecot, postfix)

this is driving me nuts, but for some reason, I cannot access certain ports from outside. I've checked almost every possible setting, but I have no idea why this is not working. I have no idea where to fix this issue (Ubuntu firewall vs. Docker vs.…
Sascha
  • 581
  • 1
  • 4
  • 19
11
votes
1 answer

sha512-crypt mysql and dovecot

I have a question about understanding sha512-crypt hashing. I found this tutorial to set up dovecot and postfix with mysql. I followed the tutorial (with slight modifications) and everything works fine. But there is one thing, that I do not…
Tim
  • 802
  • 1
  • 7
  • 15
9
votes
2 answers

Set up Nodemailer to secure email with a STARTLS handshake?

I need to send e-mail through my remote Postfix/Dovecot SASL service from Node.js on my desktop. When I send email using Thunderbird, it works and the Postfix server logs show Anonymous TLS connection established from unknown[dh.cp.ip.ip]: TLSv1.2…
Kickaha
  • 3,680
  • 6
  • 38
  • 57
8
votes
2 answers

Trigger script upon email receipt

I need to trigger a python script every time an email is received by my webserver on a specific account. I will also need the email to be passed to the script as an argument. My webserver is using Dovecot. How do I go about doing this?
user1576215
  • 113
  • 1
  • 1
  • 7
6
votes
2 answers

Linux postfix/dovecot 554 Relay access denied

I have this error 554 Relay access denied when trying to send email from my outlook client. I can read incoming mails but cannot send. If i connect with telnet localhost 25 i can send external emails, but with outlook client it doesn't work. Here's…
Tamere Jlanik
  • 135
  • 2
  • 4
  • 8
5
votes
2 answers

Mail storage method in dovecot

Dovecot supports both mbox and maildir format to store emails. I searched its docs for storing all emails in MySQL database but i coundn't find it. Is it possible to tell dovecot to store all outgoing and incoming emails in a database? Storing…
Dhaksh
  • 55
  • 1
  • 4
5
votes
2 answers

Dovecot with virtual hosts and SSL - wrong certificate?

I'm trying to set up Dovecot with multiple vhosts using SSL. I've set up my main domain (example.de) and for my vhosts (example2.com & example3.co.uk) I'm using the local -option. My problem: When I connect to my server, it complains about a wrong…
3und80
  • 364
  • 6
  • 20
5
votes
3 answers

Renaming not supported across conflicting directory permissions

I get the above error message from dovecot, if I try to rename a IMAP folder (with thunderbird) Renaming not supported across conflicting directory permissions if I try to rename "foo" to "foobar" Here are the…
guettli
  • 25,042
  • 81
  • 346
  • 663
5
votes
2 answers

Merging two dovecot Maildirs

I recently setup mail server using zpanel (with dovecot and Maildir format) for my domain and created a user email account with user@my-domain.com here. Here all the emails are stored in following tree in server under /var/zpanel/vmail/…
lalit
  • 3,283
  • 2
  • 19
  • 26
5
votes
2 answers

IMAP open stream: Self signed certificate issue

I'm trying to open the non-secure (port 143) IMAP connection (I am using PHP): imap_open('{localhost:143/imap}INBOX', USERNAME, PASS); and I get the next error: Certificate failure for localhost: self signed certificate ... Ok. I've tried to use…
sparkle
  • 223
  • 4
  • 7
4
votes
1 answer

How to integrate dovecot version 2 with gnus emacs

I am trying to use emacs and gnus as a mail reader. There are several snippets of instructions online for how to do this with offlineimap and dovecot, however they seem to be for the earlier version of dovecot. I have successfully installed…
brittAnderson
  • 1,428
  • 11
  • 25
4
votes
2 answers

How to replace a character by another in a variable

I want to know if there is a way to replace a character by another in a variable. For example replacing every dots with underscores in a string variable.
dblouis
  • 568
  • 1
  • 5
  • 18
4
votes
2 answers

Create a new email account from php script on dovecot/postfix

I'd like to make a page to allow people to create new email accounts on a dovecot/postfix server (via imap). I've seen the php functions imap_open and imap_createmailbox, but these functions don't create accounts, it only creates a new directory…
banibanc
  • 143
  • 3
  • 16
4
votes
1 answer

salted password hashes without saving the salt

I've got a mailserver which stores passwords for mailboxes in a mysql database with the following sql: ENCRYPT([PASSWORT], concat(_utf8"$1$", right(md5(rand()), 8), _utf8"$")) But there is no salt stored in the database. Now i need to build a…
1
2 3
22 23