Awesome!  The stunnel trick works!

1) I set up /etc/stunnel/stunnel.conf as in the Fedora Wiki example (I used 
port 25025).

2) I then ran "stunnel" from root.
    [I'll have to put that in rc.local before I reboot.]

3) In sendmail.mc, I used:
define(`SMART_HOST', `relay:[localhost]')
define(`RELAY_MAILER', `smtps')
define(`RELAY_MAILER_ARGS', 'tcp $h 25025')

4) Changed my /etc/mail/authinfo file to remove the hostname after AuthInfo:

5) ran make in /etc/mail
   (this should remake both authinfo.db and sendmail.cf)

6) restarted sendmail

And my first test email got delivered to my ISP address!

Thanks to all for the info.

--
Kevin J. Cummings
kjch...@verizon.net
cummi...@kjchome.homeip.net
cummi...@kjc386.framingham.ma.us
Registered Linux User #1232
(http://www.linuxcounter.net/)


On Mar 5, 2013, at 23:22, "Kevin J. Cummings" <cummi...@kjchome.homeip.net> 
wrote:

> On 03/05/2013 05:45 PM, Robert Nichols wrote:
>> 
>> The simple answer is that sendmail can't do that by itself as it has no
>> support for client-side SSL. You need to use a program such as _stunnel_
>> to provide the encryption wrapper. Here is a fedoraproject wiki posting
>> that describes the basics:
>> 
>>  https://fedoraproject.org/wiki/Configure_sendmail_as_a_client_for_SMTPs
> 
> Yeah, I read that.  It looks like a start.  I already have stunnel
> installed (for what I can't remember, I thought it was my IPv6 tunnel,
> but I'm no longer sure), and I have no stunnel process running atm.
> 
>> That's basically what I had running back in 2007 when Comcast didn't
>> allow global access to port 587. I'd post the whole setup that I used,
>> but my old sysVinit script for starting an stunnel service wouldn't be
>> worth much these days
> 
> Try me, my mail server is still running F14....
> 
> -- 
> Kevin J. Cummings
> kjch...@verizon.net
> cummi...@kjchome.homeip.net
> cummi...@kjc386.framingham.ma.us
> Registered Linux User #1232 (http://www.linuxcounter.net/)
> -- 
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to