Page 1 of 1

Counter for Hardbounces doesn't work

Posted: Thu Oct 18, 2012 1:46 pm
by ManfredCC
Sending mails does work perfect.

But the server doesn't recognize hard bounces.

The maillog looks ok. Entries are normal, but slrtscn.log shows this

[18.10.2012 14:01:58] 2151 ERROR/main: Unable to open /var/log/maillog: Invalid input for /var/log/maillog: MÅMÅMÅMÅMÅMÅM
[18.10.2012 14:01:59] 2151 ERROR/main: Unable to open /var/log/maillog: Invalid input for /var/log/maillog: MÅMÅMÅMÅMÅMÅM
[18.10.2012 14:02:00] 2151 ERROR/main: Unable to open /var/log/maillog: Invalid input for /var/log/maillog: MÅMÅMÅMÅMÅMÅM
[18.10.2012 14:02:01] 2151 ERROR/main: Unable to open /var/log/maillog: Invalid input for /var/log/maillog: MÅMÅMÅMÅMÅMÅM
[18.10.2012 14:02:02] 2151 ERROR/main: Unable to open /var/log/maillog: Invalid input for /var/log/maillog: MÅMÅMÅMÅMÅMÅM
[18.10.2012 14:02:03] 2151 ERROR/main: Unable to open /var/log/maillog: Invalid input for /var/log/maillog: MÅMÅMÅMÅMÅMÅM
[18.10.2012 14:02:04] 2151 ERROR/main: Unable to open /var/log/maillog: Invalid input for /var/log/maillog: MÅMÅMÅMÅMÅMÅM
[18.10.2012 14:02:05] 2151 ERROR/main: Unable to open /var/log/maillog: Invalid input for /var/log/maillog: MÅMÅMÅMÅMÅMÅM
[18.10.2012 14:02:06] 2151 ERROR/main: Unable to open /var/log/maillog: Invalid input for /var/log/maillog: MÅMÅMÅMÅMÅMÅM
[18.10.2012 14:02:07] 2151 ERROR/main: Unable to open /var/log/maillog: Invalid input for /var/log/maillog: MÅMÅMÅMÅMÅMÅM

maillog: I compared the rights of the maillog-file with my other openemm-servers, but there is no difference to see.

maillog:

Oct 18 14:34:34 fbb sendmail[4953]: alias database /etc/aliases rebuilt by root
Oct 18 14:34:34 fbb sendmail[4953]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
Oct 18 14:36:03 fbb sendmail[5013]: 0000CD00000019019: to=<aaaaadskhfjks@sdf.at>, delay=00:00:16, xdelay=00:00:00, mailer=esmtp, pri=0, relay=mx1.bon.at. [213.33.87.13], dsn=5.1.1, stat=User unknown
Oct 18 14:36:04 fbb sendmail[5013]: 0000CD00000000003: to=<funktionierende Emailadresse>, delay=00:00:17, xdelay=00:00:01, mailer=esmtp, pri=0, relay=mx1.bon.at. [213.33.87.13], dsn=2.0.0, stat=Sent (OK id=1TOpKV-0007RQ-US)
Oct 18 14:38:02 fbb sendmail[5099]: 0000CE00000019019: to=<aaaaadskhfjks@sdf.at>, delay=00:00:10, xdelay=00:00:00, mailer=esmtp, pri=0, relay=mx1.bon.at. [213.33.87.13], dsn=5.1.1, stat=User unknown
Oct 18 14:38:04 fbb sendmail[5099]: 0000CE00000000003: to=<funktionierende Emailadresse>, delay=00:00:12, xdelay=00:00:02, mailer=esmtp, pri=0, relay=mx1.bon.at. [213.33.87.13], dsn=2.0.0, stat=Sent (OK id=1TOpMR-00072x-1S)

Any ideas?

Sys: CentOS 6.3 32bit, OpenEMM 6.3

Thanks & BR

Manfred

Re: Counter for Hardbounces doesn't work

Posted: Fri Oct 19, 2012 4:06 pm
by maschoff
Looks like OpenEMM has no permission to read the maillog.

Re: Counter for Hardbounces doesn't work

Posted: Fri Oct 19, 2012 6:45 pm
by ManfredCC
The same happens with full permissions.

Re: Counter for Hardbounces doesn't work

Posted: Fri Oct 19, 2012 7:54 pm
by maschoff
BTW, a version 6.3 of OpenEMM does not exist.

Re: Counter for Hardbounces doesn't work

Posted: Fri Oct 19, 2012 9:56 pm
by ManfredCC
OpenEMM 2011...

Re: Counter for Hardbounces doesn't work

Posted: Sat Oct 20, 2012 8:45 am
by maschoff
I had a look at the source code where the error message comes from: Python library agn.py, method __open. "MÅMÅMÅMÅMÅMÅM" specifies the line with the invalid content. So, the question is: Why does your maillog contain a line like "MÅMÅMÅMÅMÅMÅM"? It shouldn't and OpenEMM can not process it.

Re: Counter for Hardbounces doesn't work

Posted: Sat Oct 20, 2012 9:34 am
by ManfredCC
maillog doesn't contain a line like this. This is what maillog contains. Nothing more...

-------------------
Oct 18 14:34:34 fbb sendmail[4953]: alias database /etc/aliases rebuilt by root
Oct 18 14:34:34 fbb sendmail[4953]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
Oct 18 14:36:03 fbb sendmail[5013]: 0000CD00000019019: to=<aaaaadskhfjks@sdf.at>, delay=00:00:16, xdelay=00:00:00, mailer=esmtp, pri=0, relay=mx1.bon.at. [213.33.87.13], dsn=5.1.1, stat=User unknown
Oct 18 14:36:04 fbb sendmail[5013]: 0000CD00000000003: to=<funktionierende Emailadresse>, delay=00:00:17, xdelay=00:00:01, mailer=esmtp, pri=0, relay=mx1.bon.at. [213.33.87.13], dsn=2.0.0, stat=Sent (OK id=1TOpKV-0007RQ-US)
Oct 18 14:38:02 fbb sendmail[5099]: 0000CE00000019019: to=<aaaaadskhfjks@sdf.at>, delay=00:00:10, xdelay=00:00:00, mailer=esmtp, pri=0, relay=mx1.bon.at. [213.33.87.13], dsn=5.1.1, stat=User unknown
Oct 18 14:38:04 fbb sendmail[5099]: 0000CE00000000003: to=<funktionierende Emailadresse>, delay=00:00:12, xdelay=00:00:02, mailer=esmtp, pri=0, relay=mx1.bon.at. [213.33.87.13], dsn=2.0.0, stat=Sent (OK id=1TOpMR-00072x-1S)
---------------------

Tomorrow I will exchange agn.py by a working one. Maybe this script is defective?

Re: Counter for Hardbounces doesn't work

Posted: Wed Oct 24, 2012 2:58 pm
by ManfredCC
Doesn't work. I will set up the sever once again and reload the database.

Thanks guys!

Re: Counter for Hardbounces doesn't work

Posted: Wed Jun 26, 2013 7:38 am
by gilroy
Did I made something that wrong and the credentials for the external mailserver are inside the authinfo
I've made some additional changes required by documentations or found on this forum listed in the following: