Comments on: How to Configure Postfix and Dovecot with Virtual Domain Users in Linux – Part 2 https://www.tecmint.com/configure-postfix-and-dovecot-with-virtual-domain-users-in-linux/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Sun, 26 Feb 2023 20:04:51 +0000 hourly 1 By: Frank https://www.tecmint.com/configure-postfix-and-dovecot-with-virtual-domain-users-in-linux/comment-page-1/#comment-1973344 Sun, 26 Feb 2023 20:04:51 +0000 http://www.tecmint.com/?p=16925#comment-1973344 Hi,

I just update my Centos 9, I follow the steps

# chown vmail:dovecot /var/log/dovecot.log
# chmod 660 /var/log/dovecot.log

But in the /var/log/maillog, I got an error.

Error: net_connect_unix(/run/dovecot/stats-writer) failed: Permission))

I do see /var/log/dovecot.log with no issue.

I still can send & receive emails though.

What is the cause on this?

Many thanks and great instructions!

]]>
By: Ravi Saive https://www.tecmint.com/configure-postfix-and-dovecot-with-virtual-domain-users-in-linux/comment-page-1/#comment-1912528 Thu, 10 Nov 2022 06:40:29 +0000 http://www.tecmint.com/?p=16925#comment-1912528 In reply to Frank.

@Frank,

You must set your domain under “myhostname” in /etc/postfix/main.cf file.

myhostname = mydomain.com
]]>
By: Frank https://www.tecmint.com/configure-postfix-and-dovecot-with-virtual-domain-users-in-linux/comment-page-1/#comment-1912488 Thu, 10 Nov 2022 04:49:19 +0000 http://www.tecmint.com/?p=16925#comment-1912488 In reply to Frank.

Not getting any answer?

Here is the raw header from Gmail

Received: by T320.localdomain (Postfix, from userid 1000) id 90B1920813085; Wed,

I wish it is

Received: by mydomain.com (Postfix, from userid 1000) id 90B1920813085; Wed,

]]>
By: Frank https://www.tecmint.com/configure-postfix-and-dovecot-with-virtual-domain-users-in-linux/comment-page-1/#comment-1911167 Mon, 07 Nov 2022 16:13:59 +0000 http://www.tecmint.com/?p=16925#comment-1911167 Hi,

Thank you for your great tutorial! There is one issue though.

I can now send email using thunderbird to my Gmail account and Gmail actually receives it. However, I look at the raw header from Gmail. It shows

Received: from T320.localdomain ([my-ip-address]).

Where T320 is my Linux hostname. How can I make it show the actual domain, such as mydomain.com, as below:

Received: from mydomain.com ([my-ip-address]).

My machine has two domains pointing to it with same ip address….

]]>
By: Javier S https://www.tecmint.com/configure-postfix-and-dovecot-with-virtual-domain-users-in-linux/comment-page-1/#comment-1336748 Sat, 06 Jun 2020 21:59:42 +0000 http://www.tecmint.com/?p=16925#comment-1336748 Password mismatch? Check my comment in the first part of this article.

I will quote it here:

After hours and hours just found the issue…

`password` VARCHAR(100) NOT NULL,

But the result of

ENCRYPT(‘PasswordForFirstEmailAccount’, CONCAT(‘$6$’, SUBSTRING(SHA(RAND()), -16)))

will always exceed 100 characters

]]>