1 (edited by trujulu 2015-11-02 20:32:03)

Topic: Error with iredapd

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Ubuntu 15.10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue: at bottom
====

I cant send (and recieve) emails i get the following error in roundcube:

Error SMTP (451): Recipient could not be established "myemail@gmail.com" (4.3.5 Server configuration problem).

In log:

Nov  2 13:25:58 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:58 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:58 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:58 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:58 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:58 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:58 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:58 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:58 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:58 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:58 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:58 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:58 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:58 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:58 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:58 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:58 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:58 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:58 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:58 xxx postfix/smtpd[2163]: warning: connect to 127.0.0.1:7777: Connection refused
Nov  2 13:25:58 xxx postfix/smtpd[2163]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Nov  2 13:25:59 xxx postfix/smtpd[2163]: warning: connect to 127.0.0.1:7777: Connection refused
Nov  2 13:25:59 xxx postfix/smtpd[2163]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Nov  2 13:25:59 xxx roundcube: PHP Deprecated:  Non-static method PEAR::raiseError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php $
Nov  2 13:25:59 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:59 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:59 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:59 xxx roundcube: <269rb0q9> SMTP Error: Failed to add recipient 'myemail@gmail.com'. 4.3.5 Server configuration problem (Code: 451) in /opt/www/roundcubemail-1.1.1/program/lib/Roundcube/rcube.php on line 1714 (P$
Nov  2 13:25:59 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:59 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:59 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:59 xxx roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on $
Nov  2 13:25:59 xxx postfix/smtpd[2163]: disconnect from xxxx.es[127.0.0.1]

And when I try to start iredpad: (/etc/init.d/iredapd start)
I get:

Starting iredapd ...

Traceback (most recent call last):
  File "/opt/iredapd/iredapd.py", line 46, in <module>
    conn_vmail = create_engine(uri_db_vmail, pool_size=20, pool_recycle=3600, max_overflow=0)
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/__init__.py", line 386, in create_engine
    return strategy.create(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/strategies.py", line 75, in create
    dbapi = dialect_cls.dbapi(**dbapi_args)
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/dialects/mysql/pymysql.py", line 49, in dbapi
    return __import__('pymysql')
ImportError: No module named pymysql

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Error with iredapd

trujulu wrote:

ImportError: No module named pymysql

Please install package python-pymysql, then restart iRedAPD service.