Hello, so i was following up this guide on google; https://hostpresto.com/community/tutorials/how-to-setup-an-email-server-on-centos7/
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/main.cf, /etc/postfix/master.cf, /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. Main.cf = https://pastebin.com/GvBy5jn9 Master.cf = https://pastebin.com/gCte9PJ0 10-master.conf = https://pastebin.com/UhH4bG0y 10-auth.conf = https://pastebin.com/Fa0yTCVX 10-mail.conf = https://pastebin.com/LhjxKa8D 20-pop3.conf = https://pastebin.com/zh1sRWEH
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
It’s very difficult to read the main.cf 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: https://www.digitalocean.com/community/tutorials/how-to-install-postfix-on-centos-6
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.