I have drupal 4.3.2 on gentoo linux, and have a few post setup queries. By and large most stuff I seem to have sussed, but a few things have me stumped.

1. when drupal sends out the email to new members, it sends a blank from and reply-to addresses. This causes many spam blockers to mark the messages as spam viz spamassasin:

SPAM: Content analysis details: (6.5 hits, 6 required)
SPAM: Hit! (4.3 points) Reply-To: is empty
SPAM: Hit! (2.2 points) From: has a malformed address

I cannot find where to change this, I suspect php.ini (phpinfo() tells me that sendmail_from is blank). However if i change it there won't it affect any other php stuff i do? where do i change php.ini stuff so its just local to drupal?

2. i originally copied the untarred drupal tarbal to my htdocs root per the instructions, ending up with a dir at htdocs/drupal-4.3.2/ After a bit of fiddling I decided I'd be better to move it to a folder relecting the sitename I wanted so i renamed it to htdocs/cagc/ . I also at around the same time changed the $base_url from "http://localhost/drupal-4.3.2" to "http://my.domain.org/cagc" This all works fine apart from two things:

A. the links "edit primary links" and "edit secondary links" still point to an url starting http://localhost/drupal-4.3.2/ instead of http://my.domain.org/cagc

B. the emails being sent out to new users are getting sent with urls with the same error, which is damn all use for telling the new user where to log in.

All other urls, ie linking stories etc work fine.

Is this behaviour hard wired in or what?

Comments

Dries’s picture

1. To update the URLs in navigation bar, head on to the 'administer > configuration > themes > xtemplate' page.

2. To update the URLs in the weclome mail, check the 'administer > configuration > modules > user' page.

Nick Rout’s picture

OK I seem to have fixed all of that now :-)

Thanks for the tips!