Using Separate Email Server

40 views
Skip to first unread message

Kray-Z

unread,
Oct 28, 2008, 2:16:02 PM10/28/08
to ResourceSpace
I also have my mail server on a separate machine. How can I configure
which SMTP server is used (I also require authentication).

Thanks!!

Markus Hoffmann

unread,
Oct 28, 2008, 3:19:32 PM10/28/08
to resour...@googlegroups.com
If you are using Linux, you can tell sendmail to use a specified smtp-
Server wich handles your outgoing Mails.
Greetings, Markus

Dan Huby

unread,
Oct 28, 2008, 4:33:14 PM10/28/08
to ResourceSpace
> > I also have my mail server on a separate machine. How can I configure
> > which SMTP server is used (I also require authentication).

This is really a PHP question. See:
http://uk2.php.net/mail

Dan

Kray-Z

unread,
Oct 28, 2008, 5:28:17 PM10/28/08
to ResourceSpace
Thanks Markus, but unfortunately I am using an MS 2003 Server *GAG*

I will check that out Dan, thanks!

K

Kray-Z

unread,
Oct 28, 2008, 5:41:07 PM10/28/08
to ResourceSpace
I just noticed that my original post did not go on the the other post
about this issue, I thought it had.

For reference, I get this error when trying to send any mail:

C:\MYPATH\include\general.php line 925: mail() [function.mail]: SMTP
server response: 550 5.7.1 Unable to relay for kr...@sdmg.ca

Dan Huby

unread,
Oct 28, 2008, 6:00:01 PM10/28/08
to ResourceSpace
> C:\MYPATH\include\general.php line 925: mail() [function.mail]: SMTP
> server response: 550 5.7.1 Unable to relay for kr...@sdmg.ca

The mail server you've configured PHP to use does not want to relay
mail that has the 'from' address you specified in the ResourceSpace
configuration.

The solution is to use a from address that your mail server does like,
or send mail to a different server (in php.ini).

Reply all
Reply to author
Forward
0 new messages