Project

General

Profile

Redmine mail

Added by Erik Flodin over 11 years ago

Hi all,

I'm currently having issues with getting redmine to send emails.

I have these settings in configuration.yml
default:
email_delivery:
delivery_method: :sendmail

And i can send testmail, which gets me: "An email was sent to "

Nothing shows up in the redmine log nor does it show in my /var/log/maillog either.
I have set up sendmail in what i can see a correct way, i can manually send emails.

Any pointers or suggestions?

configuration.yml:
default:
attachments_storage_path: /home/redmine-2.1.0/
attachments_storage_path:
autologin_cookie_name:
autologin_cookie_path:
autologin_cookie_secure:
scm_subversion_command:
scm_mercurial_command:
scm_git_command:
scm_cvs_command:
scm_bazaar_command:
scm_darcs_command:
database_cipher_key:
email_delivery:
delivery_method: :sendmail

Thanks in advance,
Erik


Replies (3)

RE: Redmine mail - Added by Jan Niggemann (redmine.org team member) over 11 years ago

Please post your configuration.yml, do you have a RAILS_ENV "default" configured?

RE: Redmine mail - Added by Erik Flodin over 11 years ago

Updated with my configuration.yml. And no, i don't.
But as i understand, default is configured as default options for alla envs.

I have production env configured. But if i add:

production:
email_delivery
email_delivery_method: :sendmail

it gives me nothing, i cannot test-send mail from the application or anything.

Cheers

RE: Redmine mail - Added by Erik Flodin over 11 years ago

Solved it.

It was SELinux that stopped this from happening.

Thanks anyway.

    (1-3/3)