Hello, I have a little problem with sendmail. I installed sendmail a few days ago and setup it with the default values which are given when you run sendmailconfig. Everything worked fine, but a few days ago sendmail stopped working. And today I tried to reinstall it like I did it a few days ago. I have used all default values which sendmail suggested me. And now I´m getting this error:
*** ERROR: FEATURE() should be before MAILER()
*** ERROR: FEATURE() should be before MAILER()
*** ERROR: FEATURE() should be before MAILER()
*** ERROR: FEATURE() should be before MAILER()
*** FEATURE(smrsh) must occur before MAILER(local)
*** ERROR: MAILER(local) already included
*** ERROR: MAILER(smtp) already included```
My config files:
[sendmail.mc](http://pastebin.com/tNLGEezc)
[sendmail.conf](http://pastebin.com/tzGdnsHL)
I already got this error when I tried to install sendmail a few days ago but it worked anyway. What am I doing wrong?
Thank you to all helpers in advance.
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!
Hello,
It appears that you have 3 lines 109 110 11 that include FEATURE settings after the MAILER settings. This generally causes an error with sendmail.
Even with the auto generated scripts this can happen at times. I would suggest moving those 3 lines above any MAILER configs so all your FEATURE config lines are above any MAILER config lines.
Then regenerate your sendmail config with sendmailconfig to regenerate things.
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.