[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Eprints SMPT configuration Error with Office 365



CAUTION: This e-mail originated outside the University of Southampton.
Dear All,
Could anyone please help me to resolve the issue of Office365 SMTP Configuration issue with eprints.exchange.isb.edu<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Feprints.exchange.isb.edu%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cecd31aef99724312efce08db2dfb549b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638154330280081534%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=2VErqYhIID0kWq7%2BLiZWmAc58J7jYQ5MvCguWGJ9fno%3D&reserved=0>. Let me clear what I have done so far.
1. Followed this guide https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FSetting_up_email%23%3A~%3Atext%3DConfiguring%2520SMTP%2520in%2520EPrints%2CE.g.%26text%3DIf%2520you%2520are%2520running%2520Debian%2Cway%2520to%2520reload%2520the%2520webserver&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cecd31aef99724312efce08db2dfb549b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638154330280081534%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=3xaHC%2BVr%2FG7BP6YdYKXs9W66%2F7i3hDeOV1kzKxEsrpo%3D&reserved=0.  and used postfix as a relay server.
2. It is working well with mail command without any isssue
3. Email.pm and SystemSettings.pm have been configured accordingly
4, Followed this thread https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eprints.org%2Feptech%2Fmsg07173.html&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cecd31aef99724312efce08db2dfb549b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638154330280081534%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=R9725HGS8MkvcAjFkvP3M2BhyhRxiREHK%2B%2FNE6MudfA%3D&reserved=0 and tested with test_sendmail.pl<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftest_sendmail.pl%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cecd31aef99724312efce08db2dfb549b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638154330280081534%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=LP2myBN4Vl55aJQQTW3TQg2H5SYlZw0zAuFQwoK6ixQ%3D&reserved=0> and working perfectly.
I am facing the following error


Connect failed :IO::Socket::INET: connect: Connection refused
 at /usr/local/share/perl/5.30.0/Net/SMTP/TLS.pm line 113.
        Net::SMTP::TLS::new("Net::SMTP::TLS", "localhost", "Hello", "localhost", "Port", 587, "User", "******email", ...) called at /opt/eprints3/perl_lib/EPrints/Email.pm line 178
        EPrints::Email::send_mail_via_smtp("sig", XML::LibXML::DocumentFragment=SCALAR(0x55c2ec290348), "to_email", "lrc_hyd\@isb.edu<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fisb.edu%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cecd31aef99724312efce08db2dfb549b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638154330280081534%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=YkE7MeawbDZ0ZZV50aQk%2Fg6EYt7e7FaAkLPusGLCdd8%3D&reserved=0>", "cc_list", ARRAY(0x55c2ec28fc70), "replyto_email", "****@gmail.com<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgmail.com%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cecd31aef99724312efce08db2dfb549b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638154330280081534%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=4AQHvmEj%2Fb%2F7UPZHUXmlSrPP9xNNrQBtUA86FSkkck0%3D&reserved=0>", ...) called at /opt/eprints3/perl_lib/EPrints/Repository.pm line 1927

eval {...} called at /opt/eprints3/perl_lib/EPrints/Repository.pm line 1927"

Could anyone please help me out?

thanks
Revathi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20230326/b2a19a4c/attachment.html