Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-1 votes
0 answers
59 views

Postfix Mail being redirected to private inbox

I am relatively new to Linux, setting up servers and especially handling mail related things. I've bought a new domain and rented a VPS, which now hosts my website. I need a more open environment for ...
Brentspine's user avatar
0 votes
0 answers
27 views

How to monitor users usage of GPG keys on company email server

I've been tasked to monitor our user's usage of PGP keys (ie: how many emails are sent/received using PGP). How can I go about doing this? We all use Ubuntu and the Thunderbird email client and ...
GodAtum's user avatar
  • 319
0 votes
2 answers
272 views

554 5.7.1 Relay access denied - cant send mails

I tried to upgrade debian from 10 to 11 and the everything got messed up. Im trying to fix postfix. I can receive emails but cant send. I get the error "554 5.7.1 Relay access denied" My ...
Anarkie's user avatar
  • 11
0 votes
1 answer
94 views

Outlook timeout when adding IMAP account (dovecot, postfix)

I am adding a Postfix /dovecot mail server in Outlook 2016. It works on my phone and I can successfully authenticate using: doveadm auth test user pass postconf -n alias_database = hash:/etc/aliases ...
Slenti's user avatar
  • 1
1 vote
3 answers
227 views

Why it's recommended to run Postfix in a chroot jail?

I understand that chroot allows to isolate Postfix, so if an attacker gives an access to one of a Postfix program, he cannot maliciously change something outside of the chrooted directory. Seems that ...
Ilya Ordin's user avatar
0 votes
1 answer
155 views

SMTP Server: Postfix w/ Dovecot - how to configure the allowed username + password?

I seek a Linux-based SMTP server. I've read tutorials and specs regarding Postfix SASL with Dovecot, though I can't find how to configure the list of username and password which are allowed to send ...
Dor's user avatar
  • 175
0 votes
0 answers
31 views

IPREV check failing on multiple ipv6 addresses

I'm using a Raspberry Pi 5b running Ubuntu to host a Postfix and Dovecot mailserver from my home. After setting up various sender authentication mechanisms on the server eg. SPF, DKIM and DMARC - and ...
Oliver Ricketts's user avatar
0 votes
1 answer
209 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 ...
gjg2013's user avatar
0 votes
2 answers
102 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 ...
admfotad's user avatar
0 votes
1 answer
45 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 ...
Rich's user avatar
  • 183
1 vote
0 answers
89 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 ...
Ilya Ordin's user avatar
0 votes
0 answers
120 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 ...
Mandy's user avatar
  • 1
0 votes
1 answer
186 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 ...
Doujinx's user avatar
1 vote
1 answer
75 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 ...
Doujinx's user avatar
0 votes
0 answers
38 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....
user2690527's user avatar
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 -- ...
Doujinx's user avatar
0 votes
0 answers
106 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 ...
glenatron's user avatar
  • 235
0 votes
2 answers
280 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 ...
Jairo Alarcón's user avatar
0 votes
1 answer
190 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) =&...
Dr. Gianluigi Zane Zanettini's user avatar
0 votes
1 answer
110 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....
Mohammed Baashar's user avatar
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): ...
Mohammed Baashar's user avatar
0 votes
1 answer
139 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. (...
cidy.long's user avatar
  • 101
1 vote
0 answers
94 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 ...
kajvans's user avatar
  • 11
0 votes
0 answers
100 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 ...
root-louis's user avatar
0 votes
0 answers
373 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 ...
DanRan's user avatar
  • 93
0 votes
0 answers
137 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....
MrSnrub's user avatar
  • 153
2 votes
1 answer
342 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 ...
Nick's user avatar
  • 4,646
1 vote
1 answer
93 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 ...
Sergi's user avatar
  • 113
0 votes
1 answer
206 views

Does LMTP support authentication?

Scenario: A Postfix Server runs on a VPS with a hosting company. A Dovecot IMAP server runs inside the office. We want Postfix to push mail it receives to the Dovecot IMAP server, using the least ...
Nick's user avatar
  • 4,646
0 votes
0 answers
168 views

PAM failing to authenticate all users from one domain in dovecot

I have installed a mail server using Dovecot + Postfix, and it always worked correctly. Recently I installed a new domain example.com and a user [email protected] for that domain in the mailserver ...
hitan_999's user avatar
0 votes
0 answers
75 views

E-Mails are not storing. Postfix, Dovecot & MySQL

I am trying to set up a mail server with Postfix & Dovecot using MySQL to store the aliases, domain & user. The issue is, users are not receiving emails. According to the log files, the ...
Noaah's user avatar
  • 1
0 votes
0 answers
308 views

Can not setup postfix/dovecot with email clients

Having problems with configure postfix/dovecot with email clients such as outlook and thunderbird. Using telnet and openssl I have tested both smtp and imap through ports 587 and 993. Sent mails are ...
Dio Anderson's user avatar
0 votes
1 answer
400 views

With postfix, how do you setup SASL with dovecot to receive SMTP mail and cyrus to authenticate?

I had a static IP address and setting up my mail relay was as easy as: mynetworks = ... <static IP address> ... (and of course authorize all incoming mail from mynetworks). Now that I do not ...
Alexis Wilke's user avatar
  • 2,316
0 votes
0 answers
95 views

Postfix+Dovecot: filter email with certain `To:` address

I have a postfix+dovecot email server. There is one mailbox that was used by the Procurement department in many online shops and the address got disclosed and included in a spam list. I would like to ...
Yván Ecarri's user avatar
0 votes
1 answer
155 views

Roundcube imap domain

I have configuration Postfix+dovecot+roundcube. I have installed certificate SSL on domain main.example.com so when I have added below imap configuration test is OK and roundcube works. When I write ...
ufo1990's user avatar
0 votes
1 answer
74 views

Email client login for the virtual domains setup in postfix dovecot

I have set up a mail server using Postfix and Dovecot. Right now I don't have sasl setup. If I add a user using adduser command and login in to Thunderbird then there is no issue. But now I have also ...
Anveeg Sinha's user avatar
0 votes
1 answer
125 views

Dovecot says user does not exist although it's in MariaDB database

I use a MariaDB to store users for Dovecot 2.2.10. The Dovecot keeps giving "Disconnected unexpectedly" errors, and I can't find a reason. Is there anything I could look at? Mail logs Aug 29 ...
岁月倾城197's user avatar
3 votes
1 answer
890 views

Linux port 25 is not working, and postfix unable to establish external connections at port 465, internal connection works with issues

I guess these are two typical issues, at least first one is. I'm trying to configure postfix dovecot on CentOS 7. First, the port 25 is open, but it is not accepting any outer connections. The ...
岁月倾城197's user avatar
1 vote
0 answers
348 views

How to move Spam emails to Spam folder With RoundCube and Dovecot-Pigeonhole

OS: Rocky Linux 9.2 Services: Dovecot, Dovecot-Pigeonhole, Postfix, Spamassassin, RoundCube I'm trying to move emails flagged as spam by postfix and spamassassin to spam folder using Dovecot-...
Hady Shaltout's user avatar
0 votes
0 answers
61 views

SASL authorisation and hostname to access the server

I have a working postfix mail server. It is registered under two DNS names: mail.xxxx.de and xxxx.no-ip.org. I use SASL via dovecot for relay authorisation. It works flawless when the client uses the ...
EckartH's user avatar
0 votes
1 answer
187 views

Not able to receive emails on Postfix

I installed a mail server with Postfix and Dovecot on Debian. I can send emails without worries to Outlook, Yahoo, ...BUT I can't receive emails from outside. I use my internet box (free) as a router. ...
MEZIANE Yacine's user avatar
0 votes
0 answers
140 views

Dovecot authentication with hardware key ( yubikey )

Recently, I've been working on implementing hardware keys for authorization in dovecot/postfix and unfortunately, perhaps due to lack of knowledge, I wasn't able to implement it. From what I've seen, ...
Croxxy's user avatar
  • 1
0 votes
0 answers
84 views

Dovecot missed permissions to access mail directory

I'm trying to install a new mail server and I think I've done something completly wrong. I don't know how to fix/continue my current situation. I've installed postfix on my Debian 11 system, working ...
lex's user avatar
  • 1
1 vote
1 answer
150 views

Postfix permit_sasl_authenticated before content_filter

I have a postfix + dovecot + spamassassin setup which works great, but I would like to bypass all outgoing messages (sasl authenticated) from spam filtering. I must do something wrong, because I ...
Darwick's user avatar
  • 121
0 votes
1 answer
554 views

shared mail address with postfix and dovecot

I'm trying to set up some shared mailboxes like contact or support. I have made it possible for me to share an IMAP folder between users in Dovecot by doing this in 15-mailboxes.conf namespace { ...
Kiwimarc's user avatar
-1 votes
1 answer
251 views

Is there a way to restrict senders access in postfix depending on Active Directory group they're in?

I have a postfix server setup and it is authenticating against AD with dovecot. Is there an option to configure it so one user in Group A can send mails as @a.local domain and user from Group B can ...
Laskus's user avatar
  • 3
0 votes
1 answer
417 views

Postfix header_checks are ignored

I'm using Ubuntu 20.04. I installed Postfix (v3.4.13) with Dovecot (v2.3.7.2) a long time ago. Now, I want to overwrite the Message-Id header using header_checks. It's the first time I'm trying to use ...
Ugnius's user avatar
  • 1
0 votes
1 answer
2k views

Dovecot Can't load SSL certificate (ssl_cert setting): There is no valid PEM certificate

I met an issue while setting up IMAP email server with postfix, so I used letsencrypt to generate the certificates, and sending/receiving email works just fine. But while I try to setup IMAP protocol ...
Xin's user avatar
  • 1
0 votes
1 answer
898 views

535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6

I have Postfix installed on a Fedora 38 box with the following: $ grep smtp_ main.cf smtp_sasl_auth_enable = yes smtp_sasl_type = cyrus smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd ...
ekkis's user avatar
  • 159
0 votes
1 answer
326 views

Postfix: Can't send mails from another network

I recently set a postfix (+dovecot) mail server (on a VPS) and when I am in my own home network, which I put in mynetworks, I can both send and receive mails. However when I am outside home I can only ...
Tsetsi's user avatar
  • 21

1
2 3 4 5
20