Page 1 of 1

bav-update.py error

Posted: Sat Jul 20, 2013 12:27 am
by mbriotto
The bouncing system doesn't work for me on 2013 release...
I read documentation, forum etc... but on "/var/log/maillog" every reply I got always "reject=550 5.1.1 No such user"

I don't know if it is relate to but under "/home/openemm/var/log" I found a log file: "20130720-bav-update.py" and it contains:

---------------------------------------------------------------------------------------------------------------------------
[20.07.2013 00:26:25] 5117 INFO/main: Starting up
[20.07.2013 00:26:25] 5117 FATAL/except: CAUGHT EXCEPTION:
Traceback (most recent call last):
File "/home/openemm/bin/scripts/bav-update.py", line 448, in <module>
data.update (forcedUpdate)
File "/home/openemm/bin/scripts/bav-update.py", line 414, in update
self.updateAutoresponder (auto)
File "/home/openemm/bin/scripts/bav-update.py", line 355, in updateAutoresponder
new.writeFile ()
File "/home/openemm/bin/scripts/bav-update.py", line 113, in writeFile
msg['Subject'] = self._mkheader (self.subject)
File "/home/openemm/bin/scripts/bav-update.py", line 95, in _mkheader
h = email.Header.Header (w, charset)
File "/usr/lib/python2.6/email/header.py", line 176, in __init__
self.append(s, charset, errors)
File "/usr/lib/python2.6/email/header.py", line 260, in append
ustr = unicode(s, incodec, errors)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe8 in position 0: unexpected end of data
---------------------------------------------------------------------------------------------------------------------------

Re: bav-update.py error

Posted: Mon Jul 22, 2013 7:53 am
by maschoff
Our hunch is that the content of field AR_SUBJECT in database table MAILLOOP_TBL is NOT UTF-8 encoded

Re: bav-update.py error

Posted: Mon Jul 22, 2013 9:16 am
by mbriotto
And... can this be related to the "No such user" error on boucing system?
How this problem can be solved?

Re: bav-update.py error

Posted: Mon Jul 22, 2013 9:25 am
by maschoff
No, my description is related to your stack trace. I do not know why a certain user does not exist.

Re: bav-update.py error

Posted: Tue Jul 23, 2013 9:16 am
by mbriotto
Ok, my fault.
I redeploy the vmx image and made confiruration from scratch another time and the "reject=550 5.1.1 No such user" disappears.

But...
The error on "/home/openemm/var/log/yyyymmdd-bav-update.py" remains.
When I fill the field "Sender address:" on a bounce filter there is the error and the autoresponder doesn't work.

How this problem can be solved?

Re: bav-update.py error

Posted: Fri Jan 31, 2014 7:48 am
by chal4oye
can this be related to the "No such user" error on boucing system?
How this problem can be solved?