Cannot send emails from GUI, email from backend works



  • Hi Team, good morning. I'm trying to send email from GUI, but do not work. I also configured port 587, ssl, user password, save, restart. The connection to the mail server is sent, but there is something wrong on it. The mail server can not understand what it needs to do.
    If i try to send email from linux command line it works perfect, so i do not think that there is an amazon ec2 problem. Please, can you help on this?

    Follow below log from mail server to debug:

    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: connect from ec2-52-28-102-222.eu-central-1.compute.amazonaws.com[52.28.102.222]
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: smtp_stream_setup: maxtime=300 enable_deadline=0
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: match_hostname: ec2-52-28-102-222.eu-central-1.compute.amazonaws.com ~? 127.0.0.1
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: match_hostaddr: 52.28.102.222 ~? 127.0.0.1
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: match_hostname: ec2-52-28-102-222.eu-central-1.compute.amazonaws.com ~? [::1]
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: match_hostaddr: 52.28.102.222 ~? [::1]
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: match_list_match: ec2-52-28-102-222.eu-central-1.compute.amazonaws.com: no match
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: match_list_match: 52.28.102.222: no match
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: send attr request = connect
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: send attr ident = submission:52.28.102.222
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: private/anvil: wanted attribute: status
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: input attribute name: status
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: input attribute value: 0
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: private/anvil: wanted attribute: count
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: input attribute name: count
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: input attribute value: 1
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: private/anvil: wanted attribute: rate
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: input attribute name: rate
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: input attribute value: 1
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: private/anvil: wanted attribute: (list terminator)
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: input attribute name: (end)
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: > ec2-52-28-102-222.eu-central-1.compute.amazonaws.com[52.28.102.222]: 220 ns1.i9networks.net.br ESMTP Postfix
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: watchdog_pat: 0x55bea6036e20
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: < ec2-52-28-102-222.eu-central-1.compute.amazonaws.com[52.28.102.222]: ????
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: dict_pcre_lookup: /etc/postfix/command_filter.pcre: ????
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: match_string: ???? ~? CONNECT
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: match_string: ???? ~? GET
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: match_string: ???? ~? POST
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: match_list_match: ????: no match
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: > ec2-52-28-102-222.eu-central-1.compute.amazonaws.com[52.28.102.222]: 502 5.5.2 Error: command not recognized
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: watchdog_pat: 0x55bea6036e20
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: < ec2-52-28-102-222.eu-central-1.compute.amazonaws.com[52.28.102.222]: ??&????
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: dict_pcre_lookup: /etc/postfix/command_filter.pcre: ?
    ?&????
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: match_string: ??&???? ~? CONNECT
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: match_string: ?
    ?&???? ~? GET
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: match_string: ??&???? ~? POST
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: match_list_match: ?
    ?&????: no match
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: > ec2-52-28-102-222.eu-central-1.compute.amazonaws.com[52.28.102.222]: 502 5.5.2 Error: command not recognized
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: watchdog_pat: 0x55bea6036e20
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: < ec2-52-28-102-222.eu-central-1.compute.amazonaws.com[52.28.102.222]:
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: dict_pcre_lookup: /etc/postfix/command_filter.pcre:
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: > ec2-52-28-102-222.eu-central-1.compute.amazonaws.com[52.28.102.222]: 500 5.5.2 Error: bad syntax
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: watchdog_pat: 0x55bea6036e20
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: < ec2-52-28-102-222.eu-central-1.compute.amazonaws.com[52.28.102.222]:
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: dict_pcre_lookup: /etc/postfix/command_filter.pcre:
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: > ec2-52-28-102-222.eu-central-1.compute.amazonaws.com[52.28.102.222]: 500 5.5.2 Error: bad syntax
    Oct 14 21:40:39 ns1 postfix/submission/smtpd[6610]: watchdog_pat: 0x55bea6036e20

    My spotipo version is: spotipo 3.5.15
    Distributor ID: Ubuntu
    Description: Ubuntu 16.04.6 LTS
    Release: 16.04
    Codename: xenial

    Thanks in advance.


Log in to reply
 

});