Email notifications - wrong settings with sendmail
we're using redmine now for a few month and it's really great. We have only one problem with the email notifications with one of our customers.
I configured sendmail for the email notifications and firstname.lastname@example.org as adress in the configuration. Works fine for most customers and for us, but it's rejected for one customer.
They send me a part of their logfiles and the email@example.com is the problem, this should be firstname.lastname@example.org
Oct 15 09:12:22 GMT relay.customer.de exim: H=virtualserver.provider.com [127.0.0.1] sender verify fail for <email@example.com>: response to "RCPT TO:<firstname.lastname@example.org>" from virtualserver.provider.com [127.0.0.1] was: 554 5.7.1 <email@example.com>: Recipient address rejected: Access denied Oct 15 09:12:22 GMT relay.customer.de exim: H=virtualserver.provider.com [127.0.0.1] I=[127.0.0.1]:25 F=<firstname.lastname@example.org> rejected RCPT <email@example.com>: Sender verify failed
Can I change that somewhere in the configuration or the code? Or ist this a provider problem?
Thanks for any help
I think this is a problem either with your or their mail server setup.
I contacted our provider about changing the mail server configuration - the problem is: Mail server settings are global, we can't just change the settings for mails send via redmine.
And I found, that there is an option -r for sendmail. That option sets the Return-Path just for the email sent and not for all emails. I tried it with a small php script and it works fine.
So the best way for us would be to add this option to the redmine code. Can anybody tell me where to find the part of the code where the notification emails are sent?
Look for ActionMailer if there is any configuration in rails for that, if not it will require some change in the code rather than in the configuration.