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 | .... | 1374 | 1375 | (Page 1376) | 1377 | 1378 | .... | 1394 | newer

    0 0

    Here's patch for iRedAdmin-Pro-LDAP-3.2 to fix this issue (not applicable to iRedAdmin-Pro SQL edition):
    https://pastebin.com/raw/XmtEGThq


    0 0
  • 12/21/18--08:02: Re: Can't send receive mail
  • In my other working server I have port 25 enabled in the firewall. Not enabled by the support EC2.
    I have a webserver in Forge on Amazon EC2 and enabled with IAM user. Works perfectly. You could have that in Easy_Server. smile
    At the moment my letsencrypt/domain is blocked so I have to wait till after Christmas.
    Merry Christmas to all of you....

    ZhangHuangbin wrote:
    ulferik wrote:

    2018-12-20T12:59:25.655207+00:00 mail postfix/error[13435]: 43KTw66W1tz2806: to=<ulf@ulferik.com>, relay=none, delay=99351, delays=99351/0.01/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to rab.ulferiksplace.com[34.251.234.152]:25: Connection timed out)

    - Amazon EC2 blocks port 25 by default, you need to contact Amazon support and ask them to unblock port 25.
    - Also double check the EC2 firewall (managed in your Amazon AWS console), make sure it doesn't block port 25.


    0 0

    Hi Zhang,

    Solution accepted and worked on debian Stretch 9.6 after the bug.
    Thanks Zhang.

    Shafeek


    0 0

    Webmail breaks after upgrading to 1.3.8

    Debian
    iRedMail     0.9.9
    iRedAdmin-Pro     3.0 (MySQL)
    Hostname     nm2
    Uptime     8 days, 23 hours, 41 minutes.
    Server Load     0.680, 0.360, 0.370
    Apache 2.4.37-1

    After upgrading to Roundcubemail 1.3.8 from 1.3.6

    "REQUEST CHECK FAILED For your protection, access to this resource is secured against CSRF. If you see this, you probably didn't log out before leaving the web application. Human interaction is now required to continue. ...."


    0 0
  • 12/21/18--12:22: Need Sanity Check on Backup
  • ==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
    - iRedMail version (check /etc/iredmail-release):
    - Deployed with iRedMail Easy or the downloadable installer?
    - Linux/BSD distribution name and version:
    - Store mail accounts in which backend (LDAP/MySQL/PGSQL):
    - Web server (Apache or Nginx):
    - Manage mail accounts with iRedAdmin-Pro?
    - [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
    ====

    I'm running .0.9.7.

    I tarr'd /var/vmail/vmail1/* into a large file and copied that file to a second system.
    If my original system dies today, does that tar file contain ALL my emails from 1 first to the most current at the time the system did it's daily dump?

    I understand that no settings were copied, but all emails, attachments, etc.  So that if I have to import it into 'something' it's all there?

    Thanks for a pre-holiday sanity/safety check <g>.

    Andrew


    0 0

    ok first day running and missing 4 emails, i have turn on debugging on the server and will check the logs for missing emails from here on and report back what i find.


    0 0
  • 12/22/18--05:31: Re: Can't send receive mail
  • ulferik wrote:

    In my other working server I have port 25 enabled in the firewall. Not enabled by the support EC2.

    Outbound of port 25 for new Amazon EC2 instances is throttled/blocked:
    https://aws.amazon.com/premiumsupport/k … -throttle/


    0 0

    This is not a programming bug/issue, please try to empty web browser cache and try again.


    0 0

    AndyInNYC wrote:

    I tarr'd /var/vmail/vmail1/* into a large file and copied that file to a second system.
    If my original system dies today, does that tar file contain ALL my emails from 1 first to the most current at the time the system did it's daily dump?

    Yes. /var/vmail/vmail1/ (this is default mailbox storage path) contains all mail messages, including mail attachments ('maildir' mailbox format).


    0 0
  • 12/22/18--10:10: LDAP Problem
  • Hi there,

    got some troubles with starting slapd. Recently I tried to configure all services with let´s encrypt ssl certificate.

    root@mail:/var/log# cat /etc/iredmail-release
    0.9.8 OPENLDAP edition.
    # Get professional support from iRedMail Team: https://www.iredmail.org/support.html

    Ubuntu 18.04.1
    LDAP
    Nginx
    IredAdmin normal

    root@mail:/var/log# systemctl status slapd.service
    ● slapd.service - LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)
       Loaded: loaded (/etc/init.d/slapd; generated)
       Active: failed (Result: exit-code) since Sat 2018-12-22 18:10:00 UTC; 36s ago
         Docs: man:systemd-sysv-generator(8)
      Process: 23339 ExecStart=/etc/init.d/slapd start (code=exited, status=1/FAILURE)

    Dec 22 18:10:00 mail slapd[23366]: @(#) $OpenLDAP: slapd  (Ubuntu) (Oct 23 2018 13:01:47) $
                                               Debian OpenLDAP Maintainers <pkg-openldap-devel@lists.alioth.debian.org>
    Dec 22 18:10:00 mail slapd[23366]: main: TLS init def ctx failed: -1
    Dec 22 18:10:00 mail slapd[23366]: DIGEST-MD5 common mech free
    Dec 22 18:10:00 mail slapd[23366]: DIGEST-MD5 common mech free
    Dec 22 18:10:00 mail slapd[23366]: slapd stopped.
    Dec 22 18:10:00 mail slapd[23366]: connections_destroy: nothing to destroy.
    Dec 22 18:10:00 mail slapd[23339]:    ...fail!
    Dec 22 18:10:00 mail systemd[1]: slapd.service: Control process exited, code=exited status=1
    Dec 22 18:10:00 mail systemd[1]: slapd.service: Failed with result 'exit-code'.
    Dec 22 18:10:00 mail systemd[1]: Failed to start LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)


    0 0

    I have installed the latest update, but I still have problems with domain aliases, sometimes I can enter one, but not two sometimes ist doesn't save any at all.
    Should this have been fixed or do we need to wait for another update?


    0 0

    mbitcon wrote:

    I have installed the latest update, but I still have problems with domain aliases, sometimes I can enter one, but not two sometimes ist doesn't save any at all.

    Hi @mbitcon,

    Excuse me, which domain alias issue are you talking about? Could you please create a new forum topic with detailed explanation?


    0 0
  • 12/22/18--20:20: Re: LDAP Problem
  • - How did you configure letsencrypt cert? We have a tutorial for you: https://docs.iredmail.org/letsencrypt.html
    - Does OpenLDAP daemon user have privilege to access letsencrypt cert?
    - If openldap is only serving local requests, it's better to disable ssl cert in /etc/ldap/slapd.conf.


    0 0

    Dear all,

    We just found one issue in the newly released iRedMail-0.9.9, please follow the instruction below to fix it.

    - iRedMail-0.9.9 has been repacked with this fix.
    - iRedMail upgrade tutorial for iRedMail-0.9.9 has been updated with this fix.

    About the issue

    The SQL/LDAP query used by Dovecot introduced in iRedMail-0.9.9 doesn't convert upper cases to lower cases.

    - If you always store maildir paths in lower cases, this issue doesn't impact your server.
    - If you have maildir paths in upper cases, this issue will impact your server. When user logs in, Dovecot will create a new empty mailbox for the user.

    Affected iRedMail releases

    - iRedMail-0.9.9
    - old iRedMail releases which upgraded to iRedMail-0.9.9 manually
    - iRedMail Easy (version: 2018121701. To fix it, just login to iRedMail Easy https://easy.iredmail.org, go to mail server list page, you will find an icon which indicates there's a new version available for upgrade, click it to go to Deployment page, click the Upgrade button. That's it.)

    How to fix it

    For OpenLDAP and OpenBSD ldapd backends, find one line in /etc/dovecot/dovecot-ldap.conf (Linux/OpenBSD) or /usr/local/etc/dovecot/dovecot-ldap.conf (FreeBSD) like below:

    user_attrs      = mail=master_user,mail=user,homeDirectory=home,=mail=%{ldap:mailboxFormat:maildir}:~/%{ldap:mailboxFolder:Maildir}/,mailQuota=quota_rule=*:bytes=%$

    Replace it by:

    user_attrs      = mail=master_user,mail=user,=home=%L{ldap:homeDirectory},=mail=%{ldap:mailboxFormat:maildir}:~/%{ldap:mailboxFolder:Maildir}/,mailQuota=quota_rule=*:bytes=%$

    For MySQL/MariaDB backends, find lines in /etc/dovecot/dovecot-mysql.conf (Linux/OpenBSD) or /usr/local/etc/dovecot/dovecot-mysql.conf (FreeBSD) like below:

                CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir) AS home, \
                CONCAT(mailbox.mailboxformat, ':', mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir, '/', mailbox.mailboxfolder, '/') AS mail, \

    Replace above 2 lines by:

                LOWER(CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir)) AS home, \
                CONCAT(mailbox.mailboxformat, ':~/', mailbox.mailboxfolder, '/') AS mail, \

    For PostgreSQL backend with PostgreSQL 8.x, find lines in /etc/dovecot/dovecot-pgsql.conf (Linux/OpenBSD) or /usr/local/etc/dovecot/dovecot-pgsql.conf (FreeBSD) like below:

        mailbox.storagebasedirectory || '/' || mailbox.storagenode || '/' || mailbox.maildir AS home, \
        mailbox.mailboxformat || ':' || mailbox.storagebasedirectory || '/' || mailbox.storagenode || '/' || mailbox.maildir || '/' || mailbox.mailboxfolder || '/' AS mail, \

    Replace above 2 lines by:

        LOWER(mailbox.storagebasedirectory || '/' || mailbox.storagenode || '/' || mailbox.maildir) AS home, \
        LOWER(mailbox.mailboxformat || ':~/' || mailbox.mailboxfolder || '/') AS mail, \

    For PostgreSQL backend with PostgreSQL 9.x and later versions, find lines in /etc/dovecot/dovecot-pgsql.conf (Linux/OpenBSD) or /usr/local/etc/dovecot/dovecot-pgsql.conf (FreeBSD) like below:

                CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir) AS home, \
                CONCAT(mailbox.mailboxformat, ':', mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir, '/', mailbox.mailboxfolder, '/') AS mail, \

    Replace above 2 lines by:

                LOWER(CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir)) AS home, \
                CONCAT(mailbox.mailboxformat, ':~/', mailbox.mailboxfolder, '/') AS mail, \

    0 0
  • 12/23/18--23:43: Message reject detail
  • ==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
    - iRedMail version (check /etc/iredmail-release):  0.9.9
    - Linux/BSD distribution name and version: Debian 9
    - Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
    - Web server (Apache or Nginx): Nginx
    - [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
    ====

    I installed pflogsumm so that every day I receive an email with the details of the activities of my Mail Server. I'm mainly interested in understanding the number of messages discarded by the server. In particular:

    message reject detail
    ---------------------
     RCPT
       Helo command rejected: Host not found (total: 2)
              2   198.252.108.183
       Recipient address rejected: Intentional policy rejection (total: 60)
             56   vincenzo@server.eu
              1   piero@server.eu
              1   ilaria@server.it

    Is there an easy way to go to view the senders of 4xx errors without needing to analyze the log directly? Thanks for your help.


    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.
    ====
    I can log onto iredadmin, and have created a user in two domains. However test mail messages sent from my usual server and from gmail are indefinitely delayed. A day after sending them, I am still seeing mail log entries like this every 5 minutes for each incoming message:

    Dec 24 10:31:54 xxxxxx postfix/qmgr[7079]: 43NC4f3tSjz11Zf: from=<xxxxxx@gmail.com>, size=3860, nrcpt=1 (queue active)
    Dec 24 10:31:54 xxxxxx postfix/pipe[1326]: 43NC4f3tSjz11Zf: to=<richard@xxxxxx.fr>, relay=dovecot, delay=50792, delays=50792/0.03/0/0.08, dsn=4.3.0, status=deferred (temporary failure)

    I can log into sogo but not to roundcube.  When using roundcube, I see the following error in mail.log:

    IMAP Error: Login failed for postmaster@xxxxxx.fr from 111.111.111.111 LOGIN: Internal error occurred. Refer to server log for more information. in /opt/www/roundcubemail-1.3.8/program/lib/Roundcube/rcube_imap.php on line 196 (POST /mail/?_task=login&_action=login)

    It says "refer to server log" but I am unsure which log it means. I have not yet found anything else useful in the logs, but may not be looking in the right places. I tried resetting the password for my own username, but the new password is not accepted either. Just a few failed logons result in fail2ban blocking access, so it is all very frustrating.

    In sogo, I see only a message that no mailbox is open. Calendar and addressbook appear to be available.

    To be honest, I am on the point of giving up after a week of failures.


    0 0

    Please check /var/log/dovecot/*.log.


    0 0
  • 12/24/18--04:49: Re: Message reject detail
  • vinacc wrote:

    Is there an easy way to go to view the senders of 4xx errors without needing to analyze the log directly?

    I'm afraid that analyzing the log file is the only way.


    0 0

    ZhangHuangbin wrote:

    Please check /var/log/dovecot/*.log.

    Ah, that is the place to look! Here is what I found.

    ----------------------------------
    dovecot.log every half hour:

    Dec 23 18:19:58 courriel dovecot: imap: Error: Invalid user settings. Refer to server log for more information

    ---------------------------------
    imap.log frequently:

    Dec 23 18:20:18 courriel dovecot: imap-login: Login: user=<postmaster@xxxxxx.fr>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=10943, secured, session=<BFHFsbN9vNJ/AAAB>
    Dec 23 18:20:18 courriel dovecot: imap(postmaster@xxxxxx.fr): Error: User initialization failed: Namespace '': Ambiguous mail location setting, don't know what to do with it: maildir~/Maildir/ (try prefixing it with mbox: or maildir:)

    and:

    Dec 23 19:39:41 courriel dovecot: imap-login: Disconnected (auth failed, 1 attempts in 2 secs): user=<eaudevichy>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=<OvKJzbR9hO1/AAAB>
    Dec 23 20:08:07 courriel dovecot: imap-login: Login: user=<postmaster@xxxxxx.fr>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=13411, secured, session=<e/VRM7V96Ih/AAAB>
    Dec 23 20:08:07 courriel dovecot: imap(postmaster@xxxxxx.fr): Error: User initialization failed: Namespace '': Ambiguous mail location setting, don't know what to do with it: maildir~/Maildir/ (try prefixing it with mbox: or maildir:)

    ------------------------------------
    lda.log every 5min:

    Dec 23 20:26:54 courriel dovecot: lda(richard@xxxxxx.fr): Error: User initialization failed: Namespace '': Ambiguous mail location setting, don't know what to do with it: maildir~/Maildir/ (try prefixing it with mbox: or maildir:)

    ----------------------------------
    pop3.log empty -- unsurprisingly, who uses pop3 these days?

    ----------------------------------
    sieve.log also empty.  Obviously something to do with filtering, but I do not know what 'sieve' is in this context.

    -----------------------------------
    It clearly lacks data that I presumably need to manually add in some database table, but which?


    0 0

    unit iredadmin.service not found.


older | 1 | .... | 1374 | 1375 | (Page 1376) | 1377 | 1378 | .... | 1394 | newer