sendmail



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


Relevant Pages

  • Re: sendmail
    ... don't think there is a way to tell sendmail to use port 587 to connect to a remote ... I had to set sendmail up to use my hosting company as a smarthost because I needed to use it to update linuxcounter.org and my ISP blocks outbound port 25. ... To unsubscribe or change subscription options: ...
    (Fedora)
  • Re: Port 2525 Test sendmail
    ... force the test mail to use port 2525. ... I think your question has two parts; how to get your local sendmail ... I suspect you have simply set your daemon port option to listen to ... then you will have to create a custom mailer. ...
    (comp.mail.sendmail)
  • Re: Newb questions
    ... > times, configured cvsup, used port upgrade and all the rest. ... > it's easy to get lost in the documentation and still not figure it out. ... entries in /etc/make.conf so the port version doesn't get clobbered. ... getting Sendmail usable can be a short cut to getting over the initial setup ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Port 2525 Test sendmail
    ... force the test mail to use port 2525. ... I think your question has two parts; how to get your local sendmail ... I suspect you have simply set your daemon port option to listen to ... then you will have to create a custom mailer. ...
    (comp.mail.sendmail)
  • Re: daemon MTA-IPv4: Problem creating SMTP socket?
    ... So whatever is squatting your machine's port 25 hasn't been found ... The netstat command doesn't list processes, ... For this round, however, whe know there is a sendmail process and ...
    (comp.mail.sendmail)