Posts by UncleJ

    Here is what is listed in the files:


    /etc/opendkim.conf

    Code
    1. # Begin Plugin::OpenDKIMCanonicalization simpleKeyTable refile:/etc/opendkim/KeyTableSigningTable refile:/etc/opendkim/SigningTableExternalIgnoreList /etc/opendkim/TrustedHostsInternalHosts /etc/opendkim/TrustedHosts# Ending Plugin::OpenDKIM


    /etc/opendkim/SigningTable

    Code
    1. *@unclej.de mail._domainkey.unclej.de

    /etc/opendkim/KeyTable

    Code
    1. mail._domainkey.unclej.de unclej.de:mail:/etc/opendkim/keys/unclej.de/mail.private

    /etc/opendkim/keys

    Code
    1. root:/etc/opendkim/keys/unclej.de# ls -l
    2. total 8
    3. -rw-r----- 1 opendkim opendkim 891 Jul 4 15:13 mail.private
    4. -rw-r----- 1 opendkim opendkim 316 Jul 4 15:13 mail.txt


    So for me this looks normal. During looking through the files I remembered something which might be the reason. I have added a secondary mx-entry for my domains named "mx30" so there are two mx-entries - the original "mail" and my "mx30". Could that be the reason?


    Regards Jörg

    Hallo,


    du brauchst dir die Passwörter nicht aufschreiben - sie sind entweder in der imscp.conf oder der jeweiligen .data Datei gespeichert und können dort eingesehen werden. Ich denke wenn du die Kennwörter in den entsprechenden Dateien vor der Installation hinterlegst, werden diese bei der Installation verwendet.´


    Gruß Jörg

    Hello everyboy,


    I tried to create some listener files which allow to modify the named config based on domains but I got stuck when passing over the array. Perhaps someone may help to fix this - the final listener will be provided to the community.


    This is where I am stuck - I created a listener which adds a general list of mx-entries to all domains (see here) but when I try to make this per Domain the array is not working (complete code is attached).


    So this works:

    Code
    1. my %additionalMailservers = ( 'mx50' => '50' );# All dns mail-serversmy %mailserverList = %additionalMailservers;if(%mailserverList) { my @formattedEntries = (); push @formattedEntries, '; custom MX DNS entries BEGIN'; # add out-of-zone mail-servers while (my ($name, $priority) = each(%mailserverList)) { push @formattedEntries, '@ IN MX ' . $priority . ' ' . $name; }....


    But this does not work:


    So, perhaps anyone knows how to solve this. Thanks in advance.


    Regards Jörg

    Hello everybody,


    as I took the provided listener files and adapted them to my needs I wanted to provide the results to you as this might be helpful for others too.


    10_named_replace_default_nameservers.txt
    This is a fork of the with the installer provided listener "10_named_tuning2.pl" which I modified in oder to add special NS-entries per Domain.


    11_named_add_mx_dns_records.txt
    This listener adds MX-entries to the domains according to the config.


    12_named_add_remote_mx_host_dns_records.txt
    This listener adds the IP-addresses for the remote mx-hosts (which can be added with the "11_named_add_mx_dns_records"-listener).


    13_named_add_local_mail_host_dns_records.txt
    This listener enables you to add special hosts to the mail-section like e.g. autodiscover oder autoconfig.


    14_named_add_local_host_dns_records.txt
    This listener adds normal hosts to the config.


    20_named_dualstack.txt
    This is a fork of the with the installer provided listener "20_bind9_dualstack.pl" which I modified in order to place the hosts in the corresponding section and remove the mail-related entries when mail is disabled.


    Please note that all added entries are no longer added under CUSTOM_DNS section but the most fitting original section as I wanted to avoid to mix custom dns entries made over the control panel with the custom dns feature with my own defaults.


    Regards Jörg

    Hello,


    thats the content of my main.cf:


    Regards Jörg

    Hello everybody,


    yesterday I updated my systems to i-MSCP 1.2.9. After that I reinstalled all Plugins and noticed that I have not been able to send any mails anymore after having activated for the domain. The effect shows on normal mail client as well as the webmail panel. The entries for DNS are correctly added to bind-files and the milter was added to postfix main.cnf.


    The syslog states as following:


    Code
    1. Jul 3 19:40:17 SERVERNAME postfix/smtpd[546]: connect from SENDER_FQDN[SENDER_IP]
    2. Jul 3 19:40:18 SERVERNAME postfix/smtpd[546]: Anonymous TLS connection established from SENDER_FQDN[SENDER_IP]: TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)
    3. Jul 3 19:40:18 SERVERNAME postfix/smtpd[546]: 71AF180B50: client=SENDER_FQDN[SENDER_IP], sasl_method=LOGIN, sasl_username=SENDER_EMAIL
    4. Jul 3 19:40:18 SERVERNAME postfix/cleanup[551]: 71AF180B50: message-id=<>
    5. Jul 3 19:40:18 SERVERNAME postfix/cleanup[551]: 71AF180B50: milter-reject: END-OF-MESSAGE from SENDER_FQDN[SENDER_IP]: 4.7.1 Service unavailable - try again later; from=<SENDER_EMAIL> to=<TARGET_EMAIL> proto=ESMTP helo=<IconiaW700.HOERNCHEN.local>

    Please note that I replaced the following entries: SENDER_FQDN, SENDER_IP, TARGET_EMAIL, SENDER_EMAIL


    I use the default plugin-config-file.


    There are also other plugins installed:
    CronJobs Version 1.2.2, DomainAutoApproval Version 1.1.0, InstantSSH Version 3.3.1, Monitorix Version 1.2.1, PanelRedirect Version 1.1.0, PhpSwitcher Version 1.0.1, Postscreen Version 1.0.0, RecaptchaPMA Version 1.1.0, RoundcubePlugins Version 1.2.1, ServerDefaultPage Version 1.1.1


    If you need further information or already have any clue about the reason please let me know. Thanks in advance.


    Regards Jörg

    Hello everybody,


    I wanted to know if there is any possibity to also set the tools (pma, ftp, webmail) into some kind of maintenance mode / redirect so that clients and resellers aren't able to access them. This would be helpful for example when you plan to work on issues which also effect the tools like some plugins in order to prevent that someone is using them when applying the changes.
    What do you think about this and is this perhaps somehow already possible?
    Thanks in advance for any reply.


    Regards Jörg