Postfix restart issue.

Posted May 15, 2017 4.9k views

Hello, so i was following up this guide on google;
Followed all instructions, and guide said to restart postfix/dovecot to apply changes, so i went ahead and when i tried to restart postfix, i recieved errors and it wasn’t able to restart the process, i will include the error stack here, so maybe you could give me heads up whats going on there.
After doing postfix check
I got stack trace like

postfix: warning: unreasonable macro call nesting: "mydomain"
postfix: warning: unreasonable macro call nesting: ", localhost, "
postfix: warning: unreasonable macro call nesting: "mydomain"
postfix: fatal: dictionary mail_dict: macro processing error

Edited files (/etc/hosts, /etc/postfix/, /etc/postfix/, /etc/dovecot/conf.d/10-master.conf, /etc/dovecot/conf.d/10-auth.conf, /etc/dovecot/conf.d/10-mail.conf, /etc/dovecot/conf.d/20-pop3.conf

Now i will include my current code on these files, i will be using pastebin in that case. = =
10-master.conf =
10-auth.conf =
10-mail.conf =
20-pop3.conf =

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Hi @iskovadiana95

It’s very difficult to read the with all those comments. I would recommend that you make a backup of the file and then remove all the comments.

Your problem is at line 682. Which doesn’t have a valid domain.
There are other problems with the configuration too.

You can see a simple example of a Postfix configuration here:

by Etel Sverdlov
This tutorial explains how to install postfix and cyrus with yum, how to configure postfix, how to configure cyrus, how to install mailx, and how to send a test email. Postfix is free open source Mail Transfer Agent which works to route and deliver email.This tutorial should help you set up a mail server on a centos droplet.

Please contact . We would love to help you for free..!