Author Topic: Clean install and pop-before-smtp error  (Read 3496 times)

colifato

  • Newbie
  • *
  • Posts: 47
    • View Profile
Clean install and pop-before-smtp error
« on: April 27, 2014, 10:17:14 am »
I have a new install of ubuntu 14.04 and fresh installation of EhcpForce and i have this error:

Apr 27 13:11:16 server1 postfix/smtpd[3324]: connect from h.xxxxx.com[94.23.xxx.xxx]
Apr 27 13:11:17 server1 postfix/smtpd[3324]: warning: hash:/var/lib/pop-before-smtp/hosts is unavailable. open database /var/lib/pop-before-smtp/hosts.db: Invalid argument
Apr 27 13:11:17 server1 postfix/smtpd[3324]: warning: hash:/var/lib/pop-before-smtp/hosts: table lookup problem
Apr 27 13:11:17 server1 postfix/smtpd[3324]: NOQUEUE: reject: RCPT from h.xxxxx.com[94.23.xxx.xxx]: 451 4.3.5 <h.xxxxx.com[94.23.xxx.xxx]>: Client host rejected: Server configuration error; from=<bounce1-xxxxx=xxxxx.com.ar@xxxxxxx.org> to=<xxxx@xxxx.com.ar> proto=ESMTP helo=<h.xxxxx.com>
Apr 27 13:11:17 server1 postfix/smtpd[3324]: disconnect from h.xxxxx.com[94.23.xxx.xxx]

Try in ubuntu 12.04?

colifato

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: Clean install and pop-before-smtp error
« Reply #1 on: April 27, 2014, 11:21:52 am »
I think that pop-before-smtp dont have a release for ubuntu 14.04
:(

colifato

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: Clean install and pop-before-smtp error
« Reply #2 on: April 28, 2014, 07:35:51 am »
Im back to ubuntu 12.04 and all its running fine

earnolmartin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 304
    • View Profile
Re: Clean install and pop-before-smtp error
« Reply #3 on: April 29, 2014, 05:50:43 pm »
I have a new install of ubuntu 14.04 and fresh installation of EhcpForce and i have this error:

Apr 27 13:11:16 server1 postfix/smtpd[3324]: connect from h.xxxxx.com[94.23.xxx.xxx]
Apr 27 13:11:17 server1 postfix/smtpd[3324]: warning: hash:/var/lib/pop-before-smtp/hosts is unavailable. open database /var/lib/pop-before-smtp/hosts.db: Invalid argument
Apr 27 13:11:17 server1 postfix/smtpd[3324]: warning: hash:/var/lib/pop-before-smtp/hosts: table lookup problem
Apr 27 13:11:17 server1 postfix/smtpd[3324]: NOQUEUE: reject: RCPT from h.xxxxx.com[94.23.xxx.xxx]: 451 4.3.5 <h.xxxxx.com[94.23.xxx.xxx]>: Client host rejected: Server configuration error; from=<bounce1-xxxxx=xxxxx.com.ar@xxxxxxx.org> to=<xxxx@xxxx.com.ar> proto=ESMTP helo=<h.xxxxx.com>
Apr 27 13:11:17 server1 postfix/smtpd[3324]: disconnect from h.xxxxx.com[94.23.xxx.xxx]

Try in ubuntu 12.04?

Was the server not sending or receiving emails?  From my research, it appears that pop-before-smtp has something to do with relaying email.  Well, you don't want to publicly relay email anyways.  The server should only relay messages if it comes from 127.0.0.1.  Were emails being sent / received, but just not allowing relay with the missing package?

colifato

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: Clean install and pop-before-smtp error
« Reply #4 on: April 30, 2014, 11:16:57 am »
if I remember correctly, the server did not receive the mail, so I was looking and looking .. the only option was to compile the package pop-before-smtp (although that point had already installed Ubuntu 12.04 again)

earnolmartin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 304
    • View Profile
Re: Clean install and pop-before-smtp error
« Reply #5 on: May 02, 2014, 09:29:20 pm »
if I remember correctly, the server did not receive the mail, so I was looking and looking .. the only option was to compile the package pop-before-smtp (although that point had already installed Ubuntu 12.04 again)

OK, I fixed the pop-before-smtp problem in the latest releases by downloading the source for pop-before-smtp, fixing a problem with the code that newer versions of perl weren't happy with, and then created a deb package that the installer / upgrader scripts download.

Please give it a try.  Email should now be sent / received without problems, I'm hoping, unless I've missed something else.

Ubuntu needs to add this deb package to the repository, maybe I should tell them.  Please test and let me know.