Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-24-2003, 02:21 AM
|
#1
|
Member
Registered: Aug 2003
Location: Antelope, CA
Distribution: Ubuntu 9.04
Posts: 90
Rep:
|
email server setup (IMAP/SMTP)
I have a domain name with an MX record, Static IP and trying to setup a IMAP/SMTP server (Preferable using secure login) in RedHat 9. I am a newbie and don't have a clue where to start. Do I need to setup a DNS server?
What applications do I need configure and running to make this work?
Thank you in advance....
|
|
|
09-24-2003, 03:17 AM
|
#2
|
LQ Guru
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280
Rep:
|
if u installed sendmail or postfix when u installed RH9, then you have an email server installed already (imap may also have been installed but u'd have to check)
if your domain name already points to your box, and there is an MX record for it also, then you dont need to setup a DNS server....sounds like DNS is taken care of.
do this:
#updatedb
#slocate sendmail.cf if that gives u a path to a sendmail.cf file, then you have sendmail installed
#slocate main.cf if that gives you a path to a main.cf, then you have postfix installed
you'll have to edit sendmail.mc if you have sendmail or main.cf if you have postfix.
try to find out which one of those (if any) you have and we'll go from there.
|
|
|
09-24-2003, 04:02 PM
|
#3
|
LQ Newbie
Registered: Sep 2003
Posts: 6
Rep:
|
** sorry for posting my message in this thread, the system didn't let me start a new thread.
Hi,
I have got a problem with my sendmail daemon on a cobalt 5.0 system.
Sendmail version is: sendmail-8.9.3-C7
The daemon has stopped accepting incoming email from other mx hosts. netstat shows a lot of connections (ESTABLISHED & CLOSE_WAIT) from other hosts, but the daemon does not exchange any data with the hosts. When I telnet to port 25, the TCP connection is opened, but there is no welcome message from the server and it does not respond to the HELO command.
I believe having that much connections in CLOSE_WAIT status means that the daemon is not talking to the hosts at all, and the hosts remain in this status after they try to close the connection.
maillog shows entries like this:
Sep 25 00:22:06 www sendmail[26121]: NOQUEUE: SYSERR: putoutmsg (mta4.realage.com): error on output channel sending "220 www.MYHOST.net ESMTP Sendmail 8.9.3/8.9.3; Thu, 25 Sep 2003 00:22:06 +0330": Broken pipe
Sep 25 00:22:06 www sendmail[26121]: NOQUEUE: Null connection from mta4.realage.com [209.75.40.47]
Please advice me. I'm stuck. The owner of the server says that this problem has happened suddenly.
|
|
|
09-24-2003, 05:58 PM
|
#4
|
Member
Registered: Aug 2003
Location: Antelope, CA
Distribution: Ubuntu 9.04
Posts: 90
Original Poster
Rep:
|
Robert0380
Thanx for replying....
I have sendmail installed
|
|
|
09-26-2003, 11:54 AM
|
#5
|
Member
Registered: May 2003
Location: philadelhpia pa
Posts: 92
Rep:
|
a GOTCH-CHA with sendmail....
it comes to you, NOT ALLOWING mail, from the
outside world....
Look for this comment line (redhat 8.0)
dnl # The following causes sendmail to only listen on the IPv4 loopback address
dnl # 127.0.0.1 and not on any other network devices. Remove the loopback
dnl # address restriction to accept email from the internet or intranet.
dnl #
and make sure, the next line looks like this
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
i think (thats think), this does it)
|
|
|
09-26-2003, 09:03 PM
|
#6
|
Member
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414
Rep:
|
Quote:
Originally posted by sib_99
** sorry for posting my message in this thread, the system didn't let me start a new thread.
Hi,
I have got a problem with my sendmail daemon on a cobalt 5.0 system.
Sendmail version is: sendmail-8.9.3-C7
The daemon has stopped accepting incoming email from other mx hosts. netstat shows a lot of connections (ESTABLISHED & CLOSE_WAIT) from other hosts, but the daemon does not exchange any data with the hosts. When I telnet to port 25, the TCP connection is opened, but there is no welcome message from the server and it does not respond to the HELO command.
I believe having that much connections in CLOSE_WAIT status means that the daemon is not talking to the hosts at all, and the hosts remain in this status after they try to close the connection.
maillog shows entries like this:
Sep 25 00:22:06 www sendmail[26121]: NOQUEUE: SYSERR: putoutmsg (mta4.realage.com): error on output channel sending "220 www.MYHOST.net ESMTP Sendmail 8.9.3/8.9.3; Thu, 25 Sep 2003 00:22:06 +0330": Broken pipe
Sep 25 00:22:06 www sendmail[26121]: NOQUEUE: Null connection from mta4.realage.com [209.75.40.47]
Please advice me. I'm stuck. The owner of the server says that this problem has happened suddenly.
|
Hi Guys, i have seen you have same thread in every forum, even in others thread you will cut in the middle and then start your own problem, please select the best forum and post it there.
If the system won't let you start new thread, just mail to the moderator and ask them why ? They must have the solutions for you.
|
|
|
09-26-2003, 09:05 PM
|
#7
|
Member
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414
Rep:
|
Quote:
Originally posted by xaxol
Robert0380
Thanx for replying....
I have sendmail installed
|
Do some modification in your sendmail.cf and bring up your sendmail daemon and you will be able to start your mail server.
|
|
|
09-26-2003, 10:41 PM
|
#8
|
Member
Registered: Aug 2003
Location: Antelope, CA
Distribution: Ubuntu 9.04
Posts: 90
Original Poster
Rep:
|
I have done some of the modification in the sendmail.mc file and then used the m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
I am able to start evolution on the server and send to the outside (internet) but people cannot reply to me... I also have a windows xp laptop on the same network and not able to send email via by specifying the local ip address for the linux box, however I am able to log into the imap server that is running on the linux box and create folders...
I am not able to access the mail servers at all from the internet, if I use a dial connection and try send or recieving email using webmail.mydomain.com
Please help....
Thank you,
xaxol
|
|
|
09-27-2003, 01:55 AM
|
#9
|
Member
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414
Rep:
|
1) are you sure you already have an mx records point to your server?
2) Have you bring your IMAP daemon up?
Try to check your /etc/hosts and take a look whether you have block something. or maybe you are behind firewall, try to disable the firewall first and try again.
|
|
|
09-27-2003, 12:54 PM
|
#10
|
Member
Registered: Aug 2003
Location: Antelope, CA
Distribution: Ubuntu 9.04
Posts: 90
Original Poster
Rep:
|
1) Yes, I verified that the MX record is pointing to the server
2) I am able to telnet to it from another machine on the same network... I am able to create new folders from another machine on the same network using Outlook XP
/etc/hosts has the following:
127.0.0.1 localhost.localdomain localhost
192.168.0.4 mydomain.com
I checked to ensure there was no firewall running...
Still unable to connect to the server from the outside and not able to send email to username@mydomain.com
Went to http://www.xav.com/mx_lookup.pl and verified that mydomain.com has a MX record....
Thanx in advance,
xaxol
|
|
|
09-27-2003, 03:07 PM
|
#11
|
Member
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381
Rep:
|
A nice way to configure servers such as sendmail is by using Webmin. This gives you a web interface for their configuration and groups the options of the particular server up into categories so you can find what you are looking for. It makes life a lot easier for those who are just beginning.
As to your problem, are you getting a rejection message? If so what do they say? And it is possible that your sendmail server is not configured to receive mail for your domain. Certainly in Postfix, you have to set the domains for which the server receives mail for. This stops relaying etc.
|
|
|
09-27-2003, 11:38 PM
|
#12
|
Member
Registered: Aug 2003
Location: Antelope, CA
Distribution: Ubuntu 9.04
Posts: 90
Original Poster
Rep:
|
Hi. This is the qmail-send program at smtp2.surewest.net.
I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out.
<username@domain.com>:
Sorry, I couldn't find a mail exchanger or IP address. (#5.4.4)
--- Below this line is a copy of the message.
Return-Path: <username@surewest.net>
Received: (qmail 9142 invoked from network); 27 Sep 2003 05:50:19 -0000
Received: from unknown (HELO surewest.net) (66.60.128.32)
by smtp2.surewest.net with SMTP; 27 Sep 2003 05:50:19 -0000
Received: from (my ip address)
(SquirrelMail authenticated user username@surewest.net)
by 208.45.228.46 with HTTP;
Fri, 26 Sep 2003 22:46:24 -0700 (PDT)
Message-ID: <50246.(my ip address).1064641584.squirrel@208.45.228.46>
Date: Fri, 26 Sep 2003 22:46:24 -0700 (PDT)
Subject: test
From: "Name" <username@surewest.net>
To: <username@domain.com>
X-Priority: 3
Importance: Normal
X-Mailer: SquirrelMail (version 1.2.8)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-TST: smtp2 SNWK2
|
|
|
09-29-2003, 01:14 AM
|
#13
|
Member
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381
Rep:
|
Quote:
Sorry, I couldn't find a mail exchanger or IP address. (#5.4.4)
|
This indicates that either a) you DNS server isnt configure properly and doesnt have you MX record or b) you have a DNS setup configured but it isnt being pointed to as the nameserver for that domain.
Can you give any more information on the DNS setup?
|
|
|
09-29-2003, 01:42 PM
|
#14
|
LQ Guru
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280
Rep:
|
post your sendmail.mc file
|
|
|
09-29-2003, 02:56 PM
|
#15
|
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
|
Quit all this pseudo security crap and LIST YOUR DOMAIN NAME. You cannot expect people to troubleshoot your DNS misconfiguration for you unless you reveal your domain name so people can find the problems.
DNS is the number one cause of e-mail problems because so few e-mail admins understand how DNS relates to mail.
|
|
|
All times are GMT -5. The time now is 01:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|