zendframework / zend-mail

Mail component from Zend Framework
BSD 3-Clause "New" or "Revised" License
96 stars 111 forks source link

authentication rejected, but nothing shows in tcpdump #241

Open beppe9000 opened 5 years ago

beppe9000 commented 5 years ago

I am having this issue... the most similar thing seems to be #170 (in that i can't xdebug and would like to see/debug the communication at protocol level to have a clearer idea) but in my case using tcpdump on port 25 does not show anything... yet there is a smtp protocol error and that baffles me...

I am using espocrm so full code is open source. also here

This is my stack trace. Looks like bad credentials but webmail login works ok in cpanel (it's centos 7.6)...

Zend\Mail\Protocol\Exception\RuntimeException: 5.7.0 ...authentication rejected
 in /home/foo/public_html/crm/vendor/zendframework/zend-mail/src/Protocol/AbstractProtocol.php:348
Stack trace:
#0 /home/foo/public_html/crm/vendor/zendframework/zend-mail/src/Protocol/Smtp/Auth/Login.php(78): Zend\Mail\Protocol\AbstractProtocol->_expect(Array)
#1 /home/foo/public_html/crm/vendor/zendframework/zend-mail/src/Protocol/Smtp.php(222): Zend\Mail\Protocol\Smtp\Auth\Login->auth()
#2 /home/foo/public_html/crm/vendor/zendframework/zend-mail/src/Transport/Smtp.php(401): Zend\Mail\Protocol\Smtp->helo('vps.me.com')
#3 /home/foo/public_html/crm/vendor/zendframework/zend-mail/src/Transport/Smtp.php(383): Zend\Mail\Transport\Smtp->connect()
#4 /home/foo/public_html/crm/vendor/zendframework/zend-mail/src/Transport/Smtp.php(394): Zend\Mail\Transport\Smtp->lazyLoadConnection()
#5 /home/foo/public_html/crm/vendor/zendframework/zend-mail/src/Transport/Smtp.php(251): Zend\Mail\Transport\Smtp->connect()
#6 /home/foo/public_html/crm/application/Espo/Core/Mail/Sender.php(397): Zend\Mail\Transport\Smtp->send(Object(Zend\Mail\Message))
#7 /home/foo/public_html/crm/custom/Espo/Custom/Services/Email.php(116): Espo\Core\Mail\Sender->send(Object(Espo\Entities\Email), Array, Object(Zend\Mail\Message))
#8 /home/foo/public_html/crm/application/Espo/Services/Email.php(324): Espo\Custom\Services\Email->send(Object(Espo\Entities\Email))

I can't find a log for any of this nowhere... can someone suggest some paths that could help?

Thansk

weierophinney commented 4 years ago

This repository has been closed and moved to laminas/laminas-mail; a new issue has been opened at https://github.com/laminas/laminas-mail/issues/10.