Link to home
Start Free TrialLog in
Avatar of cyrax
cyraxFlag for Australia

asked on

Local Simple Mail Server

I want to implement a small, simple, local mail server within a large network. Is it necessary to register the mail server with an ISP?

The mail server will be used for a basic program that needs to send an e-mail to a particular recipient when a certain action takes place.

Is this possible?
ASKER CERTIFIED SOLUTION
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No, an MX record defines the mail server for the domain - without one, the DNS server has no idea what to tell the senders mail server as to the location of it's mail server.

MOST mail servers (exchange may not be able to, but certainly most on unix/linux) can be accessed by computer name - if theres a public DNS record for them - not even an MX record, but a simple A record.
Umm, I guess I need to do more tesing I have never seen this work.

I know my ISP does not use Exchange and when I just use a mail server host name my ISP sends it back stating the e-mail address it non-routable.
ISPs often have to handle mail for multiple domains and may not configure their mail servers to allow receipt of e-mail directly at the server like that.
Avatar of cyrax

ASKER

Thanks for everyones reply.

The network's e-mail server is located offsite and is managed by an external company, therefore an internal mail server does not exist. It is also not an option to create an e-mail account on the mail server for use by the program.

I am trying to avoid the option of having to implement a local e-mail server, since its name cannot be registered with an ISP.

Is there a simpler way of allowing the program to notify users via e-mail? Or maybe another solution all together? Is there perhaps a small, free mail server or messaging engine that can be packaged with the program?

If you know the destination e-mail address, you could write a program that resloved the MX record for that domain, resolves the IP address for the host pointed to by that domain, and then directly connect to that SMTP server and issue the SMTP commands yourself.

Your program and the receiver's inbound SMTP server would be the only things invloved.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I think that internal IM will be better for you. Try LanTalk NET:
http://www.cezeo.com/products/lantalk-net/