sendmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 08 Jul 2012 18:42:59 +0200, <users-request@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

Date: Sun, 8 Jul 2012 11:02:28 -0500
From: Chris Adams <cmadams@xxxxxxxxxx>
To: users@xxxxxxxxxxxxxxxxxxxxxxx
Subject: Re: sendmail
Message-ID: <20120708160228.GA15900@xxxxxxxxxx>
Content-Type: text/plain; charset=utf-8
Once upon a time, rb <roland@xxxxxx> 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′)
########################################################################

I suppose that if one uses the ESMTP option, one has to install esmtp and configure it as needed. as discribed in : http://www.techrepublic.com/blog/opensource/send-mail-with-esmtp-for-a-simple-single-user-system/232
How do you tell sendmail to use esmtp as the email deliverer?

I dropped that line and used a authinfo file as described above and it worked. Probably is esmtp a simpler way to do it for different users and different domains?



--

Roland Brouwers


C.A.T.







--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
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


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux