Mail Error I can send but not receive one.

Discussion in 'Installation/Configuration' started by Luis Urbina G., Nov 12, 2015.

  1. Luis Urbina G.

    Luis Urbina G. New Member

    Hi everybody
    I wrote to us because I have some error with my server, I installed ISPconfig without problems when I install a SSL with this tutorial: Secure your ISPConfig with SSL Certificate from StartSSL, I stop receiving emails. I can send with roundcube, but I can receive it, not even sending them to the same account.
    I post a follow information about the problem, I hope you can help me.

    File mail.log for 11-11-2015
    htf-Report.txt

    How I said, my Domain ins Register in Godaddy and they controls DNS zone.
    The SSL certificate works for https in my ispconfig wth the correct credentials.

    In fact , access ISPconfig with SSL connection hhtps, FTP with TLS but I don't know what happen with the email server, before Install SSL it's works sendin and receive email.
    Using Roundcube I can send email outside, but not received anything.

    Thanks so much if can you help me.
     

    Attached Files:

    Last edited: Nov 13, 2015
  2. florian030

    florian030 Well-Known Member HowtoForge Supporter

    Check you mail.log. You smtp-server is responding on port 25.
     
  3. Luis Urbina G.

    Luis Urbina G. New Member

    Thanks early response Florian030
    As you said SMPT-server is responding on port 25, for use of SSL SMTP with SSL should be 465 and 587, but as change the value of the position to listen to the config file. Could you explain how it got there ?,
    Because I do this command: nano /etc/postfix/master.cf and only uncomment a SMTP block
    Code:
    submission inet n       -       -       -       -       smtpd
      -o syslog_name=postfix/submission
      -o smtpd_tls_security_level=encrypt
      -o smtpd_sasl_auth_enable=yes
      -o smtpd_client_restrictions=permit_sasl_authenticated,reject
      -o milter_macro_daemon_name=ORIGINATING
    smtps     inet  n       -       -       -       -       smtpd
      -o syslog_name=postfix/smtps
      -o smtpd_tls_wrappermode=yes
      -o smtpd_sasl_auth_enable=yes
      -o smtpd_client_restrictions=permit_sasl_authenticated,reject
      -o milter_macro_daemon_name=ORIGINATING
    As said this tutorial Enable SSL Auth on 465 in ISPconfig 3
    I do a NMap an obtain:
    Code:
    PORT     STATE SERVICE  VERSION
    21/tcp   open  ftp      Pure-FTPd
    22/tcp   open  ssh      OpenSSH 6.0p1 Debian 4+deb7u2 (protocol 2.0)
    25/tcp   open  smtp     Postfix smtpd
    53/tcp   open  domain
    80/tcp   open  http     Apache httpd 2.2.22 ((Debian))
    110/tcp  open  pop3     Dovecot pop3d
    143/tcp  open  imap     Dovecot imapd
    443/tcp  open  http     Apache httpd 2.2.22 ((Debian))
    465/tcp  open  ssl/smtp Postfix smtpd
    587/tcp  open  smtp     Postfix smtpd
    993/tcp  open  ssl/imap Dovecot imapd
    995/tcp  open  ssl/pop3 Dovecot pop3d
    3306/tcp open  mysql    MySQL 5.5.46-0+deb7u1
    8080/tcp open  http     Apache httpd (SSL-only mode)
    8081/tcp open  http     Apache httpd 2.2.22 ((Debian))
    Regards
    Luis.
     
    Last edited: Nov 12, 2015
  4. florian030

    florian030 Well-Known Member HowtoForge Supporter

  5. Luis Urbina G.

    Luis Urbina G. New Member

    Florian030!
    I made some changes because I saw that in the configuration of Postfix myhostname was a name of myVPS and I change it for exact name in MX Record of DNSzone.
    I saw what you send me and I noticed the following:
    Code:
    Nov 12 16:55:02 srv1 postfix/smtpd[17600]: initializing the server-side TLS engine
    Nov 12 16:55:02 srv1 postfix/smtpd[17600]: connect from localhost[::1]
    Nov 12 16:55:02 srv1 postfix/smtpd[17600]: lost connection after CONNECT from localhost[::1]
    Nov 12 16:55:02 srv1 postfix/smtpd[17600]: disconnect from localhost[::1]
    Nov 12 16:55:38 srv1 dovecot: auth-worker(17631): mysql(localhost): Connected to database dbispconfig
    Nov 12 16:55:38 srv1 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=17633, secured, session=<oriYlV4k+QAAAAAAAAAAAAAAAAAAAAAB>
    Nov 12 16:55:38 srv1 dovecot: imap([email protected]): Disconnected: Logged out in=91 out=793
    Nov 12 16:56:38 srv1 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=17645, secured, session=<ZlommV4kQwAAAAAAAAAAAAAAAAAAAAAB>
    Nov 12 16:56:38 srv1 dovecot: imap([email protected]): Disconnected: Logged out in=91 out=793
    Nov 12 16:57:38 srv1 dovecot: auth-worker(17658): mysql(localhost): Connected to database dbispconfig
    Nov 12 16:57:38 srv1 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=17657, secured, session=<LVi6nF4kmgAAAAAAAAAAAAAAAAAAAAAB>
    Nov 12 16:57:38 srv1 dovecot: imap([email protected]): Disconnected: Logged out in=91 out=793
    Nov 12 16:58:38 srv1 dovecot: auth-worker(17671): mysql(localhost): Connected to database dbispconfig
    Nov 12 16:58:38 srv1 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=17673, secured, session=<hkhRoF4k5gAAAAAAAAAAAAAAAAAAAAAB>
    Nov 12 16:58:38 srv1 dovecot: imap([email protected]): Disconnected: Logged out in=91 out=793
    Nov 12 16:59:38 srv1 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=17685, secured, session=<G7vio14kyAAAAAAAAAAAAAAAAAAAAAAB>
    Nov 12 16:59:38 srv1 dovecot: imap([email protected]): Disconnected: Logged out in=91 out=793
    Nov 12 17:00:01 srv1 dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<IzdBpV4kqQAAAAAAAAAAAAAAAAAAAAAB>
    Nov 12 17:00:01 srv1 dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<JFFBpV4kRgAAAAAAAAAAAAAAAAAAAAAB>
    I am tired, trying to resolve by myself but I don't understand what's happening. I will be very thankfully if you can provide me more details to resolve this.
    Regards
    Luis
     
    Last edited: Nov 13, 2015

Share This Page