by Void Main » Fri Mar 12, 2004 10:37 am
Well, the secret is to have a mail server (sendmail or equivalent) running and listening on port 25. It would be much better if this were running on a server with a static IP address but it is not necessary. You must create an MX (mail exchanger) record in your dyndns account that points to the IP address of your mail server if your mail service runs on a server at an address other than what doogee.kicks-ass.net points to. Any message addressed to "someuser@doogee.kicks-ass.net" will go to the IP address in the MX record.
Dynamic address ranges are commonly blocked by ISPs (at least for sending mail from them) because spam commonly comes from them, that shouldn't really effect receiving mail on them though. Another reason that I believe is valid for providers to block incoming port 25 to their dynamic addresses is if people do not have an automated way to update their DNS records. Someone else gets your IP address and you don't update your records they are going to have servers attempting to send your mail to their addresses. Also, many providers block port 25 so people can't receive mail on their dynamic hosts (my provider is one of these). Also probably 50% of ISPs block mail coming from my dynamic address just because it is coming from a dynamic address. Again, spam virus infected Windows machines ruined it for me. When someone registers on this site many will not get the automated email (so I send it to them manually). They may also not get email if they set a "watch" on a forum. If they don't it's because their provider is blocking my dynamic address. Yes, I could configure sendmail to forward the mail through one of my statically addressed sendmail servers but I don't want to do that for this site.
Now, the sendmail service must also be configured to accept mail for doogee.kicks-ass.net so you can't just point your MX record to any server that you do not have control over.