LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-08-2023, 02:13 AM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,604

Rep: Reputation: 180Reputation: 180
sendmail authinfo with Exchange


I have a linux host running Sendmail. I want to send messages messages to an Exchange Online (365) server. I believe I need to do so with with AuthInfo (but correct me if I'm wrong).

If I have an Exchange account for user myuser at mydom.com with Exchange password mypass and MX record mydom-com.mail.protection.outlook.com what should my AuthInfo record look like:
Code:
AuthInfo:mydom-com.mail.protection.outlook.com "U:myuser" "P:mypass"
Should U: be as shown, or myuser@mydom.com, or DCdomain\myuser? Do I need "M:PLAIN"? Some other encryption type?

Does sendmail.mc need:
Code:
define(`SMART_HOST',`mydom-com.mail.protection.outlook.com')dnl
FEATURE(`authinfo',`hash -o /etc/mail/authinfo.db')dnl
Anything else?

What if the Exchange account is set up for two-factor authentication? Will the AuthInfo choke?

Where should the AuthInfo config go? I've seen it set in /etc/mail/access and in /etc/mail/authinfo.db.
 
Old 12-09-2023, 01:43 AM   #2
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,604

Original Poster
Rep: Reputation: 180Reputation: 180
Problem fix another way. See https://www.linuxquestions.org/quest...st-4175731513/
 
  


Reply

Tags
authinfo, exchange, sendmail



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Relay mail back to Exchange if an Exchange mailbox exists in Exchange aalger Linux - Networking 6 03-11-2015 12:25 PM
sendmail authinfo not working fred1234 Linux - Server 5 11-14-2009 02:22 AM
Evolution Exchange detects exchange 5.5 sandbagger Linux - Newbie 1 06-30-2009 06:32 AM
DNS, Email and exchange. - email stays on linux box - should be going to exchange fedder22 Linux - Networking 6 02-03-2009 09:34 AM
LXer: An Exchange for Exchange LXer Syndicated Linux News 0 05-13-2006 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration