Mail server db_name error

Discussion in 'General' started by BayramGrbz45, Dec 27, 2020.

Tags:
  1. BayramGrbz45

    BayramGrbz45 New Member

    Hello, I beg your pardon disturbing you today but I'm facing some problem on my ISPConfig.
    ispconfig standart install (auto install script).
    ubuntu 18 ; nginx,mariadb, php7.2, mail, dns.

    I'm sorry for my english

    log

    Code:
    Dec 27 02:07:36 isp04 postfix/proxymap[4966]: fatal: bad string length 0 < 1: \/etc\/postfix/mysql-verify_recipients.cf_dbname =
    Dec 27 02:07:37 isp04 postfix/smtps/smtpd[4640]: warning: private/proxymap socket: service dict_proxy_open: Success
    Dec 27 02:07:37 isp04 postfix/master[4592]: warning: process /usr/lib/postfix/sbin/proxymap pid 4966 exit status 1
    Dec 27 02:07:37 isp04 postfix/master[4592]: warning: /usr/lib/postfix/sbin/proxymap: bad command startup -- throttling
    Dec 27 02:08:37 isp04 postfix/proxymap[5027]: fatal: bad string length 0 < 1: \/etc\/postfix/mysql-verify_recipients.cf_dbname =
    Dec 27 02:08:38 isp04 postfix/smtps/smtpd[4640]: warning: private/proxymap socket: service dict_proxy_open: Success
    Dec 27 02:08:38 isp04 postfix/master[4592]: warning: process /usr/lib/postfix/sbin/proxymap pid 5027 exit status 1
    Dec 27 02:08:38 isp04 postfix/master[4592]: warning: /usr/lib/postfix/sbin/proxymap: bad command startup -- throttling
    Dec 27 02:09:39 isp04 postfix/proxymap[5162]: fatal: bad string length 0 < 1: \/etc\/postfix/mysql-verify_recipients.cf_dbname =
    Dec 27 02:09:40 isp04 postfix/smtps/smtpd[4640]: warning: private/proxymap socket: service dict_proxy_open: Success
    Dec 27 02:09:40 isp04 postfix/master[4592]: warning: process /usr/lib/postfix/sbin/proxymap pid 5162 exit status 1
    Dec 27 02:09:40 isp04 postfix/master[4592]: warning: /usr/lib/postfix/sbin/proxymap: bad command startup -- throttling
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  3. BayramGrbz45

    BayramGrbz45 New Member

  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    That auto install is not made by ISPConfig project. Are you sure it supports ISPConfig version 3.2?
    Do you modify file /etc/postfix/mysql-verify_recipients.cf_dbname ? The errors seems like that file is broken . Either you, the install script or upgrading to ISPConfig 3.2 broke stuff.
    If you install following carefully the Perfect Server Guide you end up with a working system. If not, it can be fixed.
     
    BayramGrbz45 likes this.
  5. BayramGrbz45

    BayramGrbz45 New Member

    Although I have examined the document in detail and installed it, I get the same error. I am not making any changes to mysql-verify_recipients.cf_dbname in this file.
     
  6. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    That file should not exist. As @Taleman noted, that autoinstaller is not maintained by us. I would advice you to do a whole reinstall of the system and either go through the perfect server guide or the official autoinstaller so you have a properly set up system.

    Official autoinstaller: https://git.ispconfig.org/ispconfig/ispconfig-autoinstaller
     
  7. BayramGrbz45

    BayramGrbz45 New Member

    errror log ...
    upload_2020-12-28_1-43-34.png
     
  8. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    What are you trying to say? You are not replying to anything I said... I can't help you any furhter than that right now.
     
  9. BayramGrbz45

    BayramGrbz45 New Member

    Sorry for my English, I'm lacking in understanding and writing.

    test system I use.
    ubuntu 18
    hostname : ispconfig
    hostname -f : ispconfig.denomaslab.com
    hardware: 4gb ram, 4gb swap, 4 cpu and 32 hdd.
    *** dns redirection not done.
    The commands I use.
    Code:
    dpkg-reconfigure locales
    dpkg-reconfigure tzdate
    cd /tmp
    git clone https://git.ispconfig.org/ispconfig/ispconfig-autoinstaller.git
    cd ispconfig-autoinstaller
    ./ispc3-ai.sh --lang=en --use-nginx  --channel=stable --debug
    error logs on the setup screen.
    Code:
    [WARN] Unexpected resolver response: Server:            127.0.0.53 (/lib/os/class.ISPConfigDebianOS.inc.php:762)
    Failed to disable unit: Unit file apache2.service does not exist.
    ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
    ERROR: initialize: libfreshclam init failed.
    ERROR: Initialization error!
    [INFO] clamav-daemon: FAILED
    [WARN] clamav-daemon seems not to be running! (/lib/os/class.ISPConfigDebianOS.inc.php:1275)
    
    web interface error
    upload_2020-12-28_3-0-48.png
     
  10. BayramGrbz45

    BayramGrbz45 New Member

    I solved the error of not being able to login to the mailing page.
    solution for this error.
    Code:
    chown root:ispapps /etc/roundcube/debian-db.php
    chmod 640 /etc/roundcube/debian-db.php
    chown root:ispapps /etc/roundcube/config.inc.php
    chmod 640 /etc/roundcube/config.inc.php
    chown -R ispapps:adm /var/log/roundcube
    chmod -R 750 /var/log/roundcube
    chown -R ispapps:ispapps /var/lib/roundcube/temp
    chmod -R 750 /var/lib/roundcube/temp
    When I click the send mail button, my mail box is empty, although it says that the mail was delivered.
    Outputs of /var/log/mail.log
    Code:
    Dec 28 04:21:59 ispconfig dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2387, secured, session=<u/3EGXy3MM5/AAAB>
    Dec 28 04:21:59 ispconfig dovecot: imap([email protected]): Logged out in=32 out=485
    Dec 28 04:21:59 ispconfig dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2389, secured, session=<GhHGGXy3Ms5/AAAB>
    Dec 28 04:21:59 ispconfig dovecot: imap([email protected]): Logged out in=44 out=592
    Dec 28 04:22:07 ispconfig postfix/smtp[2166]: connect to alt1.gmail-smtp-in.l.google.com[209.85.233.26]:25: Connection refused
    Dec 28 04:22:12 ispconfig postfix/smtpd[2153]: connect from localhost[127.0.0.1]
    Dec 28 04:22:12 ispconfig postfix/smtpd[2153]: 553E48304F: client=localhost[127.0.0.1], sasl_method=LOGIN, [email protected]
    Dec 28 04:22:12 ispconfig postfix/cleanup[2162]: 553E48304F: message-id=<[email protected]>
    Dec 28 04:22:12 ispconfig postfix/qmgr[1343]: 553E48304F: from=<[email protected]b.com>, size=618, nrcpt=1 (queue active)
    Dec 28 04:22:12 ispconfig postfix/smtpd[2153]: disconnect from localhost[127.0.0.1] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6
    Dec 28 04:22:12 ispconfig dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2410, secured, session=<C/+GGny3XM5/AAAB>
    Dec 28 04:22:12 ispconfig dovecot: imap([email protected]): Logged out in=441 out=648
    Dec 28 04:22:13 ispconfig dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2412, secured, session=<HXqRGny3YM5/AAAB>
    Dec 28 04:22:13 ispconfig dovecot: imap([email protected]): Logged out in=70 out=633
    Dec 28 04:22:13 ispconfig dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2415, secured, session=<FHGZGny3Ys5/AAAB>
    Dec 28 04:22:13 ispconfig dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2416, secured, session=<cI6aGny3ZM5/AAAB>
    Dec 28 04:22:13 ispconfig dovecot: imap([email protected]): Logged out in=315 out=2198
    Dec 28 04:22:13 ispconfig dovecot: imap([email protected]): Logged out in=119 out=781
     
  11. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  12. BayramGrbz45

    BayramGrbz45 New Member

    Last edited: Dec 29, 2020

Share This Page