Once upon a time, rb <rol...@cat.be> said:
> I'm trying to send email, using sendmail, with authentication port 587 and
> credentials.
> 
> I modified sendmail.mc as follows:
> TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
> define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN
> PLAIN')dnl
> FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl
> 
> DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
> DAEMON_OPTIONS(`Port=587, Name=MSA, M=E')dnl

This makes sendmail listen for incoming connections on ports 25 (smtp)
and 587; it doesn't change the sending port.  By default, it will always
send to port 25.

What you probably want to add are:

########################################################################
dnl Send all outbound mail through this host
define(`SMART_HOST',`[smtp.auth.orange-business.com]')

dnl Use port 587 (instead of 25) when sending mail
define(`RELAY_MAILER_ARGS', `TCP $h 587')
define(`ESMTP_MAILER_ARGS’, `TCP $h 587′)
########################################################################

-- 
Chris Adams <cmad...@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
-- 
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