Mail server

Soldato
Joined
2 May 2004
Posts
19,950
Hi,

I've been messing around with a mail server today trying to get it to send recieve between my GMail account.

I've forwarded and opened ports 25 and 110.

I have also assigned a no-ip address to the server.

Whenever I try send an email either from PHP mail() or normally I get the following error:

"temporary error 249 (temporary mx resolution error)"

After that is something about not being able to resolve gmail.com

I've tried sending mail to multipl different emails on different servers with no luck.

Also sending mail from my mail server to another email doesn't work. It doesn't seem to produce an error for that one :(

Any ideas of what I could be doing wrong please?

Thanks,
Craig.
 
marc2003 said:
if you have this installed at home, it's quite possible your isp is blocking port 25. most block this to stop spammers. :)

I shall give it a go on port 26 :p

EDIT

Still getting the same error on port 26 :(

Thanks,
Craig.
 
Last edited:
marc2003 said:
can you connect to your server with a normal email client and verify it at least works? (just to rule out a php config problem?)

what mail server are you running? if it runs on windows i'll download it and have a quick go... :p

"Mercury Mail Transport System for Win32 and NetWare Systems v4.01a"
http://www.pmail.com/downloads_maine_t.htm

I can send/recieve internally (using name@localhost etc. for the email) but when using [email protected] it doesn't work. Sending mail to other servers (e.g. @hotmail.com) doesn't work when my emails are set to @localhost.

EDIT

Actually, no, I don't think I am able to send/recieve internal emails (emails from other local accounts) :(

There must be something wrong with the client, any ideas?

Craig.
 
marc2003 said:
somewhat unbelievably, i can send and receive mail to my gmail account from this server setup at home. i'm on btbroadband and i really thought port25 would be blocked. but it works.... :p



i'm using a dyndns domain. :)

Hmmm, I to am on BT Broadband.

I'll give it a shot with DynDNS
 
marc2003 said:
did you set it up in strict relaying mode? try changing it to normal? look at the connection control tab in smtp server properties - here's mine.

http://aycu19.webshots.com/image/16658/2002246403952928768_rs.jpg[/IMG

or you can keep strict enabled, but you have to explicitly allow your ip address. :) (click add restriction to do this)[/QUOTE]

I set my Mercury up on No restrictions mode (there was Normal, Strict and None).
 
marc2003 said:
no offence but it's because of people like you running unsecured smtp servers that will get ip addresses blocked in the first place.... ;)

I've secured it now :)

Now send/receive isn't working :rolleyes: :(
 
Last edited:
marc2003 said:
nope, dynamic address. but dyndns is great. my router automatically updates my profile at dyndns if my ip changes. and it only takes a minute or 2 to filter through at their end. :)

Hmm I ask because apparently a lot of dynamic IPs are blocked by default.

I'm using DynDNS's update program at the moment, how do you set it to update through the router please??

EDIT

Argh, that's really weird... I just got an email to my GMail account a few minutes ago. It's now not working! :(

Oh, and it seems to be a select few providers that are blocking me... I can send to my @btinternet.com account, but not to gmail or hotmail. I can also send to an account I have hosted on a friends server.

Thanks,
Craig.
 
Last edited:
marc2003 said:
it's not surprising dynamic addresses are being blocked. this is down to virus infested machines spamming and getting blacklisted. i guess i'm just lucky with my address at the moment. why not set it up to relay outgoing mail through bt's smtp servers?

for dyndns, i have a bt 2500v router and the option is under advanced, virtual sever, dynamic dns...

2004215517823270606_rs.jpg

I'll give that a go, thanks :)

I've got it set up to relay through BT now & it's working perfectly :D

Thanks very much Marc ;)

Craig.
 
Last edited:
Back
Top Bottom