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
40 votes
8 answers
34k views

Why Does hotmail still reject my emails?

I have a very strange problem with my emails being marked as spam by hotmail. I just have configured Postfix + Dovecot on my server and all works perfectly. I can Send/Receive emails. I only have ...
Dail's user avatar
  • 649
36 votes
4 answers
108k views

SASL LOGIN authentication failed: UGFzc3dvcmQ6 - Find the username

First let me state that the mail server is working fine and users can connect and send email. Basically there is a local web script connecting into the mail server trying to send mail every few ...
Ryaner's user avatar
  • 3,127
18 votes
5 answers
43k views

Dovecot user lookup fails when using username@domain format

I have Dovecot v2.0.11 installed on a FreeBSD server and the user lookups for incoming email addresses are failing, but lookups for system users is successful. Dovecot is setup to use system users, ...
cigarman's user avatar
  • 283
17 votes
3 answers
15k views

Can't receive mails from Gmail

A few days ago Gmail suddenly decided to stop sending mails to my mailserver. I am using Postfix and Dovecot with an paid SSL Certificate running on Debian 7 with everything updated. My mail.log ...
Octfx's user avatar
  • 283
15 votes
2 answers
14k views

Postfix → Dovecot LMTP: User does not exist: uid@domain

I am trying to have Postfix deliver local mails via Dovecot's LMTP (among other things to replace procmail with sieve). Up to now, I've been using mailbox_command = procmail - a "$EXTENSION", ...
eudoxos's user avatar
  • 363
15 votes
1 answer
38k views

doveadm: Delete messages older than date

I've a situation where some users keep very old messages (+5 years) on their mailboxes that are just a waste of space and due to safety reasons should also be deleted. I find out that I could use ...
TCB13's user avatar
  • 1,238
13 votes
1 answer
6k views

is it safe to remove mails on imap server with "rm"?

I use dovecot IMAP server and want to delete big unneeded mails: cd /var/spool/foouser; du -a | sort -rn > /var/tmp/du-mail-foouser.log Now I see big mails at the top and after looking at them I ...
guettli's user avatar
  • 3,843
12 votes
7 answers
38k views

Connect to private/auth failed: No such file or directory

I've setup postfix, dovecot and roundcube. receiving and sending email via roundcube is working as well as receiving emails via imap with another email client. But I'm not able to send emails with an ...
markus's user avatar
  • 1,120
12 votes
4 answers
14k views

Set up certs for multiple domains in Postfix and Dovecot

I don't know how to set up main.conf postfix config file and 10-ssl.conf dovecot config files in order to make my mail server capable to handle with multiple certificates. Let me explain... I have two ...
p0lo's user avatar
  • 121
12 votes
3 answers
23k views

How do I setup a SENT and TRASH folder with Dovecot?

The IMAP mailbox that Dovecot sets up has no SENT folder or TRASH folder. How do I set those up? Is there a way to place them outside of the INBOX hiearchy? I want to make sure that these folders work ...
user avatar
12 votes
1 answer
1k views

Configure roundcube login by hostname

I recently installed Roundcube on my Centos6/postfix/dovecot server. Default install works great but I am trying to configure some options that I cannot seem to figure out. My end result would be a ...
Anthony Fornito's user avatar
11 votes
4 answers
38k views

How do I change Dovecot virtual user passwords?

I used one web based control panel to create some virtual users for Dovecot. That control panel no longer works so I need to do this manually. I need to reset the password for one (virtual) user ...
AppleGrew's user avatar
  • 417
11 votes
3 answers
5k views

Failed SPF for email imported to Gmail because of client IP instead of server's in message when sent through SMTP from one local box to another

We have a linux (Debian) VPS with domain (let's say example.com with MX mail.example.com) that has SPF set up. There is dovecot+exim running. There is also Direct Admin on top of that. When I send a ...
Zbyszek's user avatar
  • 175
11 votes
2 answers
5k views

invoke filtering manually in dovecot+sieve

I've configured dovecot with a sieve filtering (also I've configured roundcube, but this does not matter I think). It's working fine, I've set up some filters. But now I've got a huge unfiltered ...
Arenim's user avatar
  • 237
11 votes
1 answer
165 views

Cannot send email to info@ or support@

I am trying to send email from my gmail account to a couple user accounts I have on my new Centos server. The email is setup correctly and I can send receive from accounts ok except info and support. ...
Brian Curless's user avatar
10 votes
2 answers
13k views

Why use Dovecot AND Postfix/Sendmail? [closed]

Forgive me if I'm missing something obvious here..... but why do most linux server distros come with both Dovecot AND Postfix (or sendmail)? As far as I'm aware all three of them are Mail Transfer ...
Nom's user avatar
  • 301
10 votes
3 answers
4k views

Gmail flagging Dovecot email as insecure

I thought I successfully secured my Postfix/Dovecot email server. I have a signed certificate from LetsEncrypt, which is valid for my domain. Sending & receiving works fine, but since Gmail ...
gavanon's user avatar
  • 529
10 votes
3 answers
7k views

run sieve on maildir

For my mailserver I have a dovecot, postfix and sieve setup. I have several hundred mails in my maildir and have recently created some sieve rules for sorting them. Unfortunatelly the sieve rules are ...
ftiaronsem's user avatar
10 votes
2 answers
46k views

Postfix and Dovecot opened ports

Doing a nmap on my server, I get this: 25/tcp open smtp 80/tcp open http 110/tcp open pop3 143/tcp open imap 465/tcp open smtps 587/tcp open submission 993/tcp open imaps 995/tcp open pop3s ...
danator's user avatar
  • 105
10 votes
2 answers
32k views

Dovecot SMTPD Sasl auth error: fatal: no SASL authentication mechanisms

I've googled this error and nothing I've read/tried works - anyone know what it is Error log: Feb 23 22:35:36 localhost postfix/smtpd[5278]: connect from localhost.localdomain[127.0.0.1] Feb 23 22:...
Adrian Cornish's user avatar
10 votes
1 answer
15k views

Dovecot, getting error: Mail access for users with UID 222 not permitted

When I attempt to login to my Dovecot IMAP server I get this error: dovecot: imap(ec2-user): Error: user *theuser*: Couldn't drop privileges: Mail access for users with UID 222 not permitted What ...
john's user avatar
  • 259
10 votes
1 answer
433 views

Postfix Mail server rejecting sending mail from wordpress site

I have recently setup a mail server on linode using Postfix, Dovecot and MySQL. I can send and receive mails from a mail client (Outlook) but any time I try to send mail with a user from a wordpress ...
Fanan Dala's user avatar
10 votes
1 answer
5k views

Do Postfix and Dovecot support OCSP stapling?

Since I would like to set the "must staple" attribute in my SSL certificates, I was doing some research to find out if all of my services support OCSP stapling. So far I found out, that Apache does ...
comfreak's user avatar
  • 1,531
9 votes
1 answer
7k views

Dovecot creates folder, Postfix expects file

I have tried configuring a Postfix/Dovecot combo with virtual users using this guide. My server is running Postfix 2.6.6 and Dovecot 2.0.9 on CentOS 6.5. The problem is that when I connect to the ...
Steen Schütt's user avatar
9 votes
2 answers
28k views

Spamassassin, Dovecot and Postfix: Move spam to folder

I am trying to move Spam detected by spamassassin automatically to the Junk folder on Debian Jessie. I installed Spamassassin and edited the configs: local.cf (spamassassin folder) rewrite_header ...
Nidhoegger's user avatar
9 votes
1 answer
398 views

Postfix Multi Domain Email Going to Spam

I have read over the other post from other users on this site about this topic. I think I see my problem but cannot figure out where to change it. My configuration: RDNS for 107.170.172.XXX: ...
Brian Curless's user avatar
8 votes
3 answers
25k views

Dovecot: missing +w perm: /var/mail, we're not in group 8(mail)

I can't figure out what I am missing. I'm setting up a new mail server and had this erorre every time I receive an email. The user is inside the group mail mail:x:8:dovecot,user.name The perms ...
Kreker's user avatar
  • 478
8 votes
1 answer
37k views

postfix: relay access denied. How to fix it?

I've been fiddling with main.cf file for a long time but still couldn't find why. I've set up an email server with this tutorial Email with Postfix, Dovecot and MariaDB on CentOS 7 This is the part ...
Searene's user avatar
  • 321
8 votes
1 answer
6k views

How to check if dovecot's configuration is valid? (config file syntax)

Is there a command that I can issue that will tell me if the current set of config files for dovecot are valid or if there's an issue? I just made a change to my dovecot config files. Before ...
Michael Altfield's user avatar
8 votes
3 answers
14k views

Dovecot cant connect to imaps 993

I am trying to set up a mail server in digitalocean VPS. The problem is that i cant telnet to 993 although firewall is inactive and dovecot is listening. Please tell me where i do wrong. I followed ...
Fandi Susanto's user avatar
8 votes
1 answer
5k views

Alternative to postfix with SNI certificates + Dovecot compatibility

As we're aware postfix doesn't support SNI (Server Name Indication), which means that if you'd define a certificate, it will be used for all domain names that you have on that server, which could be ...
The Quantum Physicist's user avatar
8 votes
1 answer
17k views

Couldn't drop privileges: User is missing UID (see mail_uid setting)

I'm hoping I can use some help. I'm configuring dovecot_ldap, but I can't seem to be able to get dovecot to authenticate the ldap user. Below is my config and log info: hosts = 192.168.128.45:3268 ...
drecute's user avatar
  • 191
7 votes
4 answers
8k views

Migrating from any IMAP/POP3 server to Dovecot

I am trying to synchronize two mailboxes which reside in different servers. This is due to a migration process. The old server is a courier server and needs to be accessed via IMAP, whereas the new ...
lefterav's user avatar
  • 233
7 votes
5 answers
21k views

How can I migrate Dovecot from one server to another?

I have a Dovecot installation on a Fedora 12 "server" at home and I want to move all my mailboxes onto a virtual CentOS 5 server. How can I do this? Which files to I have to copy? Is it even enough ...
Daniel Rikowski's user avatar
7 votes
1 answer
3k views

Postfix + Dovecot: Create send-only email account

I've got a nice little mail server setup (running Ubuntu Server 16.04) that works a treat. It uses postfix as SMTP, which uses dovecot (IMAP) as an authentication source for virtual mailbox users. It'...
starbeamrainbowlabs's user avatar
7 votes
1 answer
24k views

How to correct Dovecot user login to use full domain email in this format "[email protected]" [duplicate]

I have configured dovecot and postfix...Email server works fine.. (Webmail and outlook both works..) I have created users using unix command .. usreadd -s /sbin/nologin myuser But i have a concern, ...
Aravinda's user avatar
  • 1,121
7 votes
2 answers
4k views

How to make dovecot password independent of server password?

I'm using postfix and dovecot. I want to send and receive email from root. Until I use SSL/TLS certificate, I am using an unencrypted connection. Since my email password is the same as my ssh ...
User's user avatar
  • 1,405
7 votes
3 answers
22k views

Setting up mail accounts without real Linux users

I've setup Postfix and Dovecot on my Ubuntu Server. My aim is to create 27 mail accounts that can receive and send mail to everywhere. I've got emails to not show up as spam in Gmail, Yahoo and ...
shavit's user avatar
  • 187
7 votes
2 answers
1k views

Postfix deny relay for some virtual users

I'm using Postfix as MTA and relay. Users that wish to send e-mail from a remote system authenticates and Postfix hands that to Dovecot, and this works well. But how can I limit which users can use ...
Simon Fredriksson's user avatar
7 votes
1 answer
18k views

Postfix/Dovecot - Multiple Domains and Multiple Linux Accounts

I have been trying to setup a new mail server to migrate from my VPS, as my host has decided to close its doors. The old server was running Exim/Courier (nearly a decade old at this point,) and I'm ...
Mookman288's user avatar
7 votes
2 answers
431 views

What options exist for changing usernames transparently in Webmail?

Currently, we have a fully working POP/IMAP/Webmail system (using Dovecot and Roundcube) that is a gleaming tower of perfection in its intended design. We have thousands of customers who belong to a "...
Ernie's user avatar
  • 5,352
7 votes
3 answers
3k views

Monit failing to connect to Dovecot over SSL IMAP

I run Monit to keep check on processes on a Debian server. It's working as normal for all other services (Apache SSL, Postfix, SSH etc.) but Monit's checks on Dovecot are failing repeatedly. I think ...
Vilas's user avatar
  • 71
7 votes
2 answers
9k views

Dovecot Certificate Authentication

After implementing certificate authentication on Nginx web server, I would like to do the same on Dovecot mail server. The idea is to create your own CA and manage certificates (both issuing and ...
Daniel Iancu's user avatar
7 votes
3 answers
20k views

Dovecot error: ssl enabled, but ssl_cert not set

I've been trying to get Postfix and Dovecot set up for days and I think I have resolved all problems except for one that just came up. When I try to restart Dovecot I get the following error message: ...
Steve's user avatar
  • 71
7 votes
6 answers
8k views

Force Dovecot not to log connect/disconnect messages

My /var/log/mail.log gets constantly flooded with Dovecot connect/disconnect messages like this: Mar 29 18:15:48 summit dovecot: IMAP([email protected]): Disconnected: Logged out bytes=63/2126 ...
squircle's user avatar
  • 524
7 votes
1 answer
3k views

Postfix warning: SASL: Connect to /var/spool/postfix/private/auth failed: No such file or directory

I have searched, and failed to find an answer and I am out of ideas. I just do not know enough about postfix and dovecot to parse the configs or understand what may be causing this error. warning: ...
Victor Major's user avatar
7 votes
1 answer
10k views

What is causing SSL-"shutdown while in init" error on dovecot?

At one of my systems I can see from time to time error messages like: TLS: SSL_read() failed: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init What might causes these errors?
frlan's user avatar
  • 573
6 votes
3 answers
7k views

Is there a way to pause mail delivery in Postfix (accumulate in queue)?

When using combination of Postfix/Dovecot, is there a way to tell smtp server (Postfix) not to store mails on disk but hold/add them to queue until "maintenance finished"? Useful for disk upgrades, ...
Alex's user avatar
  • 1,868
6 votes
4 answers
17k views

Dovecot Migration and old mails

I'm migrating my mails from an old server to a new one, the configuration is good (mysql virtual accounts & imap only), with dovecot and postfix. It's already running for other users, I just want ...
lovethebomb's user avatar
6 votes
4 answers
35k views

dovecot-lmtp does not exist

I followed this guide on linode to setup dovecot and postfix mail server on my Ubuntu 12.04.2 LTS . The setup requires socket /var/spool/postfix/private/dovecot-lmtp to act as virtual transport. ...
He Shiming's user avatar

1
2 3 4 5
35