Postfix on Ubuntu 12.04 - "skipped, still being delivered" (+Permission denied)


I have an issue that’s driving me crazy. Running Ubuntu 12.04 on DigitalOcean, I followed this tutorial to set up Postfix, Dovecot and ViMbAdmin:

Everything has been working fine for almost a week so far until suddenly today my incoming mail started getting stuck in the queue. I can see the emails using postqueue -p but they’ve just been sitting there for over 5 hours.

I am able to send email to other hosts just fine, but I can’t receive emails I send to myself either.

In my mail.err log I keep seeing lots of this:

Apr 8 16:10:30 marcusforsberg master[14769]: fatal: master_spawn: exec /usr/lib/postfix/f: Permission denied

But nothing else in the error log, just that line over and over.

The mail.log file keeps giving me this:

Apr 8 15:48:07 marcusforsberg master[5841]: fatal: master_spawn: exec > /usr/lib/postfix/f: Permission denied

Apr 8 15:48:08 marcusforsberg postfix/master[5758]: warning: process /usr/lib/postfix/f > pid 5841 exit status 1

Apr 8 15:48:08 marcusforsberg postfix/master[5758]: warning: /usr/lib/postfix/f: bad > command startup – throttling

And for each email:

Apr 8 15:46:05 marcusforsberg postfix/qmgr[5770]: 7D40416365E: from=someone@somedomain.tld, size=5691, nrcpt=1 (queue active) Apr 8 15:51:40 marcusforsberg postfix/qmgr[5931]: 7D40416365E: skipped, still being delivered

There’s pretty much nothing else in the logs - it just repeats these things.

Running postqueue -f has no effect, nor has resetting the Postfix config (dpkg-reconfigure postfix), restarting Postfix or rebooting the server (this has worked before when e-mail got stuck).

I’ve spent the better part of the day researching this but I haven’t found much useful. The only change done before this started malfunctioning was that I rebuilt my droplet from a snapshot (in order to enable backups). Before this, everything was working just fine. I had seen the “Permission denied” errors regularly as well but I was still able to receive email.

Here is my for Postfix: And my

I know how to read these messages using postcat -q, so that’s all fine, but it would be kind of nice to get things back to the way they were so I can read them properly! :) If anyone has any suggestions or links to solutions I have missed, please do let me know. Or if I should share any other configuration files or logs.

Thanks in advance for any help!

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.

The /usr/lib/postfix/f: errors have been fixed, there was a typo in my file ( However, I am now getting the following error for all emails in the queue: <br> <br>Apr 10 11:54:57 marcusforsberg postfix/error[4453]: 31FD2160934: to=someone@somedomain.tld, relay=none, delay=12839, delays=12839/0.19/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with[private/dovecot-lmtp] while receiving the initial server greeting) <br> <br>Could this be a problem with my DNS records? I’ve made some changes there but nothing I think is related to email/MX records. Let me know if this could be the case so I can share my DNS records here.