Outgoing webmail and php mails never reaches.

Discussion in 'ISPConfig 3 Priority Support' started by Kevin S, Jun 23, 2020.

  1. Kevin S

    Kevin S New Member

    Hi, I did it but still, emails sent from Roundcube and mail() function disappears and never reaches intended person.
    Code:
    [email protected]:/tmp/ispconfig3_install/install# php -q update.php
    
    
    --------------------------------------------------------------------------------
     _____ ___________   _____              __ _         ____
    |_   _/  ___| ___ \ /  __ \            / _(_)       /__  \
      | | \ `--.| |_/ / | /  \/ ___  _ __ | |_ _  __ _    _/ /
      | |  `--. \  __/  | |    / _ \| '_ \|  _| |/ _` |  |_ |
     _| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| | ___\ \
     \___/\____/\_|      \____/\___/|_| |_|_| |_|\__, | \____/
                                                  __/ |
                                                 |___/
    --------------------------------------------------------------------------------
    
    
    >> Update
    
    Operating System: Debian 9.0 (Stretch) or compatible
    
    This application will update ISPConfig 3 on your server.
    
    Shall the script create a ISPConfig backup in /var/backup/ now? (yes,no) [yes]:
    
    Creating backup of "/usr/local/ispconfig" directory...
    Creating backup of "/etc" directory...
    Checking ISPConfig database .. OK
    Starting incremental database update.
    Loading SQL patch file: /tmp/ispconfig3_install/install/sql/incremental/upd_dev_collection.sql
    Reconfigure Permissions in master database? (yes,no) [no]: yes
    
    Service 'firewall_server' has been detected (currently disabled) do you want to enable and configure it?  (yes,no) [no]: yes
    
    Reconfigure Services? (yes,no,selected) [yes]:
    
    Configuring Postfix
    Configuring Dovecot
    Configuring Spamassassin
    Configuring Amavisd
    Configuring Getmail
    Configuring BIND
    Configuring Pureftpd
    Configuring Apache
    Configuring vlogger
    Configuring Apps vhost
    Configuring Jailkit
    Configuring Ubuntu Firewall
    Configuring Database
    Updating ISPConfig
    ISPConfig Port [8080]:
    
    Create new ISPConfig SSL certificate (yes,no) [no]: yes
    
    Generating RSA private key, 4096 bit long modulus (2 primes)
    ...............................................................++++
    ..............................................................++++
    e is 65537 (0x010001)
    You are about to be asked to enter information that will be incorporated
    into your certificate request.
    What you are about to enter is what is called a Distinguished Name or a DN.
    There are quite a few fields but you can leave some blank
    For some fields there will be a default value,
    If you enter '.', the field will be left blank.
    -----
    Country Name (2 letter code) [AU]:Country
    State or Province Name (full name) [Some-State]:State
    Locality Name (eg, city) []:City
    Organization Name (eg, company) [Internet Widgits Pty Ltd]: Company Name
    Organizational Unit Name (eg, section) []:IT
    Common Name (e.g. server FQDN or YOUR name) []:server.example.com
    Email Address []:[email protected]
    
    Please enter the following 'extra' attributes
    to be sent with your certificate request
    A challenge password []:
    An optional company name []:
    writing RSA key
    
    
    Reconfigure Crontab? (yes,no) [yes]:
    
    Updating Crontab
    Restarting services ...
    Update finished.
    [email protected]:/tmp/ispconfig3_install/install#
     
  2. Kevin S

    Kevin S New Member

    Code:
    [email protected]:/tmp/ispconfig3_install/install# service postfix restart
    [email protected]:/tmp/ispconfig3_install/install# service amavis restart
    [email protected]:/tmp/ispconfig3_install/install# tail -n 100 /var/log/mail.log
    Jun 24 19:36:42 server amavis[30556]: Module DB_File             1.835
    Jun 24 19:36:42 server amavis[30556]: Module Digest::MD5         2.54
    Jun 24 19:36:42 server amavis[30556]: Module Digest::SHA         5.95_01
    Jun 24 19:36:42 server amavis[30556]: Module Encode              2.80_01
    Jun 24 19:36:42 server amavis[30556]: Module File::Temp          0.2304
    Jun 24 19:36:42 server amavis[30556]: Module IO::Socket::INET6   2.72
    Jun 24 19:36:42 server amavis[30556]: Module IO::Socket::IP      0.37
    Jun 24 19:36:42 server amavis[30556]: Module MIME::Entity        5.508
    Jun 24 19:36:42 server amavis[30556]: Module MIME::Parser        5.508
    Jun 24 19:36:42 server amavis[30556]: Module MIME::Tools         5.508
    Jun 24 19:36:42 server amavis[30556]: Module Mail::DKIM::Signer  0.4
    Jun 24 19:36:42 server amavis[30556]: Module Mail::DKIM::Verifier 0.4
    Jun 24 19:36:42 server amavis[30556]: Module Mail::Header        2.18
    Jun 24 19:36:42 server amavis[30556]: Module Mail::Internet      2.18
    Jun 24 19:36:42 server amavis[30556]: Module Mail::SPF           v2.009
    Jun 24 19:36:42 server amavis[30556]: Module Mail::SpamAssassin  3.004002
    Jun 24 19:36:42 server amavis[30556]: Module Net::DNS            1.07
    Jun 24 19:36:42 server amavis[30556]: Module Net::LibIDN         0.12
    Jun 24 19:36:42 server amavis[30556]: Module Net::Patricia       1.22
    Jun 24 19:36:42 server amavis[30556]: Module Net::Server         2.008
    Jun 24 19:36:42 server amavis[30556]: Module NetAddr::IP         4.079
    Jun 24 19:36:42 server amavis[30556]: Module Razor2::Client::Version 2.84
    Jun 24 19:36:42 server amavis[30556]: Module Scalar::Util        1.4202
    Jun 24 19:36:42 server amavis[30556]: Module Socket              2.020_03
    Jun 24 19:36:42 server amavis[30556]: Module Socket6             0.27
    Jun 24 19:36:42 server amavis[30556]: Module Time::HiRes         1.9733
    Jun 24 19:36:42 server amavis[30556]: Module URI                 1.71
    Jun 24 19:36:42 server amavis[30556]: Module Unix::Syslog        1.1
    Jun 24 19:36:42 server amavis[30556]: Amavis::ZMQ code     NOT loaded
    Jun 24 19:36:42 server amavis[30556]: Amavis::DB code      loaded
    Jun 24 19:36:42 server amavis[30556]: SQL base code        loaded
    Jun 24 19:36:42 server amavis[30556]: SQL::Log code        NOT loaded
    Jun 24 19:36:42 server amavis[30556]: SQL::Quarantine      NOT loaded
    Jun 24 19:36:42 server amavis[30556]: Lookup::SQL code     loaded
    Jun 24 19:36:42 server amavis[30556]: Lookup::LDAP code    NOT loaded
    Jun 24 19:36:42 server amavis[30556]: AM.PDP-in proto code loaded
    Jun 24 19:36:42 server amavis[30556]: SMTP-in proto code   loaded
    Jun 24 19:36:42 server amavis[30556]: Courier proto code   NOT loaded
    Jun 24 19:36:42 server amavis[30556]: SMTP-out proto code  loaded
    Jun 24 19:36:42 server amavis[30556]: Pipe-out proto code  NOT loaded
    Jun 24 19:36:42 server amavis[30556]: BSMTP-out proto code NOT loaded
    Jun 24 19:36:42 server amavis[30556]: Local-out proto code loaded
    Jun 24 19:36:42 server amavis[30556]: OS_Fingerprint code  NOT loaded
    Jun 24 19:36:42 server amavis[30556]: ANTI-VIRUS code      loaded
    Jun 24 19:36:42 server amavis[30556]: ANTI-SPAM code       loaded
    Jun 24 19:36:42 server amavis[30556]: ANTI-SPAM-EXT code   NOT loaded
    Jun 24 19:36:42 server amavis[30556]: ANTI-SPAM-C code     NOT loaded
    Jun 24 19:36:42 server amavis[30556]: ANTI-SPAM-SA code    loaded
    Jun 24 19:36:42 server amavis[30556]: Unpackers code       loaded
    Jun 24 19:36:42 server amavis[30556]: DKIM code            loaded
    Jun 24 19:36:42 server amavis[30556]: Tools code           NOT loaded
    Jun 24 19:36:42 server amavis[30556]: Found $file            at /usr/bin/file
    Jun 24 19:36:42 server amavis[30556]: Found $altermime       at /usr/bin/altermime
    Jun 24 19:36:42 server amavis[30556]: Internal decoder for .mail
    Jun 24 19:36:42 server amavis[30556]: Found decoder for    .Z    at /bin/uncompress
    Jun 24 19:36:42 server amavis[30556]: Found decoder for    .gz   at /bin/gzip -d
    Jun 24 19:36:42 server amavis[30556]: Found decoder for    .bz2  at /bin/bzip2 -d
    Jun 24 19:36:42 server amavis[30556]: Found decoder for    .xz   at /usr/bin/xz -dc
    Jun 24 19:36:42 server amavis[30556]: Found decoder for    .lzma at /usr/bin/xz -dc --format=lzma
    Jun 24 19:36:42 server amavis[30556]: No ext program for   .lrz, tried: lrzip -q -k -d -o -, lrzcat -q -k
    Jun 24 19:36:42 server amavis[30556]: Found decoder for    .lzo  at /usr/bin/lzop -d
    Jun 24 19:36:42 server amavis[30556]: No ext program for   .lz4, tried: lz4c -d
    Jun 24 19:36:42 server amavis[30556]: Found decoder for    .rpm  at /usr/bin/rpm2cpio
    Jun 24 19:36:42 server amavis[30556]: Found decoder for    .cpio at /bin/pax
    Jun 24 19:36:42 server amavis[30556]: Found decoder for    .tar  at /bin/pax
    Jun 24 19:36:42 server amavis[30556]: Found decoder for    .deb  at /usr/bin/ar
    Jun 24 19:36:42 server amavis[30556]: Found decoder for    .rar  at /usr/bin/unrar-free
    Jun 24 19:36:42 server amavis[30556]: Found decoder for    .arj  at /usr/bin/arj
    Jun 24 19:36:42 server amavis[30556]: Found decoder for    .arc  at /usr/bin/nomarch
    Jun 24 19:36:42 server amavis[30556]: Found decoder for    .zoo  at /usr/bin/zoo
    Jun 24 19:36:42 server amavis[30556]: Found decoder for    .doc  at /usr/bin/ripole
    Jun 24 19:36:42 server amavis[30556]: Found decoder for    .cab  at /usr/bin/cabextract
    Jun 24 19:36:42 server amavis[30556]: Internal decoder for .tnef
    Jun 24 19:36:42 server amavis[30556]: No ext program for   .zip, tried: 7za, 7z
    Jun 24 19:36:42 server amavis[30556]: No ext program for   .kmz, tried: 7za, 7z
    Jun 24 19:36:42 server amavis[30556]: Internal decoder for .zip
    Jun 24 19:36:42 server amavis[30556]: Internal decoder for .kmz
    Jun 24 19:36:42 server amavis[30556]: Found decoder for    .7z   at /usr/bin/7zr
    Jun 24 19:36:42 server amavis[30556]: No ext program for   .jar, tried: 7z
    Jun 24 19:36:42 server amavis[30556]: No ext program for   .swf, tried: 7z
    Jun 24 19:36:42 server amavis[30556]: No ext program for   .lha, tried: 7z
    Jun 24 19:36:42 server amavis[30556]: No ext program for   .iso, tried: 7z
    Jun 24 19:36:42 server amavis[30556]: Found decoder for    .exe  at /usr/bin/unrar-free; /usr/bin/arj
    Jun 24 19:36:42 server amavis[30556]: No decoder for       .F
    Jun 24 19:36:42 server amavis[30556]: No decoder for       .iso
    Jun 24 19:36:42 server amavis[30556]: No decoder for       .jar
    Jun 24 19:36:42 server amavis[30556]: No decoder for       .lha
    Jun 24 19:36:42 server amavis[30556]: No decoder for       .lrz
    Jun 24 19:36:42 server amavis[30556]: No decoder for       .lz4
    Jun 24 19:36:42 server amavis[30556]: No decoder for       .swf
    Jun 24 19:36:42 server amavis[30556]: Using primary internal av scanner code for ClamAV-clamd
    Jun 24 19:36:42 server amavis[30556]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
    Jun 24 19:36:42 server amavis[30556]: Deleting db files __db.003,snmp.db,__db.001,nanny.db,__db.002 in /var/lib/amavis/db
    Jun 24 19:36:42 server amavis[30556]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.55, libdb 5.3
    Jun 24 19:36:43 server dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=30558, secured, session=<OmVK/NSo7IMAAAAAAAAAAAAAAAAAAAAB>
    Jun 24 19:36:43 server dovecot: imap([email protected]): Logged out in=149 out=2544
    Jun 24 19:36:44 server postfix/smtpd[30559]: connect from unknown[111.111.111.111]
    Jun 24 19:36:47 server postfix/smtpd[30559]: warning: unknown[111.111.111.111]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
    Jun 24 19:36:47 server postfix/smtpd[30559]: lost connection after AUTH from unknown[111.111.111.111]
    Jun 24 19:36:47 server postfix/smtpd[30559]: disconnect from unknown[111.111.111.111] ehlo=1 auth=0/1 commands=1/2
    [email protected]:/tmp/ispconfig3_install/install#
     
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Have you tried the E-mail setup tutorial in my signature?
    Can you in Roundcube send e-mail to the same account?
     
  4. Kevin S

    Kevin S New Member

    Hi, Sending an email to self from Roundcube also does not reach to me. I did all the steps mentioned in your email signature. Screenshot below:

    [​IMG]
     
  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    If that Roundcube sending to self does not work, I would say the e-mail setup on that host is very broken.
    I have no idea why, but you should start checking the basic things.
    If you can not figure this out yourself, you can pay for support: https://www.ispconfig.org/get-support/
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    According to your mailqueue, the email that you send does not disappear, its just in the mailqueue and waits there because your mail system is not configured correctly at the moment. It might be a good idea indeed that you ask Florian from ISPConfig business support to have a look at your system remotely. Or you go back a few posts in this thread and check again the mailqueue if the emails get processed now or if they still waiting for a milter connection.
     

Share This Page