- HowTo Fix kolab_smtp_access_policy exit status 1
In case it happens to use Kolab with Ubuntu you might face the “kolab_smtp_access_policy exit status 1” error when sending or receiving emails!
Kolab is definitely one-of-a-kind open source groupware server software out there. It’s the best! It’s so stable that can handle the day of reckoning! But after un-fucking the initial installation! Anyways …
I’m using Kolab 16.0.1-16 on Ubuntu 16.04.6 LTS. For an unknown reason, Kolab installation wasn’t able to install all the components with success. So far, I’ve manage to install & configure more than 10 servers, with the same setup in question, and every time there were different issues at the installation level.
So if you have a similar log output from postfix:
1 2 3 4 5 6 7 |
postfix/spawn[21464]: warning: command /usr/lib/postfix/kolab_smtp_access_policy exit status 1 postfix/submission/smtpd[21458]: warning: premature end-of-input on private/submission_policy while reading input attribute name postfix/spawn[21464]: warning: command /usr/lib/postfix/kolab_smtp_access_policy exit status 1 postfix/submission/smtpd[21458]: warning: premature end-of-input on private/submission_policy while reading input attribute name postfix/submission/smtpd[21458]: warning: problem talking to server private/submission_policy: Connection reset by peer postfix/submission/smtpd[21458]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 451 4.3.5 <user2@example1.com>: Sender address rejected: Server configuration problem; from=<user2@example1.com> to=<user@example.com> proto=ESMTP helo=<kolab.example1.com> postfix/submission/smtpd[21458]: disconnect from localhost[127.0.0.1] ehlo=2 starttls=1 auth=1 mail=1 rcpt=0/1 rset=1 quit=1 commands=7/8 |
Consider installing the python-pymysql package via apt package manager!
1 |
apt install python-pymysql |
Thank this Source and google translate!