By larsmw on
The sending e-mail from my drupal installation is wrong so it gets (rightliy) rejected by my exim4 server.
When i register a new user the email that should get to the new user gets the sending adress 'myapacheuser@empty' and since this is not a valid adress it gets rejected by Exim4.
I have tried setting the sending emailadress in settings.php like this :
ini_set('sendmail_from', 'lars@lfweb.dk');
But it does not change the adress. Likewise under /admin/settings/general my email is set propperly.
What am I getting wrong??? :-)
drupal version : 6.19
Mysql 5.x
Comments
Sounds like a "feature" of
Sounds like a "feature" of your Apache/PHP installation. Seems that the from address that Drupal tries to set (the one you define in admin/settings...) is being overwritten somewhere. Suggest you speak to your host or try smtp module.
[update] another common problem is that the return-path gets set to a generic server address... this can be fixed using return path module, but probably won't help you in this situation.
gpk
----
www.alexoria.co.uk
hmm.. yes it could seem like
hmm.. yes it could seem like you are right! :-s .... Im hosting on my own server so happy hunting to me! :-)
/Lars Nielsen
I solved it now temporarily
I solved it now temporarily by "hacking" exim to change the sender address. But it would be nice to be able to easily change the sending address...
/Lars Nielsen