Redmine Email

Added by shuang guo 4 months ago

Recently our team hope redmine email can work (Redmine 3.4)
So I modify the configuration.yml


email_delivery:
delivery_method: :smtp
smtp_settings:
address: smail.sys.toshiba.co.jp
port: 25
domain: toshiba.com.cn
authentication: :none
------------------------------------------------------------

I am not sure if there is any problem in this setting profile
If I use smtp,I will get error:SMTP-AUTH requested but missing secret phrase
If I use async_smtp,I can get the successful message,but in fact, I cannnot receive any letters
Please anyone can help me

------------------------------------------------------------
In other way,I can make sure the email server can work well
But I don't know why I got this
550 5.7.1 <email address>... Relaying denied From or IP adrress

Replies (6)

RE: Redmine Email - Added by Go MAEDA 4 months ago

Can you see any email related error messages in log/production.log file?

RE: Redmine Email - Added by shuang guo 4 months ago

Thankyou for answering this letter
it seems nothing wrong with my email,but something is wrong with SCM

Started POST "/redmine/admin/test_email" for 127.0.0.1 at 2018-07-10 12:27:32 +0800
Processing by AdminController#test_email as HTML
  Parameters: {"authenticity_token"=>"f8MxdrAwYEHKL9XDTiZF3Pq/Q7Lc41jgcPnT53uykw5b4BY7F2vhE6dAabNvRd7bjyXRC7/P2VsJMhkbB5VJrQ=="}
  Current user: guoshuang (id=36)
  Rendered mailer/test_email.text.erb within layouts/mailer (0.0ms)
Redirected to http://10.84.62.29:8081/redmine/settings?tab=notifications
Completed 302 Found in 93ms (ActiveRecord: 75.8ms)
Started GET "/redmine/settings?tab=notifications" for 127.0.0.1 at 2018-07-10 12:27:32 +0800
Processing by SettingsController#index as HTML
  Parameters: {"tab"=>"notifications"}
  Current user: guoshuang (id=36)
  Rendered settings/_general.html.erb (0.0ms)
  Rendered settings/_display.html.erb (0.0ms)
  Rendered settings/_authentication.html.erb (31.2ms)
  Rendered settings/_api.html.erb (0.0ms)
  Rendered settings/_projects.html.erb (0.0ms)
  Rendered queries/_columns.html.erb (0.0ms)
  Rendered settings/_issues.html.erb (15.6ms)
  Rendered settings/_timelog.html.erb (15.6ms)
  Rendered settings/_attachments.html.erb (0.0ms)
  Rendered settings/_notifications.html.erb (0.0ms)
  Rendered settings/_mail_handler.html.erb (0.0ms)
SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (D:\Redmine\imagemagick;D:\Redmine/DevKit\bin;D:\Redmine/ruby\bin;D:\Redmine/git\bin;D:/Redmine/ruby/lib/ruby/gems/2.3.0/bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\x64\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\TortoiseSVN\bin;D:\Git\cmd;D:\Git\bin;C:\Program Files (x86)\Common Files\Thunder Network\KanKan\Codecs;C:\Python27; C:\Python27\Scripts;C:\Program Files (x86)\Google\Chrome\Application;D:\JAVA/bin;D:\JAVA/jre/bin;C:\Program Files\doxygen\bin;C:\Users\guoshuang\AppData\Local\Google\Chrome\Application;C:\Program Files\nodejs\;D:\Redmine\ruby\bin)
You can configure your scm commands in config/configuration.yml.
"darcs" --version
with: No such file or directory - "darcs" --version
scm: error during get scm available: No such file or directory - "darcs" --version
SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (D:\Redmine\imagemagick;D:\Redmine/DevKit\bin;D:\Redmine/ruby\bin;D:\Redmine/git\bin;D:/Redmine/ruby/lib/ruby/gems/2.3.0/bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\x64\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\TortoiseSVN\bin;D:\Git\cmd;D:\Git\bin;C:\Program Files (x86)\Common Files\Thunder Network\KanKan\Codecs;C:\Python27; C:\Python27\Scripts;C:\Program Files (x86)\Google\Chrome\Application;D:\JAVA/bin;D:\JAVA/jre/bin;C:\Program Files\doxygen\bin;C:\Users\guoshuang\AppData\Local\Google\Chrome\Application;C:\Program Files\nodejs\;D:\Redmine\ruby\bin)
You can configure your scm commands in config/configuration.yml.
"darcs" --version
with: No such file or directory - "darcs" --version
scm: error during get version string: No such file or directory - "darcs" --version
SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (D:\Redmine\imagemagick;D:\Redmine/DevKit\bin;D:\Redmine/ruby\bin;D:\Redmine/git\bin;D:/Redmine/ruby/lib/ruby/gems/2.3.0/bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\x64\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\TortoiseSVN\bin;D:\Git\cmd;D:\Git\bin;C:\Program Files (x86)\Common Files\Thunder Network\KanKan\Codecs;C:\Python27; C:\Python27\Scripts;C:\Program Files (x86)\Google\Chrome\Application;D:\JAVA/bin;D:\JAVA/jre/bin;C:\Program Files\doxygen\bin;C:\Users\guoshuang\AppData\Local\Google\Chrome\Application;C:\Program Files\nodejs\;D:\Redmine\ruby\bin)
You can configure your scm commands in config/configuration.yml.
"hg" --version
with: No such file or directory - "hg" --version
scm: error during get scm available: No such file or directory - "hg" --version
SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (D:\Redmine\imagemagick;D:\Redmine/DevKit\bin;D:\Redmine/ruby\bin;D:\Redmine/git\bin;D:/Redmine/ruby/lib/ruby/gems/2.3.0/bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\x64\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\TortoiseSVN\bin;D:\Git\cmd;D:\Git\bin;C:\Program Files (x86)\Common Files\Thunder Network\KanKan\Codecs;C:\Python27; C:\Python27\Scripts;C:\Program Files (x86)\Google\Chrome\Application;D:\JAVA/bin;D:\JAVA/jre/bin;C:\Program Files\doxygen\bin;C:\Users\guoshuang\AppData\Local\Google\Chrome\Application;C:\Program Files\nodejs\;D:\Redmine\ruby\bin)
You can configure your scm commands in config/configuration.yml.
"hg" --version
with: No such file or directory - "hg" --version
scm: error during get version string: No such file or directory - "hg" --version
SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (D:\Redmine\imagemagick;D:\Redmine/DevKit\bin;D:\Redmine/ruby\bin;D:\Redmine/git\bin;D:/Redmine/ruby/lib/ruby/gems/2.3.0/bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\x64\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\TortoiseSVN\bin;D:\Git\cmd;D:\Git\bin;C:\Program Files (x86)\Common Files\Thunder Network\KanKan\Codecs;C:\Python27; C:\Python27\Scripts;C:\Program Files (x86)\Google\Chrome\Application;D:\JAVA/bin;D:\JAVA/jre/bin;C:\Program Files\doxygen\bin;C:\Users\guoshuang\AppData\Local\Google\Chrome\Application;C:\Program Files\nodejs\;D:\Redmine\ruby\bin)
You can configure your scm commands in config/configuration.yml.
"cvs" --version
with: No such file or directory - "cvs" --version
scm: error during get scm available: No such file or directory - "cvs" --version
SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (D:\Redmine\imagemagick;D:\Redmine/DevKit\bin;D:\Redmine/ruby\bin;D:\Redmine/git\bin;D:/Redmine/ruby/lib/ruby/gems/2.3.0/bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\x64\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\TortoiseSVN\bin;D:\Git\cmd;D:\Git\bin;C:\Program Files (x86)\Common Files\Thunder Network\KanKan\Codecs;C:\Python27; C:\Python27\Scripts;C:\Program Files (x86)\Google\Chrome\Application;D:\JAVA/bin;D:\JAVA/jre/bin;C:\Program Files\doxygen\bin;C:\Users\guoshuang\AppData\Local\Google\Chrome\Application;C:\Program Files\nodejs\;D:\Redmine\ruby\bin)
You can configure your scm commands in config/configuration.yml.
"cvs" --version
with: No such file or directory - "cvs" --version
scm: error during get version string: No such file or directory - "cvs" --version
SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (D:\Redmine\imagemagick;D:\Redmine/DevKit\bin;D:\Redmine/ruby\bin;D:\Redmine/git\bin;D:/Redmine/ruby/lib/ruby/gems/2.3.0/bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\x64\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\TortoiseSVN\bin;D:\Git\cmd;D:\Git\bin;C:\Program Files (x86)\Common Files\Thunder Network\KanKan\Codecs;C:\Python27; C:\Python27\Scripts;C:\Program Files (x86)\Google\Chrome\Application;D:\JAVA/bin;D:\JAVA/jre/bin;C:\Program Files\doxygen\bin;C:\Users\guoshuang\AppData\Local\Google\Chrome\Application;C:\Program Files\nodejs\;D:\Redmine\ruby\bin)
You can configure your scm commands in config/configuration.yml.
"bzr" --version
with: No such file or directory - "bzr" --version
scm: error during get scm available: No such file or directory - "bzr" --version
SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (D:\Redmine\imagemagick;D:\Redmine/DevKit\bin;D:\Redmine/ruby\bin;D:\Redmine/git\bin;D:/Redmine/ruby/lib/ruby/gems/2.3.0/bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\x64\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\TortoiseSVN\bin;D:\Git\cmd;D:\Git\bin;C:\Program Files (x86)\Common Files\Thunder Network\KanKan\Codecs;C:\Python27; C:\Python27\Scripts;C:\Program Files (x86)\Google\Chrome\Application;D:\JAVA/bin;D:\JAVA/jre/bin;C:\Program Files\doxygen\bin;C:\Users\guoshuang\AppData\Local\Google\Chrome\Application;C:\Program Files\nodejs\;D:\Redmine\ruby\bin)
You can configure your scm commands in config/configuration.yml.
"bzr" --version
with: No such file or directory - "bzr" --version
scm: error during get version string: No such file or directory - "bzr" --version
  Rendered settings/_repositories.html.erb (78.0ms)
  Rendered common/_tabs.html.erb (156.0ms)
  Rendered settings/edit.html.erb within layouts/admin (156.0ms)
  Rendered admin/_menu.html.erb (0.0ms)
  Rendered layouts/base.html.erb (15.6ms)
Completed 200 OK in 220ms (Views: 168.9ms | ActiveRecord: 48.8ms)

RE: Redmine Email - Added by StevenQingsong Hu 3 months ago

Hi, I have the same problem.Is it resolved?

RE: Redmine Email - Added by shuang guo 3 months ago

I don't know the problem.but my email works well now
I am not sure whether your config file has broken
sometimes the space can make it unwork
finely,this is my config file
email_delivery:
delivery_method: :async_smtp
async_smtp_settings:
address: smail.sys.test.co.jp
port: 25
domain: test.com.cn
authentication: :login
user_name:
password:

****************************************
and setting on redmine is:

RE: Redmine Email - Added by StevenQingsong Hu 3 months ago

Thank you.
My email can work. The config is:
email_delivery:

delivery_method: :smtp
smtp_settings:

address: mailrelay-sha.cn.xxx.xxx.com
port: 25
authentication: :none
openssl_verify_mode: 'none'

Maybe too much space and wrong indentation format is the cause.I'm not very sure.

RE: Redmine Email - Added by Andrey Sergeev 3 months ago

to StevenQingsong Hu: good day!
for incoming emails to work you edited the configuration.yml, right?
or another manipulations were made? Thanks in advance.

(1-6/6)