Are you the publisher? Claim or contact us about this channel


Embed this content in your HTML

Search

Report adult content:

click to rate:

Account: (login)

More Channels


Showcase


Channel Catalog


Channel Description:

The most recent posts in iRedMail.

older | 1 | .... | 1383 | 1384 | (Page 1385) | 1386 | 1387 | .... | 1394 | newer

    0 0

    ==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
    - iRedMail version (check /etc/iredmail-release): 0.9.9
    - Deployed with iRedMail Easy or the downloadable installer? I curled tar
    - Linux/BSD distribution name and version: FreeBSD 12.0-RELEASE
    - Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
    - Web server (Apache or Nginx): Nginx
    - Manage mail accounts with iRedAdmin-Pro? Neh
    - [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
    ====

    Hi, I just freshly installed iRedMail 0.9.9 in iocage jail. Everything works, but Roundcube.
    When I try to access https://mail.domain.eml/mail Nginx returns 502 Bad Gateway and puts this in the error log:

    2019/01/03 05:58:12 [error] 31374#100516: *11 upstream prematurely closed connection while reading response header from upstream, client: xxx.yyy.zzz.111, server: _, request: "GET /mail/ HTTP/1.1", upstream: "fastcgi://192.168.8.36:9999", host: "mail.domain.eml"

    I checked /usr/local/etc/php-fpm.d/www.conf and added the 192.168.8.36 ip to listen.allowed_clients, but without any luck.

    listen = 192.168.8.36:9999
    listen.owner = www
    listen.group = www
    listen.mode = 0660
    listen.allowed_clients = 127.0.0.1, 192.168.8.36

    There is no log in: /usr/local/www/roundcube/logs

    It seems that php-fpm.log does not record anything either:

    Jan  3 05:31:20 mail php-fpm[31063]: [NOTICE] ready to handle connections
    Jan  3 05:47:52 mail php-fpm[31338]: [NOTICE] configuration file /usr/local/etc/php-fpm.conf test is successful
    Jan  3 05:47:52 mail php-fpm[31063]: [NOTICE] Finishing ...
    Jan  3 05:47:52 mail php-fpm[31063]: [NOTICE] exiting, bye-bye!
    Jan  3 05:47:52 mail php-fpm[31347]: [NOTICE] configuration file /usr/local/etc/php-fpm.conf test is successful
    Jan  3 05:47:52 mail php-fpm[31349]: [NOTICE] fpm is running, pid 31349
    Jan  3 05:47:52 mail php-fpm[31349]: [NOTICE] ready to handle connections


    Do you have any other tips?


    0 0

    Same Problem here...


    0 0

    ==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
    - iRedMail version (check /etc/iredmail-release): 0.9.9
    - Deployed with iRedMail Easy or the downloadable installer? installer
    - Linux/BSD distribution name and version: debian 9
    - Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
    - Web server (Apache or Nginx): nginx
    - Manage mail accounts with iRedAdmin-Pro? no
    - [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
    ====
    A quick question:

    iRedMail no longer installs with apache2 , only nginx is supported apparently.  I need to switch to apache2 because nginx will not serve any css to other sites I set up on the server. There seem to be many, many different reasons why this can happen with nginx, but nothing I have found after two days of searching solves the problem.  If the main mail parts will still run with apache2 on the server, I may be able to manage without some web functions that are supported by nginx.   

    So I would like to know which parts of iRedMail will break as a result of installing apache2.

    TIA


    0 0
  • 01/04/19--12:15: Can't upgrade iRedAdmin-Pro
  • ==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
    - iRedMail version (check /etc/iredmail-release): 0.9.9 MYSQL edition.
    - Deployed with iRedMail Easy or the downloadable installer? installer
    - Linux/BSD distribution name and version: Ubuntu 16.04
    - Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
    - Web server (Apache or Nginx): Nginx
    - Manage mail accounts with iRedAdmin-Pro? Yes
    - [IMPORTANT] Related original log or error message is required if you're experiencing an issue.

    "not found"

    ====

    Trying to upgrade from iredadmin 3.0 to iredadmin 3.1

    We reach a "not found" page when clicking "Email Download Link" on  https://myserver.tld/iredadmin/system/license


    0 0

    We updated iredapd and we plan to add greylisting service again on the weekend.  Will let you know if this was successful.


    0 0

    I noticed iredapd 2.4 is released.  Do you suggest this, or to continue with 2.3 as you advised above?


    0 0
  • 01/04/19--12:39: Re: Preventing backscatter
  • Is it possible to read the remote LDAP database rather than replicate? Do you have any documentation on how the LDAP works on local account lookups?


    0 0
  • 01/04/19--13:02: Cannot see groups in SOgo
  • ==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
    - iRedMail version (check /etc/iredmail-release): 0.9.9
    - Deployed with iRedMail Easy or the downloadable installer? downloadable installer
    - Linux/BSD distribution name and version: Debian 9 (Stretch)
    - Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
    - Web server (Apache or Nginx): Nginx
    - Manage mail accounts with iRedAdmin-Pro? -
    - [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
    ====
    For the context: I've a Active Directory on a Windows Server. On another hand, I've my Debian server with the installation for iredmail with SOgo (so two different machine).

    Hello,

    I cannot make the groups visible inside SoGo or RoundCube. I verified with this command line
    # postmap -q DG_myCustomGroup@example.com ldap:/etc/postfix/ad_virtual_group_maps.cf and it's printing correctly the users inside it. I can see users normally without any problem, I've just troubles with normal groups in my AD server.

    The query inside the /etc/sogo/sogo.conf is like that:

    {
            type = ldap;
            CNFieldName = cn;
            IDFieldName = cn;
            UIDFieldName = sAMAccountName;
            baseDN = "ou=uGroups,ou=Users,ou=MyCorp,dc=example,dc=com";
            bindDN = "cn=mailadm,ou=Workers,ou=Users,ou=MyCorp,dc=example,dc=com;
            bindPassword = "$mypasswd";
            canAuthenticate = YES;
            displayName = "Show Groups";
            hostname = ldap://x.x.x.x:389;
            id = groups;
            isAddressBook = YES;
    }

    Thanks for your help!


    0 0

    Hello, the first thing I want to ask is if iredmail can coexist with other virtual ones within nginx.
    My question is this because I have a server running with several virtual and when I install iredmail lost access to all virtual, any url that I call goes directly to the webmail of iredmail.
    I have configured the ngnix virtual but they do not respond all go to the webmail of iredmail and I also stop working the https for the other applications, I can only access by ip and http, not https.
    This happens to me since I install iredmail, surely the installation changes nginx configurations but I can not find them.

    Greetings and thanks


    0 0

    Sorry about this trouble. Just sent the download link, let me know if you didn't receive it.


    0 0
  • 01/04/19--21:32: Printer
  • In today's date, I have seen printer is the best for all people. For most of the work done by a printer. Because it helps to print. So for more just vsisit epson scanner driver


    0 0

    thanks for support.
    a base on https://docs.iredmail.org/iredadmin-pro … l.api.html
    a restful api for login and ... .
    login with username and password.
    how change password with restful api.


    0 0

    Hi

    Yes. Same here. FreeBSD 11.2 RELEASE, no jail. Restarting services useless. Problem only resolve when i restart the server. But it's happening again in 24 hours.

    Best Regards.

    Hasan Alp İNAN


    0 0

    ==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
    - iRedMail version (check /etc/iredmail-release): 0.9.9
    - Deployed with iRedMail Easy or the downloadable installer? No, manual
    - Linux/BSD distribution name and version: FreeBSD 11.2
    - Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
    - Web server (Apache or Nginx): Nginx 1.14
    - Manage mail accounts with iRedAdmin-Pro? Yes
    - [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
    ====

    For those - like me - who are for one reason or another not able to use the upgrade script I have this recipe, that may be of use to others:

    1) I was unable to implement the new iredadmin service script so I fell back to the uwsgi service I had been using before.
    2) My mailhost setup is behind a nginx proxy/firewall. I didn't want to open up a new port (7791) unnecessarily so sticked to the uwsgi socket I had been using before.
    3) this recipe is mainly focused on UWSGI with some additional Nginx config

    Prerequisites:
    update devel/py-simplejson
    update dns/py-dnspython
    update ftp/py-pycurl
    update www/py-requests
    update lang/python27 with LIBFFI, PYMALLOC, THREADS and UCS4 enabled. IPV6, NLS and DEBUG are optional.
    update www/uwsgi with JSON, PCRE and SSL enabled. DEBUG is optional

    Preparations:
    download, fetch, wget the latest iRedAdmin-Pro-SQL.tar.bz2 release to your web directory.
    Mine is /var/www - yes, a debian legacy thingie on a FreeBSD install, but never mind.
    tar -xjf the iRedAdmin-Pro-SQL.tar.bz2 file
    chown -R iredadmin:iredadmin the iRedAdmin-Pro-SQL folder
    cp -a your old settings.py to the new folder
    rm the symlink to the old installation directory
    ln -s iRedAdmin-Pro-SQL iredadmin
    your web path should now read: [web root]/iredadmin
    source iredadmin.mysql from iredadmin/SQL to get the latest updates

    Configurations:
    I did not need to modify the settings.py
    here are the most relevant settings:
    backend = 'mysql'
    storage_base_directory =
    default_mta_transport = 'dovecot'
    iredadmin_db_host =
    vmail_db_host =
    amavisd_db_host =
    iredapd_enabled = True
    iredapd_db_host =
    mlmmjadmin_api_auth_token = (I really dislike the mlmmj ->requirement<- since 0.9.8 but that's for another topic)

    rc.conf rules for UWSGI:
    uwsgi_enable="YES"
    uwsgi_profiles="iredadmin"
    uwsgi_iredadmin_flags="--ini /usr/local/etc/uwsgi/iredadmin.ini"

    iredadmin.ini settings:
    [uwsgi]

    master = true
    vhost = true

    processes = 5
    enable-threads = true

    module=iredadmin
    mountpoint=[web root]/iredadmin

    #pidfile = /var/run/uwsgi_iredadmin.pid
    #uwsgi-socket = 127.0.0.1:7791

    uwsgi-socket = /var/tmp/uwsgi_iredadmin.socket
    # my socket folder is /var/tmp yours may differ
    chown-socket = [nginx user]:www
    chmod-socket = 660
    uid = [nginx user]
    gid = iredadmin

    debug=false
    daemonize= /var/log/uwsgi-iredadmin.log

    python-path=/usr/local/lib/python2.7/
    python-path=/usr/local/bin/python2.7
    python-path=[web root]/iredadmin
    python-path=[web root]/iredadmin/libs/

    settings of uwsgi-params file:
    uwsgi_param  QUERY_STRING       $query_string;
    uwsgi_param  REQUEST_METHOD     $request_method;
    uwsgi_param  CONTENT_TYPE       $content_type;
    uwsgi_param  CONTENT_LENGTH     $content_length;

    uwsgi_param  REQUEST_URI        $request_uri;
    uwsgi_param  PATH_INFO          $document_uri;
    uwsgi_param  DOCUMENT_ROOT      $document_root;
    uwsgi_param  SERVER_PROTOCOL    $server_protocol;
    uwsgi_param  HTTPS              $https if_not_empty;

    uwsgi_param  REMOTE_ADDR        $remote_addr;
    uwsgi_param  REMOTE_PORT        $remote_port;
    uwsgi_param  SERVER_PORT        $server_port;
    uwsgi_param  SERVER_NAME        $server_name;

    main nginx.conf settings:
    # Upstream to backend connection(s) for Py.
        upstream uwsgi {
                    server unix:/var/tmp/uwsgi_iredadmin.socket;
        }

        include /usr/local/etc/nginx/vhosts/*;

    Nginx vhost settings for iredadmin using SSL:
    server {
            listen [your malhost]:443 ssl http2;

            server_name [your mailadmin.example.com (sub)domain];

            root   [web root]/iredadmin;

            ssl_certificate   /etc/ssl/certs/[your SSL cert]
            ssl_certificate_key /etc/ssl/private/ [your SSL key]

            location / {
                    error_page 404 403 =200 @backend;
                    try_files $uri $uri/ @backend;
                  }

            location /libs {
                    error_page 404 403 =200 @backend;
                    try_files $uri $uri/ @backend;
                  }

            location /static/ {
                    if (-f $request_filename) {
                       rewrite ^/static/(.*)$  /static/$1 break;
                      }
                   }

            location @backend {                         

                 include uwsgi_params;

                 uwsgi_pass uwsgi;
                 uwsgi_param UWSGI_CHDIR [web root]/iredadmin;
                 uwsgi_param UWSGI_PYHOME [web root]/iredadmin;
                 uwsgi_param UWSGI_SCRIPT iredadmin;
            }

    }

    (re-)start Nginx

    /usr/local/etc/rc.d/nginx configtest
    /usr/local/etc/rc.d/nginx start

    (re-)start UWSGI
    /usr/local/etc/rc.d/uwsgi start

    check the logs!!
    enjoy your new iRedAdmin-PRO!


    0 0

    Try to increase settings in /usr/local/etc/php-fpm.conf, restart php-fpm service and try again:

    pm.max_children = 100
    pm.start_servers = 5
    pm.min_spare_servers = 5
    pm.max_spare_servers = 10
    pm.max_requests = 100

    0 0

    FYI: https://docs.iredmail.org/iredadmin-pro … #mail-user

    PUT "/api/user/<mail>" Update profile of an existing mail user

    There's a "password" parameter for this purpose.


    0 0

    Nginx configured by iRedMail loads files from some directories, you need to make sure your virtual web host config files are loaded by Nginx. Please start with /etc/nginx/nginx.conf, check the "include ..." directives.


    0 0
  • 01/05/19--22:54: Re: Preventing backscatter
  • sayso wrote:

    Is it possible to read the remote LDAP database rather than replicate?

    Sure, just make sure OpenLDAP is not listening on 127.0.0.1 only and accessible from your backup mx server (firewall).

    sayso wrote:

    Do you have any documentation on how the LDAP works on local account lookups?

    Check /etc/postfix/ldap/*.cf on iRedMail server.


    0 0

    artavec wrote:

    because nginx will not serve any css to other sites I set up on the server.

    This doesn't make any sense, Nginx should work fine in this case. Did you get any error message of this issue?


    0 0
  • 01/05/19--23:17: Re: DKIM Selector
  • This line is enough.

    BTW, why change it?


older | 1 | .... | 1383 | 1384 | (Page 1385) | 1386 | 1387 | .... | 1394 | newer