[CentOS] Sendmail

Sat Nov 5 23:24:03 UTC 2005
Sam Drinkard <sam at wa4phy.net>

Alexander Dalloz wrote:

>Am So, den 06.11.2005 schrieb Sam Drinkard um 0:06:
>
>  
>
>>dnl # DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
>>dnl #
>>dnl # The following causes sendmail to additionally listen to port 587
>>for
>>dnl # mail from MUAs that authenticate. Roaming users who can't reach
>>their
>>dnl # preferred sendmail daemon due to port 25 being blocked or
>>redirected find
>>dnl # this useful.
>>dnl #
>>DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl
>>    
>>
>
>As you did set this
>
>  
>
>>dnl #
>>dnl # The following causes sendmail to additionally listen to port
>>465, but
>>dnl # starting immediately in TLS mode upon connecting. Port 25 or 587
>>followed
>>dnl # by STARTTLS is preferred, but roaming clients using Outlook
>>Express can't
>>dnl # do STARTTLS on ports other than 25. Mozilla Mail can ONLY use
>>STARTTLS
>>dnl # and doesn't support the deprecated smtps; Evolution <1.1.1 uses
>>smtps
>>dnl # when SSL is enabled-- STARTTLS support is available in version
>>1.1.1.
>>dnl #
>>dnl # For this to work your OpenSSL certificates must be configured.
>>dnl #
>>DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl
>>    
>>
>
>... and that
>
>  
>
>>dnl #
>>dnl # The following causes sendmail to additionally listen on the IPv6
>>loopback
>>dnl # device. Remove the loopback address restriction listen to the
>>network.
>>dnl #
>>dnl DAEMON_OPTIONS(`port=smtp,Addr=::1, Name=MTA-v6, Family=inet6')dnl
>>dnl #
>>dnl # enable both ipv6 and ipv4 in sendmail:
>>dnl #
>>dnl DAEMON_OPTIONS(`Name=MTA-v4, Family=inet, Name=MTA-v6,
>>Family=inet6')
>>    
>>
>
>you must instruct the MTA part too by DAEMON_OPTIONS. Either
>
>DAEMON_OPTIONS(`Port=smtp,Name=MTA')dnl
>
>or
>
>DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
>DAEMON_OPTIONS(`Port=smtp,Addr=<public IP>, Name=MTA')dnl
>
>Alexander
>
>
>  
>
>------------------------------------------------------------------------
>
I just now tried that and it turned on port 25.  I was looking at that, 
but did not want IPv6 support, so didn't enable it.  That really should 
be documented somewhere in the docs.. AFIK, I sure didn't find it, and I 
spent a good bit of time reading thru anything dealing with sysadmin.  
It's rather misleading having the V6 option.  Things change from one 
version of sendmail to the other.. never had this kind of problem with 
all my BSD systems, and prior Linux installs..  Guess I just need to get 
up to speed!

Thanks...

Sam

-- 
Snowman