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:
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
 
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.
 
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. :)
 
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
 
possible dns problem? under smtp client, have you got a name server listed?

2001715235355490710_rs.jpg


if not, you can add it manually. :)
 
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.

2002246403952928768_rs.jpg


or you can keep strict enabled, but you have to explicitly allow your ip address. :) (click add restriction to do this)
 
Last edited:
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).
 
Craig321 said:
I set my Mercury up on No restrictions mode (there was Normal, Strict and None).

and you have that open to the net? :eek:

i'd change that pretty sharpish. it won't be long before someone finds that and uses it to start spamming.

edit: no idea why that's not working though. maybe the ip address you've been dished out by BT has already been blocked?
 
Craig321 said:
and it seems my current IP I have from BT is being blocked :rolleyes:

no offence but it's because of people like you running unsecured smtp servers that will get ip addresses blocked in the first place.... ;)
 
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:
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. :)
 
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:
Back
Top Bottom