Configuring for local mail

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Configuring for local mail

Postby Tim Dawson » 26. January 2007 14:02

I'm completely new to XAMPP and Apache (though I have run a different local server before).
I've got my localhost up and running 'out of the box' using the XAMPP Windows Installer. Now I'm trying to test my site locally.

I want to test the sending of e-mails from the site to LOCAL destinations, but I get a message "Warning: mail() [function.mail]: SMTP server response: 553 We do not relay non-local mail, sorry. in..."

I've got Mercury ON, but am confused by all the configuration options. I expect I've got to tell it what domains it should regard as local and arrange for e-mails to be sent either to Thunderbird (my normal client) or Outlook Express. But I'm not sure how. I have looked at the Help but so far haven't got it right.

Any suggestions, please ?
ramasaig
Isle of Mull, Scotland

OS=WinXP Home SP2
Tim Dawson
 
Posts: 27
Joined: 26. January 2007 13:34
Location: Fionnphort, Isle of Mull

Postby Tim Dawson » 01. February 2007 10:29

anyone ?
ramasaig
Isle of Mull, Scotland

OS=WinXP Home SP2
Tim Dawson
 
Posts: 27
Joined: 26. January 2007 13:34
Location: Fionnphort, Isle of Mull

Postby Marctwo » 02. February 2007 21:58

Make sure the domain name you're using is configured as local in 'Core Module Configuration/Local Domains...'

Also, in the smtp server config/connection control, add the local ip address' that you'd like to be able to relay.
Marctwo
 
Posts: 5
Joined: 02. February 2007 20:56

Postby Tim Dawson » 03. February 2007 00:00

Thank you. I think I did the first item already, but will check. Local IP address always confuses me. Is this 127.0.0.1 ? I'm only running the server as localhost, I am NOT running a public web site.
ramasaig
Isle of Mull, Scotland

OS=WinXP Home SP2
Tim Dawson
 
Posts: 27
Joined: 26. January 2007 13:34
Location: Fionnphort, Isle of Mull

Postby eokorie » 05. February 2007 15:22

Hi Tim,

I did write a tutorial on this on my website. Hope you find it useful.. The link is at http://grafikkaos.co.uk/index.php?pid=article&id_art=28
eokorie
 
Posts: 6
Joined: 12. February 2005 15:07

Postby Tim Dawson » 05. February 2007 15:51

Thanks, Eokorie. I've had a very quick look at your tutorial. It looks like exactly what I'm looking for, so I'm going back for more.
ramasaig
Isle of Mull, Scotland

OS=WinXP Home SP2
Tim Dawson
 
Posts: 27
Joined: 26. January 2007 13:34
Location: Fionnphort, Isle of Mull

Postby eokorie » 05. February 2007 17:59

Your welcome mate :D
eokorie
 
Posts: 6
Joined: 12. February 2005 15:07

Postby Vertent » 19. February 2007 09:31

I had the same problem, and after searching for fixes, I finally found it out myself. Apparently I had my SMTP server set to "Do not permit SMTP relaying of non-local mail" You can easily set this to where you want it to be by going into Mercury, going to: Configuration -> MercuryS SMTP Server -> Connection Control, then making sure the checkbox next to "Do not permit SMTP relaying of non-local mail" is unselected. That solved my problem and maybe it will solve yours too! Good Luck!
Vertent
 
Posts: 1
Joined: 19. February 2007 09:25

Postby narath07 » 07. March 2007 21:01

eokorie wrote:Hi Tim,

I did write a tutorial on this on my website. Hope you find it useful.. The link is at http://grafikkaos.co.uk/index.php?pid=article&id_art=28




Frist of all, thanks for making the turorial.


Is there any way you can make more turorial about the Mercury mail, because I can send and recivce between localhost, but when i try to send out email to example@yahoo.com it won't work there.
narath07
 
Posts: 7
Joined: 07. March 2007 20:17

Postby WorldDrknss » 10. March 2007 12:04

http://wdguides.org/posts/files/XAMPP-D ... ail_ns.avi <- this is from when I used to run http://xampptutorials.com (Shutdown December, 2006), I knew it would have been good to keep online so there it is.

eokorie wrote:I did write a tutorial on this on my website. Hope you find it useful.. The link is at http://grafikkaos.co.uk/index.php?pid=article&id_art=28

BTW like the site :D
http://wdguides.org - XAMPP Tutorials & MORE!!!!
User avatar
WorldDrknss
 
Posts: 292
Joined: 17. September 2005 13:40

Postby eokorie » 26. March 2007 21:04

Glad to see the tutorial worked out well for some of you guys and thank for the compliments on the site.
eokorie
 
Posts: 6
Joined: 12. February 2005 15:07

I have similar problem, but your tutorial didn't fix my prob

Postby Tim Deeming » 30. May 2007 13:49

eokorie wrote:Hi Tim,

I did write a tutorial on this on my website. Hope you find it useful.. The link is at http://grafikkaos.co.uk/index.php?pid=article&id_art=28


Hi eokrie,
I am having a problem with setting up the mail function on my MediaWiki. When I try to send a mail... no errors appear... but notihing happens.. and when I try to get the wiki to sendme my password... or make a email confirmation for a new user...it reports an error, that the some software on the host is blocking the SMTP.

I have a Windows XP Professional (SP2), with XAMPP 1.6.0a installed and MediaWiki 1.93.

I have tried running with pearl mail... but I get exactly the same results. If I look at my Xampp status page ... SMTP is deactivated, even after I follow the instructions on your website.

Basically I only want to pass mail, to our in-house smtp server...

Any ideas what the problem might be.

Appreciate any ideas you or anyone else might have.

Thanks,
Tim Deeming
Tim Deeming
 
Posts: 4
Joined: 20. April 2007 12:28


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 48 guests