RE: Setting up Sendmail - answers at last

Actions

From Rean van der Merwe Oct 31, 2007 2:15 AM

apologies for earlier half mail, gremlin in my mail client - full solution
below:


After spending days scratching through Sendmail configuration, I finally
have an answer that works on my system (sendmail 8.13.1). Passing on what I
did in teh event that it is useful to anyone.
 
----------------------------------
Issue 1:  
In the Subetha instructions, it says to add Subetha with port number to
mailertable.
First issue - sendmail does not read mailertable if the domain you are
trying to relay mail for is entered in the sendmail "local-host-names" file.

 
Solution: 
remove domain name from the file

----------------------------------
 
Issue 2: 
Sendmail now begins routing mail, but complains of a local mailloop - it
sees the relay to 127.0.0.1 as a loop back to itself.
 
Solution found here:
http://bug.sakaiproject.org/confluence/display/ENC/Sendmail+integration
 
a.) in mailertable, change the instruction to
my.host.com     smtpse:[127.0.0.1]
 
b.) and now in sendmail.mc define the new MAILER - add the following:
MAILER_DEFINITIONS
Msmtpse,         P=[IPC], F=mDFMuXak, S=EnvFromSMTP/HdrFromSMTP,
R=EnvToSMTP, E=\r\n, L=990,
                T=DNS/RFC822/SMTP,
                A=TCP $h 2505
 
note: I run subetha SMTP on port 2505 - in your case it may be 2500
 
c.) in /etc/mail run "make" and then restart sendmail

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

Issue 3:
Following first two steps, I get an error in sendmail logs - TLS Handshake
fails

Solution
Part of the TLS process can fortunately be disabled in the access file, add:
Try_TLS:127.0.0.1 NO
 
Again, recompile the map and restart.

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

I now have mail coming in to Subetha - have yet to fully test.

Regards
Rean


Thread History