Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default smtpauth not working for me.

    debug log

    [01-Dec-2021 18:03:13 America/New_York] CLIENT -> SERVER: STARTTLS

    [01-Dec-2021 18:03:13 America/New_York] SMTP INBOUND: "220 2.0.0 Ready to start TLS"
    [01-Dec-2021 18:03:13 America/New_York] SERVER -> CLIENT: 220 2.0.0 Ready to start TLS

    [01-Dec-2021 18:03:13 America/New_York] Connection failed. Error #2: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
    error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed [/home/scanmyid/public_html/lakeservers.com/includes/classes/vendors/PHPMailer/src/SMTP.php line 428]
    [01-Dec-2021 18:03:13 America/New_York] SMTP Error: Could not connect to SMTP host.
    [01-Dec-2021 18:03:13 America/New_York] CLIENT -> SERVER: QUIT

    [01-Dec-2021 18:03:13 America/New_York] SMTP INBOUND: "M
    [01-Dec-2021 18:03:13 America/New_York] SMTP INBOUND: "ýœI;£i2»È`³é8Û%¡V‘0q›xß"xÍ:KžvÙ¨_Úε`{jŒÓj>Í´ý²Ml Bk¥Ÿ‡ “ôÌE@EpRªòœ^üÌhÍ~QW!OÈ'—
    [01-Dec-2021 18:03:13 America/New_York] SERVER -> CLIENT: M
    [01-Dec-2021 18:03:13 America/New_York] SMTP ERROR: QUIT command failed: M
    [01-Dec-2021 18:03:13 America/New_York] Connection: closed
    [01-Dec-2021 18:03:13 America/New_York] SMTP connect() failed. https://github.com/PHPMailer/PHPMail...roubleshooting
    [01-Dec-2021 18:03:13 America/New_York] PHP Notice: Email Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting<br /> in /home/*****/includes/functions/functions_email.php on line 387

    PHP works fine but smtpauth is not working for me. Nor is smtp

  2. #2
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: smtpauth not working for me.

    mail error log from my server below.

    Dec 2 08:15:15 server postfix/smtpd[404]: connect from server.foreveryours.us[45.33.10.132]
    Dec 2 08:15:15 server postfix/smtpd[404]: TLS SNI mail.lakeservers.com from server.foreveryours.us[45.33.10.132] not matched, using default chain
    Dec 2 08:15:15 server postfix/smtpd[404]: SSL_accept error from server.foreveryours.us[45.33.10.132]: 0
    Dec 2 08:15:15 server postfix/smtpd[404]: warning: TLS library problem: error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired:s3_pkt.c:1493:SSL alert number 45:
    Dec 2 08:15:15 server postfix/smtpd[404]: lost connection after STARTTLS from server.foreveryours.us[45.33.10.132]
    Dec 2 08:15:15 server postfix/smtpd[404]: disconnect from server.foreveryours.us[45.33.10.132] ehlo=1 starttls=0/1 commands=1/2

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,474
    Plugin Contributions
    88

    Default Re: smtpauth not working for me.

    Quote Originally Posted by pixelpadre View Post
    mail error log from my server below.

    Dec 2 08:15:15 server postfix/smtpd[404]: connect from server.foreveryours.us[45.33.10.132]
    Dec 2 08:15:15 server postfix/smtpd[404]: TLS SNI mail.lakeservers.com from server.foreveryours.us[45.33.10.132] not matched, using default chain
    Dec 2 08:15:15 server postfix/smtpd[404]: SSL_accept error from server.foreveryours.us[45.33.10.132]: 0
    Dec 2 08:15:15 server postfix/smtpd[404]: warning: TLS library problem: error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired:s3_pkt.c:1493:SSL alert number 45:
    Dec 2 08:15:15 server postfix/smtpd[404]: lost connection after STARTTLS from server.foreveryours.us[45.33.10.132]
    Dec 2 08:15:15 server postfix/smtpd[404]: disconnect from server.foreveryours.us[45.33.10.132] ehlo=1 starttls=0/1 commands=1/2
    Looks like the email server's SSL certificate has expired.

  4. #4
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: smtpauth not working for me.

    Quote Originally Posted by lat9 View Post
    Looks like the email server's SSL certificate has expired.
    But ssllabs gives me an "A" rating for the mail server.
    https://www.ssllabs.com/ssltest/anal...akeservers.com

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,474
    Plugin Contributions
    88

    Default Re: smtpauth not working for me.

    If you look at other elements of that log, it's server.foreveryours.us that the message is logged against. Perhaps your email isn't set up properly?

  6. #6
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: smtpauth not working for me.

    A rating with cert for server.foreveryours.us also.

    Im not having a problem with smtp auth using thunderbird.

  7. #7
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: smtpauth not working for me.

    Quote Originally Posted by lat9 View Post
    Looks like the email server's SSL certificate has expired.

    (yum update ca-certificates -y) Fixed the expiration issue but still no joy.

    Dec 2 13:10:11 server postfix/smtpd[22394]: connect from server.foreveryours.us[45.33.10.132]
    Dec 2 13:10:11 server postfix/smtpd[22394]: TLS SNI mail.lakeservers.com from server.foreveryours.us[45.33.10.132] not matched, using default chain
    Dec 2 13:10:11 server postfix/smtpd[22394]: Anonymous TLS connection established from server.foreveryours.us[45.33.10.132]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
    Dec 2 13:10:11 server postfix/smtpd[22394]: lost connection after STARTTLS from server.foreveryours.us[45.33.10.132]
    Dec 2 13:10:11 server postfix/smtpd[22394]: disconnect from server.foreveryours.us[45.33.10.132] ehlo=1 starttls=1 commands=2

  8. #8
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: smtpauth not working for me.

    Not sure why there is a mismatch in the chain. But setting the smtpauth to server.foreveryours.us eliminated the mismatch and mail was sent successfully.

  9. #9
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: smtpauth not working for me.

    Quote Originally Posted by pixelpadre View Post
    Not sure why there is a mismatch in the chain. But setting the smtpauth to server.foreveryours.us eliminated the mismatch and mail was sent successfully.
    https://blog.devgenius.io/rhel-cento...e-8af2de587fe4

  10. #10
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: smtpauth not working for me.

    postfix/main.cf question:

    # network settings
    inet_interfaces = all
    mydomain = yourdomain.com <-----------------------does this matter? This is the default postfix settings
    myhostname = server.companiondriver.com
    mynetworks = $config_directory/mynetworks
    mydestination = $myhostname = server.companiondriver.com
    relay_domains = proxy:mysql:/etc/postfix/mysql-relay_domains_maps.cf

 

 

Similar Threads

  1. v156 Ports 465 and 587 not working (smtpauth) - pages not loading
    By someone83 in forum General Questions
    Replies: 18
    Last Post: 15 Mar 2019, 04:51 AM
  2. v151 smtpauth mail has suddently decided to stop working??
    By philip937 in forum General Questions
    Replies: 2
    Last Post: 13 Jan 2014, 02:01 PM
  3. v151 USPS not working for APO AE, AF, AO but working for other international
    By lidlchris in forum Addon Shipping Modules
    Replies: 25
    Last Post: 8 Jan 2014, 12:20 AM
  4. Special Characters not working for SMTPauth password
    By ray-the-otter in forum Bug Reports
    Replies: 2
    Last Post: 6 Oct 2011, 04:38 PM
  5. SMTPAUTH Settings for External Bulk Emailer
    By Glowball in forum General Questions
    Replies: 1
    Last Post: 22 Nov 2008, 01:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR