Email notifications - wrong settings with sendmail

Added by Klaus Friese over 9 years ago

Hi,

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 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 is the problem, this should be

Oct 15 09:12:22 GMT relay.customer.de exim: H=virtualserver.provider.com [127.0.0.1]  sender verify fail for <anonymous@virtualserver.provider.com>: response to "RCPT TO:<anonymous@virtualserver.provider.com>" from virtualserver.provider.com [127.0.0.1] was: 554 5.7.1 <anonymous@virtualserver.provider.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=<anonymous@virtualserver.provider.com> rejected RCPT <client@customer.de>: Sender verify failed

Can I change that somewhere in the configuration or the code? Or ist this a provider problem?

Thanks for any help
Klaus

Replies (3)

RE: Email notifications - wrong settings with sendmail - Added by Felix Schäfer over 9 years ago

I think this is a problem either with your or their mail server setup.

RE: Email notifications - wrong settings with sendmail - Added by Klaus Friese over 9 years ago

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?

RE: Email notifications - wrong settings with sendmail - Added by Felix Schäfer over 9 years ago

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.

(1-3/3)