- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How to setup an RedHat Email server with dns2g...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 06:59 AM
07-04-2002 06:59 AM
How to setup an RedHat Email server with dns2go and sendmail?
Can anyone tell me a useful website for this Linux Newbie?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 07:04 AM
07-04-2002 07:04 AM
Re: How to setup an RedHat Email server with dns2go and sendmail?
Can I still setup the server with ADSL?
Thank you very much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 07:57 AM
07-04-2002 07:57 AM
Re: How to setup an RedHat Email server with dns2go and sendmail?
dns2go is like dyndns ??
If this is the case, the first thing to do is to check if port 25 is closed by your ISP. For this :
- you should have sendmail running on your redhat box as daemon.
- Connect to internet from any way but not your dsl connection, in order to have another address.
- then try telnet
if you have an answer, then the port 25 isn't blocked ! You can continue tand install the rest. IE configure sendmail and so on.... Not easy but funny !
If you have no answer, try just a ping to see if ip is OK if not, then may be you have another trouble ! If yes, then either sendmail has a trouble or, the port is blocked.
To check about sendmail,
try on your linux box
netstat -a | grep smtp,
if you have something like *.smtp LISTEN, then your sendmail is listening on 25 port .
Try then from your Linux box
telnet 127.0.0.1 25
You should have the same answer as the test from internet.
Configuration of sendmail isn't difficult, to accept email, but with your DSL config you will have to be careful with relay ! if you don't want spammer will use your bandwith !
Hope it may help
regards
Benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2002 08:13 AM
07-05-2002 08:13 AM
Re: How to setup an RedHat Email server with dns2go and sendmail?
I appreciate your advice very much and I just did what you mentioned.I also decided to use dyndns.org instead of dns2go.
Let me take some time to explain my situation in detail.
There are several ISPs available in my area. By using "nslookup -sil smtp.xxx.com", i found their SMTP servers fixed IP addresses, of course including my own ISP's mail server.
Then I typed "telnet xxx.xxx.xxx.xxx 25" to connect to each of these found SMTP servers. To a little disappointment, I found I could only connect to my own ISP's SMTP server which showed:
"Trying xxx.xxx.xxx.xxx...
Connected to xxx.xxx.xxx.xxx.
Escape character is '^]'.
220 xxx.xxx.com ESMTP"
However if I did the same thing to other ISP's SMTP server, it stopped after the line "Trying xxx.xxx.xxx.xxx..."
I also tred it with local address,
"telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 localhost.localdomain ESMTP Sendmail..."
It seems it works only for the local network.
I am now quit convinced that my ISP had blocked port25!
I just installed RedHat7.3 and would like to host my own email server with sendmail + dyndns, how can I configure Sendmail to listen to other ports besides 25?
If I did that, can I send and receive email using xxx@roywoo.dyndns.org as usual?
Thank you for your kind attention once again!
Looking for your reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2002 08:37 AM
07-05-2002 08:37 AM
Re: How to setup an RedHat Email server with dns2go and sendmail?
It's easy to change the port to listen with sendmail,
in sendmail.cf,
place :
DaemonPortOptions=Port=
stop /start sendmail, check with netstat -a with this new port,
try telnet localhost
Concerning dyndns, I don't think it's possible to do such a thing, I.e. that bind (DNS) is a standard, and email server are stored as MX, wich are always smtp !!
if you try nslookup with any options you have never the port where the mx is listening !!!
I cannot say that there are no solutions, but if there's one, i'm interested !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2002 08:43 AM
07-05-2002 08:43 AM
Re: How to setup an RedHat Email server with dns2go and sendmail?
I read again the details, and it seems for me that you didn't made the smtp test to your own server.
To make this test, first get your ip public address,
Second, connect to internet, with another line, and try telnet
Because all the tests you did concerned connection to other smtp servers as I understood.
Hope i'm enough clear for you..
regards
benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2002 09:41 AM
07-05-2002 09:41 AM
Re: How to setup an RedHat Email server with dns2go and sendmail?
I am so surprise that you gave me such a prompt response!
I appreciate your help very much.
I tried what you mentioned again, this time with my notebook running WinXP on a 56K connection from another ISP. I found that I can telnet to all ISP's smtp server, but as I tried my own IP the telnet windows vanished and return to cmd.exe (under WindowsXP)
I think the ISP indeed blocked port 25! What can I do now, please adise...
Thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2002 11:49 PM
07-07-2002 11:49 PM
Re: How to setup an RedHat Email server with dns2go and sendmail?
I'm terribly sorry Roy, but I think that there's no issue, if smtp (25) is blocked by your ISP which seems to be the case after all the tests, you cannot create your own mail server !!!
it's always possible to use another port, but it will work only for you, people who won't know the number of this port will not success to send email to you !!!
More practically, there's another way.
You can use fetchmail to download through pop3 email stored on internet mail boxes (but you cannot configure your own domain name !!), and still use sendmail to send messages.
The other way is to see with your ISP if they can open port 25 ! May be it's possible ??
regards
Benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2002 04:52 AM
08-30-2002 04:52 AM
Re: How to setup an RedHat Email server with dns2go and sendmail?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2002 08:35 PM
09-16-2002 08:35 PM
Re: How to setup an RedHat Email server with dns2go and sendmail?
it seems that the default for sendmail in this version is to only listen on the 127.0.0.1 loopback. try editing /etc/mail/senmail.mc
comment out the line that says: DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
see if that works. it think RedHat did this to avoid spam on your server.
hope this does it for you.
kerrin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2002 08:37 PM
09-16-2002 08:37 PM
Re: How to setup an RedHat Email server with dns2go and sendmail?
m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
hit enter. this rebuilds the sendmail.cf file that sendmail refers to.
then restart sendmail.