I am trying to determine if SSL is actually available for our installation
of SendMail. This is my first exposure to SendMail and really my first in
depth exposure to running anything in Linux. I checked the M4 Configuration
and I see:
define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl
I seems that the cert info is there, although it does say "Login Plain",
maybe that is to be expected. I tried just going to the https email path
with no luck as well as trying to go to port 10000 which seems like a
default used from what I have seen on the net. Is there somewhere inside
the config I can look to see if it really is active and what port it is
--- news://freenews.netfront.net/ - complaints: email@example.com ---
||1/26/2010 1:48:19 PM
On 2010-01-26, Greg Hart <firstname.lastname@example.org> wrote:
> I seems that the cert info is there, although it does say "Login Plain",
> maybe that is to be expected. I tried just going to the https email path
> with no luck as well as trying to go to port 10000 which seems like a
> default used from what I have seen on the net. Is there somewhere inside
> the config I can look to see if it really is active and what port it is
default smtps's port isn't the port number 10000. If I don't know
the default service's port I give a look at /etc/services file.
% grep smtps /etc/services
urd 465/tcp smtps ssmtp # URL Rendesvous Directory for SSM / smtp protocol over TLS/SSL
igmpv3lite 465/udp smtps ssmtp # IGMP over UDP for SSM
If sendmail is running in daemon mode (*sendmail -bd*) you can always
check host's open port by using netstat -lp.
Sendmail lets you change default ports with these config
define(`SMTP_MAILER_ARGS', `TCP $h yyy')
define(`ESMTP_MAILER_ARGS', `TCP $h xxx')
where yyy is the port for smtp (default 25)
where xxx is the port for smtps (default 465)
I suggest you to give a look at sendmail's documentation.
SMTP_MAILER_ARGS [TCP $h] The arguments passed to the smtp mailer.
About the only reason you would want to change this
would be to change the default port.
ESMTP_MAILER_ARGS [TCP $h] The arguments passed to the esmtp mailer
I apologize for my bad english and for everything wrong I told.
Linux is only free if your time has no value
1/26/2010 10:33:16 PM
Greg Hart wrote:
> define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl
> define(`CERT_DIR', `/etc/mail/certs`'certs')dnl
> define(`confCACERT_PATH', `CERT_DIR')dnl
> define(`confCACERT', `CERT_DIR/cacert.pem')dnl
> define(`confSERVER_CERT', `CERT_DIR/cert.pem')dnl
> define(`confSERVER_KEY', `CERT_DIR/key.pem')dnl
> define(`confCLIENT_CERT', `CERT_DIR/cert.pem')dnl
> define(`confCLIENT_KEY', `CERT_DIR/key.pem')dnl
The overall sendmail doc about SSL/TLS is here:
See the "Initial Test" section:
" Start the sendmail daemon, connect to it and see whether it comes up
in the EHLO response:
% telnet localhost 25
Connected to localhost
Escape character is '^]'.
220 local.sendmail.org ESMTP Sendmail Sendmail 8.12.0/8.12.0; Sun, 30
Sep 2001 10:47:28 -0700 (PDT)
250-local.sendmail.org Hello localhost [127.0.0.1], pleased to meet
Note, for STARTTLS you should use the default ports, 25 (smtp) or 587
For SMTP-over-SSL there is an obsoleted port 465 (symbolic: ssmtp or
You probably have:
DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp')dnl
DAEMON_OPTIONS(`Family=inet, Name=MTA-v4ssl, Port=ssmtp, M=s')dnl
DAEMON_OPTIONS(`Family=inet, Name=MSP-v4, Port=submission, M=Ea')dnl
they define the ports and, via the M= flags, the options that sendmail
accepts. The flags are documented in the op.me guide.
To test if SSL is working:
If you have ssmtp:
openssl s_client -connect localhost:465 -showcerts -msg -state
gnutls-cli -p 25 --starttls localhost
1/27/2010 8:53:51 AM
(page loaded in 0.072 seconds)
Example of Javamail with SMTP and POP3 on SSL - comp.lang.java ...
I need to send and receive E-Mail with POP3 and SMTP running on SSL. I need to use authorization and alternate port numbers. It should be simple, but I don't seem to ...
TLS negotiation - comp.mail.misc
I amtrying to send a mail through gmail using telnet to smtp.gmail.com. I follow RFC ... 25 -starttls smtp > > But I get: > CONNECTED(00000003) > 3592:error:140770FC:SSL ...
Sendmail not sending mails immediately - comp.unix.solaris ...
Sendmail SMTP Host Name - comp.unix.solaris But sendmail does not send mail out to my ISP for some reason, I keep ... ... Server Fault I haven't made any changes to ...
unexpected sendmail error?? - comp.soft-sys.matlab
javax.net.ssl.SSLException: Unrecognized SSL message - comp.lang ... Send Mail SSL - comp.mail.sendmail javax.net.ssl ... main, SEND TLSv1 ALERT: fatal, description ...
can no longer send mail through my netbsd firewall - comp.unix.bsd ...
... Secure(SSL): No, Error Number: 0x800CCC0F > > > >Note that if connect my mail box straight to the internet, i.e., > >bypass my netbsd box, I can send ... longer send mail I ...
TWS and Unix FTP - comp.sys.hp.hpux
sendmail via smtp auth - comp.sys.hp.hpux Send Mail SSL - comp.mail.sendmail TWS and Unix FTP - comp.sys.hp.hpux sendmail via smtp auth - comp.sys.hp.hpux Send Mail SSL ...
Block tcp/25 Services (telnet host 25) - comp.unix.solaris ...
Send Mail SSL - comp.mail.sendmail #v+ % grep smtps /etc/services urd 465/tcp smtps ... in the EHLO response: % telnet localhost 25 Trying 127 ...
Problem with SENDMAIL using gmail at work. - comp.soft-sys.matlab ...
'javax.net.ssl.SSLSocketFactory'); props.setProperty('mail.smtp.socketFactory ... problem sending mail: Sending the email to the following server ... Problems sending mail ...
Evolution and Hotmail - comp.mail.misc
Using Evolution 2.28.3 on Ubuntu 10.04.1, I'm able to connect to the POP server and download messages at pop3.live.com:995 using SSL, but am unable to send messages ...
Still problem with Sendmail! - comp.unix.solaris
... using SMART_HOST with multiple auth info - comp.mail.sendmail ..... server on port 465 (with SSL) and port 587 (with TLS), but are still having trouble sending mail ...
How do I send an email over SSL? - System.Net.Mail, OH MY!
Sending an email over Ssl is really simply with System.Net.Mail. In fact, all you need to do is set the .EnableSsl property on the SmtpClient property to true.
Send mail message with SSL + Authentication7/24/2012 12:03:14 PM
Hello, I'm testing a small app that needs to send emails using an SMTP server which requires SSL + Username and Password Authentication on port 465. I've ...