Project

General

Profile

error while sending mails (computer with proxy)

Added by Danila M. about 10 years ago

Hi!
I'm having trouble trying to send mails in a computer (with internet access via proxy server) connected to my domain, using a mail belonging to this.
The error is always the same: 'unknown host'.
But in a computer outside the domain it works perfectly.
My succesful configuration (without proxy) looks like:

default:
email_delivery:
delivery_method: :smtp
smtp_settings:
openssl_verify_mode: none # i need this
address: smtp.midominio.org
port: 25
domain: smtp.midominio.org
authentication: :login
user_name:
password: pass

I have a local installation of Redmine in both computers.
Is there any line of configuration missing? or I have to modify other files related to the proxy to make it work inside the domain?
I've been investigating but I couldn't find a solution.. I would appreciate your help.
- Please forgive my english, I'm from Argentina :)


Replies (2)

RE: error while sending mails (computer with proxy) - Added by Martin Denizet (redmine.org team member) about 10 years ago

Hello Danila,
It looks like a DNS problem. Check your DNS.
If you're not able to fix them, you try hard-code the address of the server in /etc/hosts such as:

1.1.1.1 smtp.midominio.org

Where 1.1.1.1 is the IP address of smtp.midominio.org
Cheers,

    (1-2/2)