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
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
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
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
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
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
11 votes
4 answers
37k 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
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
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
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
3 answers
846 views

Is SPF enough to make sure emails get delivered to inbox?

So I just succesfully set up postfix + dovecot. is SPF enough to make sure emails get delivered to my website's users? I don't want my emails to end up in their spam box.
Alex's user avatar
  • 8,591
5 votes
2 answers
9k views

OpenDKIM errors

When sending mail, Outlook errors 4.7.1 Service unavailable - try again later. I have installed postfix, dovecot and openDKIM, but OpenDKIM is giving me errors: Mar 30 10:19:32 x opendkim[16762]: can'...
WMRKameleon's user avatar
4 votes
2 answers
5k views

Postfix Connection Timed out

I used the tutorial below to setup postfix and dovecot on a Digital Ocean server. But I'm getting "Connection Timed out" when postfix/smtp tries to deliver an email to a remote host like gmail or ...
Newtonx's user avatar
  • 305
3 votes
2 answers
3k views

Postfix sends email to spam (gmail, hotmail)

I recently installed a postfix + dovecot + dkim multi domain, multi user, multi alias mail server on my debian squeeze system. Everything works except for one big issue that basically makes the whole ...
razorxan's user avatar
  • 131
3 votes
2 answers
578 views

In Postfix, how do I measure how much traffic is used by each user or domain?

In Postfix, how do I measure how much traffic is used by each user or domain? I can see no "out of the box" means of doing this with vanilla postfix, however, I am sure this is a pretty common need. ...
ervingsb's user avatar
  • 395
1 vote
1 answer
1k views

Out-of-date IMAP back-up - restore emails from Client?

The IMAP server just died (Dovecot with Maildirs). The back-up is 1 day old. The missing day of emails is available on the Thunderbird local client. If the IMAP server is restored from backup, on ...
ByeByeEmail's user avatar
1 vote
1 answer
210 views

Long established installation of postfix has become an open relay; how can I figure out how and stop it?

This server system has been serving email services since Red Hat v 1.1 (circa 1997 I think) and now is on Fedora Core 37; through many hardware and OS updates along the way it has been kept current. ...
Richard T's user avatar
  • 1,242
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
12 votes
7 answers
37k 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,110
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
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
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
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
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
6 votes
4 answers
30k views

Dovecot ignoring maximum number of IMAP connections

I have a single mailbox mail server running Dovecot/Postfix and I have two IMAP clients, Thunderbird on the PC and K9 on Android. I keep on receiving this error in my logs even after I change the '...
Michelle's user avatar
  • 923
6 votes
1 answer
13k views

Postfix with Dovecot: local and virtual users

I just finished setting up a Postfix SMTP and Dovecot IMAP/POP3 server. It works perfectly fine for virtual users both sending and receiving, but I need to do the following: Besides virtual users ...
Anton's user avatar
  • 192
6 votes
3 answers
15k views

dovecot-lmtp: No such file or directory)

I have a problem w/ dovecot [private/dovecot-lmtp]: No such file or directory) Idea?
flavio.troja's user avatar
5 votes
2 answers
10k views

Postfix sends as hostname.domain.com instead of domain.com

I've been trying to set up a debian mail server running postfix, but when I try to send mail via mail [email protected] the recipient sees the sender as hostname.domain.com. The hostname it sends ...
Mutt's user avatar
  • 63
5 votes
2 answers
6k views

Exim authentication using Dovecot driver

Been following the instructions at the Dovecot Wiki for setting up Exim to share authentication credentials with Dovecot. I have setup Dovecot to deliver mails for virtual users and setup a router ...
DeaconDesperado's user avatar
5 votes
6 answers
14k views

dovecot start "Address already in use" error

I'm currently trying to use some "[email protected]" adresses on my dedicated server (Centos5). To do so, I'm tring to launch dovecot with /etc/init.d/dovecot start, but I get the following error ...
Nicolas Reynolds's user avatar
4 votes
1 answer
915 views

Moving mail server to google apps

I just recently moved one of my Mail server (Exim+dovecot) to google apps thinking it would be a good idea. I am interested to hear what the serverfault community think about it, and mostly weight the ...
Adam Benayoun's user avatar
4 votes
1 answer
3k views

Dovecot Sieve does not run?

I'm quite new to Dovecot but it has worked out for me pretty good so far for me. I run dovecot with postfix and amavis and spamassassin and it works out all fine, mails get tagged as junk, sending, ...
invalid's user avatar
  • 41
4 votes
1 answer
3k views

Postfix/Dovecot support multiple domains

I have a server running Postfix/Dovecot with a MySQL back-end which is configured to use the domain name 'olddomain.com'. I am migrating everything to use another domain 'newdomain.com' and Postfix/...
siebz0r's user avatar
  • 149
4 votes
1 answer
3k views

Compress old emails with dovecot

How can I configure dovecot to compress/archive old emails (say 6 months old) with the users still being able to read them, to save some precious space on the server?
Tofandel's user avatar
  • 201
4 votes
4 answers
18k views

Migrate from old to new postfix/dovecot mail server

In short: Does anyone know of a step-by-step guide to migrate maildir data from one dovecot to another? In long: I try to migrate my mail server to a new machine. Old server postfix/dovecot Step-by-...
andymel's user avatar
  • 211
4 votes
1 answer
44k views

SendMail: Connection refused by [127.0.0.1]

So I've installed Sendmail service, Dovecot and SquirrelMail in my server. I arrived to receive mails from local clients (different hosts in the same newtork). But I cannot send mails from server to ...
azert123's user avatar
3 votes
3 answers
2k views

How to make dovecot not ask passwords from localhost?

I have set up dovecot server and I'm currently using offline imap to sync my gmail to the dovecot imap running on the localhost. Currently I'm using plain text authentication, but this results in ...
Dima's user avatar
  • 305
3 votes
2 answers
4k views

Deliver mail to virtual users with sendmail and dovecot lda

I'm trying to migrate our linux system user based post system to virtual users. I have sendmail with procmail delivery dovecot system users with different uids roundcube web interface Sendmail ...
Ilya 'elcamlost' Rassadin's user avatar
3 votes
4 answers
17k views

Warning `undefined parameter: mua_sender_restrictions` when `postconf -n`

My system is centos 7. I am setting up mail server with postfix,dovecot,mariadb based on this post. There's a problem in my mail server, can send mail but cannot receive mail. Then I postconf -n,...
kittygirl's user avatar
  • 965
3 votes
1 answer
2k views

Dovecot auth-sql driver not respecting sql username options, how do I get around this?

Dovecot is running in a jail and set up properly for SQL connections. dovecot-sql-conf.ext has the appropriate options, the main one that's problematic is connect. connect = host=127.0.0.1 dbname=...
user avatar
3 votes
2 answers
19k views

Postfix/Dovecot permissions on new files in a mailbox

According to this article: When creating new files inside a mailbox, Dovecot copies the read/write permissions from the mailbox's directory. I'm not seeing this. Here is what I'm seeing: ...
Andrew Savinykh's user avatar
3 votes
3 answers
3k views

Authenticating SMTP Proxy

I have acquired a number of mail users, and I'm wanting to transition them away from their current mail server and onto mine. I've set up perdition as a proxy which will allow me to proxy IMAP and ...
davidgo's user avatar
  • 6,292
3 votes
1 answer
11k views

How to configure postfix/dovecot setup to reject certain mail

I followed this (https://workaround.org/ispmail/squeeze/big-picture) tutorial to set up my mailserver and it works very well. I'd like to be able to reject email from certain users or if it contains ...
Axel Latvala's user avatar
3 votes
1 answer
4k views

Dovecot - plus sign in mailbox name

I have a mailserver build with Postfix for SMTP and Dovecot for mail storage (with mailboxes stored in MySQL db). One of the users created mailbox with plus sign in its name, like this: peter+bob@...
dave's user avatar
  • 315
3 votes
1 answer
16k views

Maildir "new" has messages but Inbox is empty

I'm installing a new mail server (Postfix/Dovecot+Maildir) in a fresh OS. Using Thunderbird (or Squirrelmail) I can send mails but my inbox is empty even when I can see them in /home/<mailuser>/...
Heine Frade's user avatar
3 votes
1 answer
5k views

Gmail bouncing postfix mail [duplicate]

I followed this tutorial to get email working on my VPS. I've been having problems sending email to Gmail. I can receive emails fine, but any mail that is sent to Gmail is bounced with the following ...
k9rosie's user avatar
  • 39
3 votes
2 answers
7k views

Dovecot / Postfix / SASL: Connect to /var/run/dovecot/auth-client failed: Permission denied

Dovecot / Postfix configuration is not working properly on my server : after several checks, I understand that Imap services are operationnal using local or desktop clients Postfix is listening, and ...
TheArtist's user avatar
3 votes
2 answers
5k views

Dovecot: Email clients and duplicated folders

So in my server I'm usually going against a problem, different emails clients call some special folders like Sent and Trash different names like Sent Items and Deleted Items. My question is, can I in ...
TCB13's user avatar
  • 1,238
2 votes
1 answer
17k views

telnet unable to connect to remote host

I have installed postfix and devcot on one of my live servers to send bulk mail (system messages on sign-up, wrong passwords etc). I use the php_imap function to check bounces and flag those email id'...
sridhar pandurangiah's user avatar
2 votes
2 answers
6k views

Postfix (virtual users) + dovecot + sieve: envelop does not contain original recipient

I have set up my email server following the ISPMail tutorial with virtual users in postfix + dovecot + sieve. My problem is: the envelop "variable" in sieve does not contain the original recipient. I ...
Artemis's user avatar
  • 151