Page 1 of 1

Configuring for local mail

PostPosted: 26. January 2007 14:02
by Tim Dawson
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 ?

PostPosted: 01. February 2007 10:29
by Tim Dawson
anyone ?

PostPosted: 02. February 2007 21:58
by Marctwo
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.

PostPosted: 03. February 2007 00:00
by Tim Dawson
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.

PostPosted: 05. February 2007 15:22
by eokorie
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

PostPosted: 05. February 2007 15:51
by Tim Dawson
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.

PostPosted: 05. February 2007 17:59
by eokorie
Your welcome mate :D

PostPosted: 19. February 2007 09:31
by Vertent
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!

PostPosted: 07. March 2007 21:01
by narath07
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.

PostPosted: 10. March 2007 12:04
by WorldDrknss
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

PostPosted: 26. March 2007 21:04
by eokorie
Glad to see the tutorial worked out well for some of you guys and thank for the compliments on the site.

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

PostPosted: 30. May 2007 13:49
by Tim Deeming
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