Project

General

Profile

Email notification problem

Added by puce muse about 14 years ago

hi,

i'm trying to get email notifications to work. i'vesearch google, the forums, the faq, the wiki, but no success...

i've a local server and the email.yml looks like this :

production:
delivery_method: :smtp
smtp_settings:
address: localhost
port: 25

i've installed postfix and i'm able to send mails using "netcat localhost 25" and typing some smtp commands...
so the smtp seems ok.

but i get the error : "...(getaddrinfo: Name or service not known)".

i've enable email logging in my production environment, when i try to send a test mail from my administration panel in redmine, logs contain "Mail sent to ".
no error in logs.

i only have the getaddrinfo error in the webpage.

i have the same error if i try to use the sendmail command (in email.yml)

i've tried changing the permissions for /etc/hosts and /etc/resolv.conf

no success.

i need some help at this point.

thanks in advance.

guillaume


Replies (1)

RE: Email notification problem - Added by puce muse about 14 years ago

forget about it...

i copied email.yml.example as email.yml, edited it, but i didn't see that at the end of the file, an example was uncommented.

so i could have modified the beginning of the file for a long time without it worked...

bye

g

    (1-1/1)