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 | .... | 1342 | 1343 | (Page 1344) | 1345 | 1346 | .... | 1394 | newer

    0 0
  • 11/05/18--03:26: Re: iRedmail SSL issue
  • - Was the ssl cert successfully renewed? Did you verify it?
    - When you access webmail with https, does the web browser complain invalid ssl cert issue?
    - Do you have correct mail server hostname, port number, username and password in mac/ios client?


    0 0

    iRedMail doesn't use this service.


    0 0

    Unfortunately, if upstream (Amavisd) removed the code to support this feature, we cannot help much in this case. sad


    0 0

    Issue resolved by Huangbin.

    Add these two lines to sogo.conf SogoUserSources LDAP configuration section, then resources' busy times are being indicated correctly:

    KindFieldName = "Kind";
    MultipleBookingsFieldName = "MultipleBookings";

    Looks similar to this then:

    SOGoUserSources = (
            {
                // Used for user authentication
                type = ldap;
                id = users;
                canAuthenticate = YES;
                isAddressBook = NO;
                displayName = "LDAP Authentication";

                hostname = "ldap://127.0.0.1:389";
                baseDN = "o=domains,dc=mycompany,dc=com";
                bindDN = "cn=vmail,dc=mycompany,dc=com";
                bindPassword = "bteebhsaebhnHthj&SWJH&R$SWZHJ";
                filter = "objectClass=mailUser AND accountStatus=active AND enabledService=mail AND enabledService=sogo";
                scope = SUB;

                // always keep binding to the LDAP server using the DN of the
                // currently authenticated user. bindDN and bindPassword are still
                // required to find DN of the user.
                // Note: with default LDAP acl configured by iRedMail, user doesn't
                //       have privilege to query o=domains,dc=mmlab,dc=de.
                //       so this doesn't work.
                //bindAsCurrentUser = YES;

                // The algorithm used for password encryption when changing
                // passwords without Password Policies enabled.
                // Possible values are: plain, crypt, md5-crypt, ssha, ssha512.
                userPasswordAlgorithm = ssha;

                CNFieldName = cn;
                IDFieldName = mail;
                // value of UIDFieldName must be unique on entire server
                UIDFieldName = mail;
                IMAPLoginFieldName = mail;
                MailFieldNames = (mail);
                bindFields = (mail);
            KindFieldName = "Kind";
                MultipleBookingsFieldName = "MultipleBookings";
            },


    Please set ticket on SOLVED. Don't know how to perform that.


    0 0

    Created support mail in sogousers mailing list.


    0 0
  • 11/05/18--09:09: Re: SPAM Question
  • ZhangHuangbin wrote:
    Luke6283 wrote:

    Received: from [103.71.77.175] (unknown [103.71.77.175])                                    <------------This is the foreign IP address

    Any related log in /var/log/iredapd/iredapd.log regarding this IP address?

    Looks like the log reset last night so I'll have to wait for the next occurrence.


    0 0
  • 11/05/18--10:39: Re: SPAM Question
  • Luke6283 wrote:

    Looks like the log reset last night so I'll have to wait for the next occurrence.

    Why not simply check archived log file ...


    0 0
  • 11/05/18--13:18: Re: iRedMail-0.9.8
  • ZhangHuangbin wrote:
    s.juozaitis wrote:

    What I'm looking is sender email address + assigned aliases.

    Sorry i misunderstood this.

    But the implementation is very similar: change the sql table name to "forwardings", change the sql columns you need to query.

    The mysql table "forwardings" is created in "vmail" database.
    In the "forwardings" table I have all the alias names filed to forward email to email address.

    But I cannot get those aliases reflected in SOGo sender drop down menu.
    Here I have added attachment from SOGo delegate mailbox option.
    I want to get same drop down from active aliases.


    0 0

    ZhangHuangbin wrote:

    I think you pasted unrelated log in first post. sad
    Could you try again and extract the log?

    I ran two tests
    1.) test sending from roundcube - test OK
    2.) testing sending from iOS - test FAIL

    sanitized output of /var/log/maillog |grep postfix

    Nov  5 16:18:44 iredmail01 postfix/submission/smtpd[24013]: connect from localhost[127.0.0.1]
    Nov  5 16:18:44 iredmail01 postfix/submission/smtpd[24013]: Anonymous TLS connection established from localhost[127.0.0.1]: TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)
    Nov  5 16:18:44 iredmail01 postfix/submission/smtpd[24013]: 1DAB11841AEB: client=localhost[127.0.0.1], sasl_method=LOGIN, sasl_username=user@iredmailserver.com
    Nov  5 16:18:44 iredmail01 postfix/cleanup[23517]: 1DAB11841AEB: message-id=<ea9afb3637173e0c70f3b7e4e57a34aa@404trapier.com>
    Nov  5 16:18:44 iredmail01 postfix/qmgr[1723]: 1DAB11841AEB: from=<user@iredmailserver.com>, size=567, nrcpt=1 (queue active)
    Nov  5 16:18:44 iredmail01 postfix/submission/smtpd[24013]: disconnect from localhost[127.0.0.1]
    Nov  5 16:18:44 iredmail01 postfix/10025/smtpd[23538]: connect from localhost[127.0.0.1]
    Nov  5 16:18:44 iredmail01 postfix/10025/smtpd[23538]: 9D2F31841AEC: client=localhost[127.0.0.1]
    Nov  5 16:18:44 iredmail01 postfix/cleanup[23517]: 9D2F31841AEC: message-id=<ea9afb3637173e0c70f3b7e4e57a34aa@404trapier.com>
    Nov  5 16:18:44 iredmail01 postfix/qmgr[1723]: 9D2F31841AEC: from=<user@iredmailserver.com>, size=1700, nrcpt=1 (queue active)
    Nov  5 16:18:44 iredmail01 postfix/10025/smtpd[23538]: disconnect from localhost[127.0.0.1]
    Nov  5 16:18:44 iredmail01 postfix/amavis/smtp[23522]: 1DAB11841AEB: to=<user@gmail.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.59, delays=0.06/0/0.01/0.52, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 9D2F31841AEC)
    Nov  5 16:18:44 iredmail01 postfix/qmgr[1723]: 1DAB11841AEB: removed
    Nov  5 16:18:45 iredmail01 postfix/smtp[24028]: Untrusted TLS connection established to outbound.mailhop.org[52.28.251.132]:2525: TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)
    Nov  5 16:18:50 iredmail01 postfix/smtp[24028]: 9D2F31841AEC: to=<user@gmail.com>, relay=outbound.mailhop.org[52.28.251.132]:2525, delay=6, delays=0.01/0.09/2.3/3.5, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 60b16417-e140-11e8-9048-075f73944867)
    Nov  5 16:18:50 iredmail01 postfix/qmgr[1723]: 9D2F31841AEC: removed
    Nov  5 16:19:27 iredmail01 postfix/smtpd[22922]: connect from localhost[127.0.0.1]
    Nov  5 16:19:27 iredmail01 postfix/smtpd[22922]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 <localhost>: Helo command rejected: ACCESS DENIED. Your email was rejected because the sending mail server does not identify itself correctly (localhost); from=<user@iredmailserver.com> to=<user@gmail.com> proto=ESMTP helo=<localhost>
    Nov  5 16:19:27 iredmail01 postfix/smtpd[22922]: disconnect from localhost[127.0.0.1]

    0 0
  • 11/05/18--14:32: Re: iRedmail SSL issue
  • yes,yes,yes.

    The hostname (i.e imap address) is the server hostname NOT the email domain right?


    0 0

    Many thanks for your reply, and mentioning "runtime/install.status". I wondered what and where the status file was.

    I see that it is possible to run the iRedMail.sh script again, as it asks whether one wants to use the current config, or create a new one. I did create a new one, and the Web/Nginx components where installed.

    However, I had previously installed Nginx (now I fully understand why you say it needs to be a clean server!)
    But, since your scripts are so elegantly presented, it was easy for me to force the scripts for web_server_config and iredadmin to run. You may not approve, but it worked!! I now have additionally Roundcube and iRedAdmin working.
    (I will use your approach to Nginx config to add my webserver requirements.)

    My only outstanding issue was until now, was the Non-DKIM signing of emails sent by Thunderbird.
    Which I've solved by upgrading to the Cosmic version of "amavisd-new_2.11.0-1ubuntu2_all.deb" as noted by the Forum post
    https://forum.iredmail.org/topic14880-d … fixed.html
    You might like to check this out as I would have thought it would affect others.

    I'm very impressed by iRedMail - indeed there is no need to laboriously add all the individual comments manually, as I was about to do. I have some other questions which I'll post in separate threads!
    Alas, I'm a retired hobbyist, so a pro purchase is not necessary for me, but I have sent you a cup of coffee - which using UK pricing would buy two!!

    Thanks again for your reply and your impressive work.


    ZhangHuangbin wrote:

    Try this:

    - Open file iRedMail-0.9.8/config, add one line:

    export WEB_SERVER='nginx'

    - Re-run iRedMail installer.

    WARNING: it reads file iRedMail-0.9.8/runtime/install.status to understand what's installed and what's not, if you don't have this file, do NOT do this.


    0 0
  • 11/05/18--22:01: PHP / HTML Register Form
  • ==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
    - iRedMail version 0.9.8:
    - Linux/BSD distribution Ubuntu 18.04 x64:
    - Store mail accounts in MySQL:
    - Web server Nginx:
    - Manage mail accounts with iRedAdmin-Pro? No
    - [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
    ====

    Hello, I have created a very simple form to allow other members of my team to create their own email accounts but it does not seem to be working and I'm not sure what the mistake could be.
    Also, not too sure if support for this kind of issue is provided here.
    After I click submit on the form, the webpage just loads forever and no email account is created. Any help would be greatly appreciated.

    This is the form:

    <html>   
       <body>
          <?php
             if(isset($_POST['add'])) {
                $dbhost = 'IP';
                $dbuser = 'root';
                $dbpass = 'password';
                $dbname = 'vmail';
                $conn = mysql_connect($dbhost, $dbuser, $dbpass, $dbname); 
                if(! $conn ) { die('Could not connect: ' . mysql_error()); }
                if(! get_magic_quotes_gpc() ) {
    $STORAGE_BASE = "$(dirname $[STORAGE_BASE_DIRECTORY])";
    $STORAGE_NODE = "$(basename $[STORAGE_BASE_DIRECTORY])";
                   $username = addslashes ($_POST['username']);
                   $domain = addslashes ($_POST['domain']);
                $password = $_POST['password']; }
                $sql = "INSERT INTO mailbox ". "(username,password,name,storagebasedirectory,storagenode,quota,domain,active,passwordlastchange,created) ". "VALUES('$username@$domain', '$password', '$username', '$STORAGE_BASE','$STORAGE_NODE', '100', '$domain', '1', NOW(), NOW())";
    mysql_close($conn);  }else {  ?>
                   <form method = "post" action = "<?php $_PHP_SELF ?>">
                      <table width = "400" border = "0" cellspacing = "1" cellpadding = "2">
                         <tr>
                            <td width = "100">User Name</td>
                            <td><input name = "username" type = "text" id = "username"></td>
                         </tr>
                         <tr>
                            <td width = "100">Domain</td>
                            <td><input name = "domain" type = "text" id = "domain"></td>
                         </tr>
                         <tr>
                            <td width = "100">Password</td>
                            <td><input name = "password" type = "text" id = "password"></td>
                         </tr>
                         <tr>
                            <td width = "100"> </td>
                            <td> </td>
                         </tr>
                         <tr>
                            <td width = "100"> </td>
                            <td>
                               <input name = "add" type = "submit" id = "add" value = "Add Email">
                            </td>
                         </tr>
                      </table>
                   </form>
                <?php}?>
    </body>
    </html>


    0 0

    ==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
    - iRedMail version (check /etc/iredmail-release): 0.9.8 PGSQL edition
    - Linux/BSD distribution name and version: Centos 7
    - Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
    - 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.
    ====
    I use the pgsql database, I want to authenticate my email account by using the active directory. I did not find the tutorial information.Plz help me


    0 0

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

    Hello, iRedMail experts.

    I have a big puzzle that I can’t crack without you.  I am running iRedMail server and I can receive and send email from

    1.    Thunderbird
    2.    MS Outlook

    I also have Gmail and Outlook.com accounts which are connected as aliases so I can send email from Gmail and Outlook as an iRedMail user account.

    All of them (Outlook, Thunderbird and webmail clients) connect to my mail server on port 587/TLS.  So, because everything works I can deduce that there is no problem with the firewall and port 587 is open and it accepts connections.  Mail flows.

    Now, my problem is that I want to use my mail server as the MTA on my Mautic instance and I can’t set it up – I use the same credentials as in all my clients – host name, user name, password, encryption settings and TCP port.  Mautic can’t connect and throws an error:

    Connection could not be established with host mail.mymaildomain.com [Connection timed out #110] Log data: ++ Starting Swift_SmtpTransport !! Connection could not be established with host mail.mymaildomain.com [Connection timed out #110] (code: 0)
    ++ Starting Swift_SmtpTransport !! Connection could not be established with host mail.mymaildomain.com [Connection timed out #110] (code: 0)

    It is easy to guess that there is some problem with Mautic code, however I can perfectly connect Mautic the same way to Mailgun on port 587 and mail works fine.

    My question – what else can I tinker in iRedMail to solve this problem?

    Thanks in advance


    0 0
  • 11/06/18--07:37: Re: SPAM Question
  • ZhangHuangbin wrote:
    Luke6283 wrote:

    Looks like the log reset last night so I'll have to wait for the next occurrence.

    Why not simply check archived log file ...

    Sorry, I was unaware of an archived log file....can you tell me where to find that in the future?
    Anyways another email of the same nature came through yesterday....here is the iRedAPD log for that IP address

    2018-11-05 01:46:06 INFO [41.50.142.181] RCPT, smsmith@mydomain.com -> smsmith@mydomain.com, DUNNO [0.0280s]
    2018-11-05 01:46:06 INFO [41.50.142.181] END-OF-MESSAGE, smsmith@mydomain.com -> smsmith@mydomain.com, DUNNO [0.0015s]

    Here is the source for that email:

    Return-Path: <smsmith@mydomain.com>
    Delivered-To: smsmith@mydomain.com
    Received: from mail.mydomain.com (mail.mydomain.com [127.0.0.1])
        by mail.mydomain.com (Postfix) with ESMTP id 0B8201F81347
        for <smsmith@mydomain.com>; Mon, 5 Nov 2018 01:46:07 -0500 (EST)
    X-Virus-Scanned: Debian amavisd-new at mail.mydomain.com
    X-Spam-Flag: NO
    X-Spam-Score: 0
    X-Spam-Level:
    X-Spam-Status: No, score=x tagged_above=-100 required=1.5 WHITELISTED tests=[]
        autolearn=unavailable
    Received: from mail.mydomain.com ([127.0.0.1])
        by mail.mydomain.com (mail.mydomain.com [127.0.0.1]) (amavisd-new, port 10024)
        with ESMTP id Y20vEQD7dslc for <smsmith@mydomain.com>;
        Mon, 5 Nov 2018 01:46:06 -0500 (EST)
    Received: from [41.50.142.181] (unknown [41.50.142.181])
        by mail.mydomain.com (Postfix) with ESMTP id 331041F806B6
        for <smsmith@mydomain.com>; Mon, 5 Nov 2018 01:46:06 -0500 (EST)
    Message-ID: <003201d474e3$02336d00$02b35b86@ttqbxs>
    From: <smsmith@mydomain.com>
    To: <smsmith@mydomain.com>
    Subject: Change your password immediately. Your account has been hacked.
    Date: 5 Nov 2018 09:08:00 +0100
    MIME-Version: 1.0
    Content-Type: text/plain;
        charset="ibm852"
    Content-Transfer-Encoding: 8bit
    X-Priority: 3
    X-MSMail-Priority: Normal
    X-Mailer: Microsoft Outlook Express 6.00.2800.1106
    X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106


    0 0
  • 11/06/18--14:29: port 53 (DNS)
  • iRedMail 0.9.8
    Ubuntu 18.04
    MySQL
    NGINX
    iRedAdmin

    Do I need port 53 open to query DNS in order to send/receive email?
    from ufw status:
    143                        ALLOW       Anywhere                 
    25                         ALLOW       Anywhere                 
    587                        ALLOW       Anywhere                 
    53                         ALLOW       Anywhere                 
    443                        ALLOW       Anywhere

    from netstat -tlnp | grep :53
    tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      66449/systemd-resol

    from netcat -zv mydomain.com 53
    netcat: connect to mydomain.com port 53 (tcp) failed: Connection refused

    I can neither send nor receive email from myuser@mydomain.com

    Any hints?

    Thanks in advance!


    0 0
  • 11/06/18--14:32: Re: port 53 (DNS)
  • richardw wrote:

    Do I need port 53 open to query DNS in order to send/receive email?

    - For outgoing, yes. but this is open by default with iRedMail firewall rules.
    - Not for incoming traffic.


    0 0
  • 11/06/18--14:34: Re: SPAM Question
  • - Did you modify any Postfix settings? Please show us output of command "postconf -n".
    - You may need to turn on debug mode in iRedAPD, so that we can get more details about (new) spam email.


    0 0

    Try to disable fail2ban service on iRedMail server, then try Mautic again.
    Pay close attention to Postfix log file /var/log/maillog.


    0 0

older | 1 | .... | 1342 | 1343 | (Page 1344) | 1345 | 1346 | .... | 1394 | newer