Home

Can't send SMTP mail after setting Default Security in Office 365

%3CLINGO-SUB%20id%3D%22lingo-sub-1181319%22%20slang%3D%22en-US%22%3ECan't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1181319%22%20slang%3D%22en-US%22%3E%3CP%3EAfter%20I%20activated%20the%20'Default%20Security'%20in%20Office%20365%2C%20the%20multifunctionals%20can't%20scan-to-mail%20.%3C%2FP%3E%3CP%3EI%20get%20error%26nbsp%3B%3C%2FP%3E%3CP%3ESmtpCmdResp%3A%20535%205.7.3%20Authentication%20unsuccessful%20%5BLO2P265CA0457.GBRP265.PROD.OUTLOOK.COM%5D%3CBR%20%2F%3E--readSmtpResponse%3CBR%20%2F%3ESMTP%20authentication%20failed%20after%20sending%20password.%3CBR%20%2F%3ECheck%20your%20username%2Fpassword%20or%20your%20SMTP%20server's%20auth%20settings%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESettings%3A%26nbsp%3B%26nbsp%3B%20smtp_host%3A%20smtp.office365.com%3CBR%20%2F%3Esmtp_port%3A%20587%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EBefore%20activating%20Default%20Security%20there%20was%20no%20problem.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1181319%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESMTP%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1181384%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1181384%22%20slang%3D%22en-US%22%3E%3CP%3EWell%20you%20might%20have%20bothered%20to%20read%20the%20documentation%20on%20Security%20defaults%20first%20to%20avoid%20such%20issues%20%3A)%3C%2Fimg%3E%20Among%20other%20things%2C%20they%20block%20basic%20auth%20for%20SMTP%2C%20which%20I%20suppose%20is%20what%20your%20devices%20use.%20You%20can%20either%20disable%20Security%20defaults%2C%20create%20a%20similar%20CA%20policy%20with%20exceptions%20added%20for%20the%20devices%2C%20or%20use%20some%20smart%20host%2Frelay%20to%20route%20those%20messages.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1181992%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1181992%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENah%2C%20i'm%20more%20the%20'let's%20see%20what%20this%20button%20does'%20type%20of%20guy%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3EMS%20is%20expert%20in%20producing%20large%20quantity's%20of%20text%20with%20very%20little%20info.%26nbsp%3B%20Especially%20if%20English%20is%20not%20your%20native%20language%20it's%20sometimes%20very%20difficult%20to%20follow.%3C%2FP%3E%3CP%3EDo%20you%20think%20there%20is%20a%20way%20to%20**bleep**%20a%20little%20hole%20in%20the%20default%20security%20%2C%20just%20to%20allow%20one%20mailaccount%20to%20send%20mail%20via%20SMTP%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1182511%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1182511%22%20slang%3D%22en-US%22%3E%3CP%3EThat%20depends%20on%20what%20licensing%20you%20have.%20Security%20defaults%20on%20their%20own%20don't%20allow%20much%20customizability%2C%20it's%20a%20plain%20on%2Foff%20switch%20for%20all%20features%20as%20a%20single%20package.%20But%20if%20you%20have%20AAD%20Premium%20licenses%2C%20you%20can%20create%20a%20policy%20that%20matches%20the%20Security%20defaults%20restrictions%2C%20with%20few%20added%20exceptions%20as%20needed.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1183050%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1183050%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F562907%22%20target%3D%22_blank%22%3E%40MarcVHB%3C%2FA%3E%26nbsp%3BWhile%20I%20am%20not%20aware%20of%20what%20devices%20you%20are%20using%20I%20can%20tell%20you%20that%20I%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fmail-flow-best-practices%2Fhow-to-set-up-a-multifunction-device-or-application-to-send-email-using-office-3%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eused%20this%20documentation%3C%2FA%3E%20to%20set%20up%20a%20HP%20MFP%20X585%20and%20a%20Canon%20MF735CDW.%3C%2FP%3E%3CP%3EWe%20use%20a%20shared%20mailbox%20with%20a%20password%20set%20on%20the%20mailbox%20to%20do%20Authenticated%20SMTP.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1184732%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1184732%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F4306%22%20target%3D%22_blank%22%3E%40Forrest%20Hoffman%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20use%20Kyocera%20devices.%26nbsp%3B%20SMTP%20used%20to%20work%2C%20until%20I%20activated%20Default%20Security.%3CBR%20%2F%3EFor%20new%20Office%20365%20tenants%2C%20Default%20Security%20is%20now%20standard%20set%20to%20'on'%20%2C%20so%20new%20Office%20365%20users%20won't%20be%20able%20to%20send%20SMTP%20mails%20with%20multifunctional%20devices.%3C%2FP%3E%3CP%3EI%20was%20hoping%20there%20would%20be%20a%20simple%20way%20just%20for%20one%20user%20(or%20shared%20mailbox)%20to%20send%20SMTP%20mail.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1184743%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1184743%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F562907%22%20target%3D%22_blank%22%3E%40MarcVHB%3C%2FA%3E%26nbsp%3BRight%2C%20you%20would%20need%20use%20a%20mailbox%20that%20has%20a%20username%20and%20password%20unfortunately.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1196949%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1196949%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F562907%22%20target%3D%22_blank%22%3E%40MarcVHB%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20just%20enabled%20Security%20Defaults%20in%20our%20Office%20365%20tenant%20as%20well%20the%20other%20day%20and%20also%20have%20the%20same%20problem%20(from%20an%20app%20that%20uses%20SMTP).%20I%20disabled%20Security%20Defaults%20but%20the%20app%20still%20can't%20send%20through%20SMTP%20anymore.%20Even%20tried%20disabling%20MFA%20%3D%20still%20not%20working.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDid%20you%20get%20a%20resolution%20to%20your%20issue%20in%20the%20end%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1197758%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1197758%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F568910%22%20target%3D%22_blank%22%3E%40BinhTang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENo%2C%20at%20the%20moment%20i%20use%20the%20smtp%20server%20of%20my%20internet%20provider.%3C%2FP%3E%3CP%3ENot%20the%20way%20it%20shoud%20we%2C%20but%20it%20works.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

After I activated the 'Default Security' in Office 365, the multifunctionals can't scan-to-mail .

I get error 

SmtpCmdResp: 535 5.7.3 Authentication unsuccessful [LO2P265CA0457.GBRP265.PROD.OUTLOOK.COM]
--readSmtpResponse
SMTP authentication failed after sending password.
Check your username/password or your SMTP server's auth settings

 

Settings:   smtp_host: smtp.office365.com
smtp_port: 587

Before activating Default Security there was no problem.

 

 

8 Replies
Highlighted

Well you might have bothered to read the documentation on Security defaults first to avoid such issues :) Among other things, they block basic auth for SMTP, which I suppose is what your devices use. You can either disable Security defaults, create a similar CA policy with exceptions added for the devices, or use some smart host/relay to route those messages.

Highlighted

@Vasil Michev 

Nah, i'm more the 'let's see what this button does' type of guy :)

MS is expert in producing large quantity's of text with very little info.  Especially if English is not your native language it's sometimes very difficult to follow.

Do you think there is a way to **bleep** a little hole in the default security , just to allow one mailaccount to send mail via SMTP ?

Highlighted

That depends on what licensing you have. Security defaults on their own don't allow much customizability, it's a plain on/off switch for all features as a single package. But if you have AAD Premium licenses, you can create a policy that matches the Security defaults restrictions, with few added exceptions as needed.

Highlighted

@MarcVHB While I am not aware of what devices you are using I can tell you that I used this documentation to set up a HP MFP X585 and a Canon MF735CDW.

We use a shared mailbox with a password set on the mailbox to do Authenticated SMTP.

@Forrest Hoffman 

 

I use Kyocera devices.  SMTP used to work, until I activated Default Security.
For new Office 365 tenants, Default Security is now standard set to 'on' , so new Office 365 users won't be able to send SMTP mails with multifunctional devices.

I was hoping there would be a simple way just for one user (or shared mailbox) to send SMTP mail.

Highlighted

@MarcVHB Right, you would need use a mailbox that has a username and password unfortunately. 

Highlighted

@MarcVHB 

I just enabled Security Defaults in our Office 365 tenant as well the other day and also have the same problem (from an app that uses SMTP). I disabled Security Defaults but the app still can't send through SMTP anymore. Even tried disabling MFA = still not working.

 

Did you get a resolution to your issue in the end?

 

Highlighted

@BinhTang 

No, at the moment i use the smtp server of my internet provider.

Not the way it shoud we, but it works.