1

Topic: can't send/receive mails (error 451)

Hello.
I installed iRedMail and tried to send him an email but got error 451. After reading the forums, I found that this may be due to the fact that it is not running iredapd. I tried "sudo /etc/init.d/iredapd restart", but got this error:

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


Help me please. I'm new at Linux.
Thank you in advance.

----

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

2

Re: can't send/receive mails (error 451)

What linux distribution and version are you running?

3

Re: can't send/receive mails (error 451)

caiojames wrote:

What linux distribution and version are you running?

Ubuntu Server 15.10

4

Re: can't send/receive mails (error 451)

Try this:

apt-get install python-mysqldb

Then restart iRedAPD service.

5

Re: can't send/receive mails (error 451)

ZhangHuangbin wrote:

Try this:

apt-get install python-mysqldb

Then restart iRedAPD service.

It wrote that I already have it.

6

Re: can't send/receive mails (error 451)

zimennik wrote:

It wrote that I already have it.

Excuse me, i don't understand what you mean. sad
Do you have package python-mysqldb? not mentioned in this thread.

7

Re: can't send/receive mails (error 451)

sorry for my english sad

package python-mysqldb is already installed.

8

Re: can't send/receive mails (error 451)

Install 'python-pymysql' also please.

9

Re: can't send/receive mails (error 451)

YES!!! It's work now! Thank you very much!