In my previous hosting setup I used the
sendmail command to send email when I needed to notify myself about system occurrences.
But I’ve been trying it out in DigitalOcean, and it consistently takes almost exactly 1 minute to execute.
Is this expected? Maybe an intentional rate-limiting measure? That would be fine, but it causes certain actions on my site to time out. I could execute the command in the background, but I’d like the exit status to tell the user if there was a problem (e.g. if they’re using a “contact admin” form).
So: what’s going on, and is there a way to mitigate it?
Platform: Ubuntu 12.04.5 32-bit kernel 3.2.0-24-virtual ip 220.127.116.11 sendmail 8.14.4
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!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!