Re: Unable to send, and certificate error

2015-05-20 Thread cipher
checked comp.mail.mutt and no such thread . can you send me the SMTP config….. 
cause that is all that is not working, IMAP is all good, but no SMTP 

scot


 On May 15, 2015, at 3:11 AM, Andrzej Popielewicz apopi...@amu.edu.pl wrote
 
 Check news group comp.mail.mutt
 
 and the recent thread using mutt to access gmail via imap.
 You will find there working smtp configuration for two imap servers. BTW I 
 use the same configuration for my POPS account.
 
 As far as not match hostname is concerned , I have observed that changing 
 the name of the mail server helps. For example in my case mail.icpnet.pl and 
 mail.inea.pl mean the same server and one produces this message and another 
 not. They change the name of the server but preserve for backward 
 compatibility the old name .
 
 HTH
 Andrzej



Re: Unable to send, and certificate error

2015-05-14 Thread John Niendorf
I am no expert, but is port 25 the correct port?

On 05/14/2015 03:14 PM, cipher wrote:
 cant send email, and when trying to send email get a certificate error
 
 
 [ with these settings ]
 
 set smtp_url = smtp://u...@mail.domain.com:25/
 set ssl_starttls=yes
 
 [ get this ]
 Authenticating (NTLM)...
 SASL authentication failed
 
 
 [ with these setting ]
 set smtp_url = smtp://u...@domain.com@mail.domain.com:25/
 set ssl_starttls=yes
 
 [ get this ]
 Authenticating (NTLM)...
 SASL authentication failed
 
 tried with set ssl_starttls=no
 and same issue
 
 also have certificate issues
 
 [ with these settings ]
 set certificate_file = ~/.mutt/certificate
 
 
 [ get thsi ]
 Certificate host check failed: certificate owner does not match hostname 
 mail.domain.com
 
 -- Mutt: SSL Certificate check (certificate 0 of 0 in chain)
 (r)eject, accept (o)nce, (a)ccept always
 
 i choose (a) and states certificate saved, but always get prompted for it
 i check my certificates file and it has the certificate in there over and 
 over again, certificate file is chmod 600
 
 please help
 


Unable to send, and certificate error

2015-05-14 Thread cipher
cant send email, and when trying to send email get a certificate error


[ with these settings ]

set smtp_url = smtp://u...@mail.domain.com:25/
set ssl_starttls=yes

[ get this ]
Authenticating (NTLM)...
SASL authentication failed


[ with these setting ]
set smtp_url = smtp://u...@domain.com@mail.domain.com:25/
set ssl_starttls=yes

[ get this ]
Authenticating (NTLM)...
SASL authentication failed

tried with set ssl_starttls=no
and same issue

also have certificate issues

[ with these settings ]
set certificate_file = ~/.mutt/certificate


[ get thsi ]
Certificate host check failed: certificate owner does not match hostname 
mail.domain.com

-- Mutt: SSL Certificate check (certificate 0 of 0 in chain)
(r)eject, accept (o)nce, (a)ccept always

i choose (a) and states certificate saved, but always get prompted for it
i check my certificates file and it has the certificate in there over and over 
again, certificate file is chmod 600

please help

Re: Unable to send, and certificate error

2015-05-14 Thread cipher
port 25 is correct, I also have 587 and 465 open on my exchange server, and all 
give the same error


 On May 14, 2015, at 9:52 AM, John Niendorf j...@jfniendorf.org wrote:
 
 I am no expert, but is port 25 the correct port?
 
 On 05/14/2015 03:14 PM, cipher wrote:
 cant send email, and when trying to send email get a certificate error
 
 
 [ with these settings ]
 
 set smtp_url = smtp://u...@mail.domain.com:25/
 set ssl_starttls=yes
 
 [ get this ]
 Authenticating (NTLM)...
 SASL authentication failed
 
 
 [ with these setting ]
 set smtp_url = smtp://u...@domain.com@mail.domain.com:25/
 set ssl_starttls=yes
 
 [ get this ]
 Authenticating (NTLM)...
 SASL authentication failed
 
 tried with set ssl_starttls=no
 and same issue
 
 also have certificate issues
 
 [ with these settings ]
 set certificate_file = ~/.mutt/certificate
 
 
 [ get thsi ]
 Certificate host check failed: certificate owner does not match hostname 
 mail.domain.com
 
 -- Mutt: SSL Certificate check (certificate 0 of 0 in chain)
 (r)eject, accept (o)nce, (a)ccept always
 
 i choose (a) and states certificate saved, but always get prompted for it
 i check my certificates file and it has the certificate in there over and 
 over again, certificate file is chmod 600
 
 please help
 



Re: Unable to send, and certificate error

2015-05-14 Thread John Niendorf

On Thu, May 14, 2015 at 10:20:06AM -0400, cipher wrote:

port 25 is correct, I also have 587 and 465 open on my exchange server, and all 
give the same error



On May 14, 2015, at 9:52 AM, John Niendorf j...@jfniendorf.org wrote:

I am no expert, but is port 25 the correct port?



set smtp_url = smtp://u...@mail.domain.com:25/
set ssl_starttls=yes


Not to beat a dead horse, but when you say that both ports 587 and 465 are 
open on the exchange server and you get the same error, does that mean that 
you tried with ports 465 and 587 in your .mutrc file, that is where you now 
have 25, you had 465 and got the same error and also tried with 587 and got 
the same error? Or does that simply mean that the ports are open on the 
server, but you still tried to connect to them via port 25?


I *think* in the case of an Exchange server, the server admin has to enable 
IMAP for a user to be able to use Mutt to read their email.  


In any case, here is how the smtp_url is in my .muttrc file:

set smtp_url=smtps://u...@server.com/465
--
John