Mail Queue error


#1

Unknown output from mailq: [[“can not chdir(/var/spool/mqueue/): Permission denied”,“Program mode requires special privileges, e.g., root or TrustedUser.”],78]

Cropped up out of the blue after updating modules.

A restart did not solve.


(Lorne Gaetz) #2

Permission issues are almost always resolved with:

fwconsole chown

That said, current versions of the FreePBX Distro don’t use that folder. What version are you using, and how was it installed.


#3

PBX Version:15.0.16.73
PBX Distro:12.7.8-2008-1.sng7
Asterisk Version:16.11.1

Updated using the upgrade script 12 to 13 to 14 to 15 etc., which I have done since it shipped from schmoozecom. It is a FreePBX appliance.


#4

fwconsole chown did not fix

is there a relevant log file I can attach?


#5

check this:
https://www.bugzilla.org/docs/2.18/html/paranoid-security.html

if that does not fix the issue then check out the system mail logs . /var/log/mail.err /var/log/mail.log