By aecsp2000
I set up postfix as per https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-as-a-send-only-smtp-server-on-ubuntu-20-04
I tried sending a test email. I did not get an error message, but email was never delivered. Looked at log. Got this output:
Apr 27 22:33:02 postfix/master[204809]: warning: process /usr/lib/postfix/sbin/qmgr pid 206673 exit status 1
Apr 27 22:33:02 postfix/master[204809]: warning: /usr/lib/postfix/sbin/qmgr: bad command startup – throttling
Apr 27 22:33:02 postfix/master[204809]: warning: process /usr/lib/postfix/sbin/pickup pid 206672 exit status 1
Apr 27 22:33:02 postfix/master[204809]: warning: /usr/lib/postfix/sbin/pickup: bad command startup – throttling
Apr 27 22:34:02 postfix/pickup[206796]: fatal: open dictionary: expecting “type:name” form instead of “site:”
Apr 27 22:34:02 postfix/qmgr[206795]: fatal: open dictionary: expecting “type:name” form instead of “site:”
Apr 27 22:34:03 postfix/master[204809]: warning: process /usr/lib/postfix/sbin/qmgr pid 206795 exit status 1
Apr 27 22:34:03 postfix/master[204809]: warning: /usr/lib/postfix/sbin/qmgr: bad command startup – throttling
Apr 27 22:34:03 postfix/master[204809]: warning: process /usr/lib/postfix/sbin/pickup pid 206796 exit status 1
Apr 27 22:34:03 postfix/master[204809]: warning: /usr/lib/postfix/sbin/pickup: bad command startup – throttling
Anything here sticks out to anyone here?
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!
Hi there,
Based on the logs, the issue seems to be related to an incorrect configuration in your Postfix configuration file. The error message fatal: open dictionary: expecting “type:name” form instead of “site:” indicates that there might be a problem with the format of a lookup table in your configuration.
To resolve this issue, you should double-check your configuration files (mainly /etc/postfix/main.cf and /etc/postfix/master.cf) for any incorrect syntax or misconfiguration related to lookup tables.
Here are some steps to help you find the issue:
Open /etc/postfix/main.cf and search for any lines containing the word “site”. Check if there are any lines that might be causing the problem.
If you find any problematic lines, either fix the syntax or comment them out (by adding a # at the beginning of the line) if they are not necessary for your configuration.
Similarly, check the /etc/postfix/master.cf file for any incorrect configurations.
After making any changes, restart Postfix with the following command:
sudo systemctl restart postfix
sudo journalctl -u postfix
If the problem persists, please provide the relevant sections of your Postfix configuration file for further assistance.
Best,
Bobby
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.