Giter VIP home page Giter VIP logo

iredmail-cli's People

Contributors

rvojcik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iredmail-cli's Issues

Run command without SUDO

Is anybody there still? I wish to know how can I run the commands without a root user. With standard user, the command complains about the path (which is correct BTW) while if the same is done with sudo, then it works like a charm.

Error when doing email-manage.py -l

  1. I have nginx, not apache (and in fact plan to disable it and manage cli-only
  2. path is set correctly (email-manage.py does not throw path-related error)
  3. iRedMail-0.9.4

Trying to run
email-manage.py -l

gives

Domains
Traceback (most recent call last):
File "/usr/local/sbin/email-manage.py", line 456, in
search_database(args.domain, args.mailbox, args.search_string)
File "/usr/local/sbin/email-manage.py", line 82, in search_database
sql = "SELECT domain, description, transport, case when backupmx then 'yes' else 'no' end as 'Backup MX' FROM domain WHERE domain like '%" + search_string + "%'"
TypeError: cannot concatenate 'str' and 'bool' objects

ERROR: Error, email not added

iRedMail v0.9.8, v0.9.1 (MySQL) Centos 7.5.1804

When trying to add a email via command line "ERROR: Error, email not added", the command line works fine for password changes, listing domains, adding a new domain.

but error comes when trying to add a new email

email-manage.py -a -d test.com
Domain added

email-manage.py -w -m [email protected]
ERROR: Mailbox [email protected] not exist

email-manage.py -a -m [email protected]
ERROR: Error, email not added

server works fine with iRedadmin, but only the command line is not working.

Problem with aliases (iRedMail 0.9.7+)

Looks like 0ef919e doesn't fix it completely, i get this error when i'm trying to get the list of aliases with em -l -s something:

Aliases
Traceback (most recent call last):
  File "/usr/local/bin/em", line 468, in <module>
    search_database(args.domain, args.mailbox, args.search_string)
  File "/usr/local/bin/em", line 92, in search_database
    result = send_sql_query(db_vmail, sql)
  File "/usr/local/bin/em", line 52, in send_sql_query
    dbresult.execute(query)
  File "/usr/lib64/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
_mysql_exceptions.OperationalError: (1054, "Unknown column 'goto' in 'field list'")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.