Page MenuHomePhorge

SMTP Error: [554] 5.7.1 <DATA>: Data command rejected: Sender access denied after upgrade
Closed, ResolvedPublic

Description

hi all,

after upgrade to pykolab version 0.8.11-0~kolab2 all senders get rejected.

error message:

May 17 22:42:09 <host> postfix/submission/smtpd[]: : reject: DATA from localhost[::1]: 554 5.7.1 <DATA>: Data command rejected: Sender access denied; from=<mail> to=<mail> proto=ESMTP helo=<host>

after asking Google i got some hints and i restored this file from backup before upgrading:

/usr/lib/postfix/kolab_smtp_access_policy

now everything works again.

Kolab is installed on Ubuntu 16.04 - most recently patched.

dpkg -l pykolab
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                 Version         Architecture    Description
+++-====================-===============-===============-=============================================
ii  pykolab              0.8.11-0~kolab2 all             Kolab Groupware daemon and utilities

Details

Ticket Type
Task

Revisions and Commits

Event Timeline

hi,
had the same problem. It's on line 1287 in the script kolab_smtp_access_policy.py:
replace "if cache is notTrue:" with "if cache is not True:"

Now it works again.

sicherha claimed this task.
sicherha subscribed.

Oh dear. Thanks for pinpointing the problem!
I've pushed out an urgent hotfix; updated packages should be available in a few minutes.