[CentOS] sendmail, port 465/587, auth and imap

Jobst Schmalenbach

jobst at barrett.com.au
Wed Feb 23 07:18:28 UTC 2011


Hi.

Apologies to the list for sending this twice as
I forgot to enter a proper subject line, I wanted
to write the content first and then make
up the subject line ;-)

--------------------------------------------------------------------

I am trying to configure sendmail that is looks up the users 
credentials to allow them to send email via that server 
via an imap server on the same machine when sending email 
while on the road.


I can send email when specifying a user that is stored
in the servers /etc/shadow ... no problem but I cannot
get my head around it how to do make saslauth OR sendmail
lookup the user via the imap daemon.


This is the working config (mc) for the sendmail daemon
when using a locally created user (I knock the PLAIN off
once I got it to work):

  define(`confAUTH_MECHANISMS', `LOGIN PLAIN DIGEST-MD5 CRAM-MD5')
  TRUST_AUTH_MECH(`LOGIN PLAIN DIGEST-MD5 CRAM-MD5')
  DAEMON_OPTIONS(`Family=inet, Port=465, Name=MTA-SSL, M=s')
  etc.


How can I make sendmail (or saslauth) to get the user
credentials via an imap server running on the same machine
(the credentials are from an internal samba server) so I
do not need to enter users details twice?



Jobst







-- 
186,262 miles/second :  Not just a good idea, it's the LAW.

  | |0| |   Jobst Schmalenbach, jobst at barrett.com.au, General Manager
  | | |0|   Barrett Consulting Group P/L & The Meditation Room P/L
  |0|0|0|   +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia



More information about the CentOS mailing list