Re: [exim] TLS question

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Chris Wilson
Datum:  
To: Eric A. Boney
CC: exim-users
Neue Treads: Re: [exim] TLS question [SOLVED]
Betreff: Re: [exim] TLS question
Hi Eric,

On Tue, 2 Feb 2010, Eric A. Boney wrote:

> I am trying to send email from my server using a Ruby Rails application.
> The application uses ActionMailer to send out an authentication email.
> Even though the method is supposed to support TLS I am getting issues on
> my server that is rejecting the email.
>
> So I am wondering if there is a way to not require TLS for a specific
> host? I have tried using host_avoid_tls = my.localhost.com in my
> transport but it still seems to deny the connection for my host.


Not requiring TLS is not the same as not allowing it. Even if you don't
require it, Rails' ActionMailer will use it if it's offered. The easiest
way to fix it is to disable that behaviour in the rails application by
adding the following to config/environment.rb:

ActionMailer::Base.smtp_settings = {
:domain => "my.host.name",
:enable_starttls_auto => false
}

> I know the hostname and the ip address of the specific machine that will
> be attempting to send the email. Is there anyway possible to make exim
> accept it without using TLS?


Of course, you must accept email without TLS as well, but that is the
default, so if you've changed it then you must know how you did so, to be
able to undo it.

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |