Issue creation by email does not work, please help
Added by Bijit Bhattacharjee almost 12 years ago
I am trying to implement Ticket creation/updation by email feature of Redmine. But, following is the error message I encounter everytime I try send a mail from the system.
Redmine (redmine-1.4.0) and Sendmail are installed on the same CentOS-6 system.
Excerpt from the /var/log/maillog
*************************************
attempt to use “rdm-mailhandler.rb –url http://xxx.xx.xx.xxx:3000 –tracker bug –priority normal –allow-override project,tracker,category,priority,status –key yTWCzFo0q8FCjCWySAQ3″ (stat failed)
Oct 16 17:32:02 CentOS-6 sendmail3885: q9GC21dC003883: to=”|/etc/mail/rdm-mailhandler.rb –url http://xxx.xx.xx.xxx:3000 –tracker bug –priority normal –allow-override project,tracker,category,priority,status –key yTWCzFo0q8FCjCWySAQ3″, ctladdr= (8/0), delay=00:00:01, xdelay=00:00:00, mailer=prog, pri=30853, dsn=5.0.0, stat=Service unavailable
Oct 16 17:32:02 CentOS-6 sendmail3885: q9GC21dC003883: q9GC22dC003885: DSN: Service unavailable
I copied the /var/www/html/redmine/extra/mail_handler/rdm-mailhandler.rb under /etc/mail/. But, even if I use the “/var/www/html/redmine/extra/mail_handler/rdm-mailhandler.rb” I get the same error.
Apart from this receiving mails for ticket creation etc., the redmine (redmine-1.4.0) which I have installed on CentOS-6 system works fine. I am using Sendmail as MTA and both redmine and sendmail are installed on the same system.
I did not make any changes in the sendmail configuration apart from removing the loopback address line. I do not have any DNS server configured on that system, I only need to test how ticket can be created in redmine upon receiving emails.
My /etc/alias entries are as below (which you can see, I have tried different ways to make it work without any success so far)
- redmine: “|/etc/mail/rdm-mailhandler.rb –url http://xxx.xx.xx.xxx:3000 –key yTWCzFo0q8FCjCWySAQ3 –project Infrastructure”
redmine: “|/etc/mail/rdm-mailhandler.rb –url http://xxx.xx.xx.xxx:3000 –tracker bug –priority normal –allow-override project,tracker,category,priority,status –key yTWCzFo0q8FCjCWySAQ3″
- redmine: “|/var/www/html/redmine/extra/mail_handler/rdm-mailhandler.rb –url http://xxx.xx.xx.xxx:3000 –project Infrastructure –key yTWCzFo0q8FCjCWySAQ3″
If you need any more information on the setup please do let me know.
Could anyone please help me know what am I missing ?
Thanks,
-tuxb