* imap problem @ 2002-09-04 6:43 David Limon Romero 2002-09-05 8:50 ` Paul Furness 0 siblings, 1 reply; 3+ messages in thread From: David Limon Romero @ 2002-09-04 6:43 UTC (permalink / raw) To: linux-admin Hello everybody Some days ago one of my servers was cracked, the intruder used a rootkit and did some nasty things on my server, I preferred to reinstall the server, it was a RH 7.2, and I upgraded to RH 7.3 When the system was under attack, or some moments later, my users noticed that they couldn't enter anymore to read their email via webmail, I was using IMP via imap, after reinstalling, imap isn't working yet, my firewall rules are set for imap like this: ipchains -A input -s 0/0 -d 0/0 143 -p tcp -j accept for pop3: ipchains -A input -s 0/0 -d 0/0 110 -p tcp -j accept pop3 is working fine before and after the reinstallation, but imap isn't, I tested using an email client: Evolution, using imap, and doesn't work with imap, when I configure it for pop3 it works fine. I don't know what is wrong, in my hosts.[allow|deny] I don't have nothing reffering to that services, in my xinetd it is enabled. I've upgraded my IMP thinking about it could be the problem... it doesn't. I'm using imap-2001a-10, I hope someone could help me please. Thanks in advance. David ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: imap problem 2002-09-04 6:43 imap problem David Limon Romero @ 2002-09-05 8:50 ` Paul Furness 2002-09-05 17:11 ` David Limon Romero 0 siblings, 1 reply; 3+ messages in thread From: Paul Furness @ 2002-09-05 8:50 UTC (permalink / raw) To: David Limon Romero; +Cc: linux-admin David, It's probably worth verifying if IMAP is actually available or not on that machine. There are a couple of things you can try: First, check that IMAP is actually available as a service on the machine by telnetting directly to the IMAP port. Say your machine is called "Mailsvr" then at a command prompt (anywhere on the network) try this: telnet mailsvr 142 #(I'm assuming IMAP2 - check your port number with 'grep imap /etc/services' ) If IMAP is running and available you should get something like this (I changed my server names and IP's to protect innocent bystanders): Zebra$ telnet mailsvr 143 Trying 10.10.10.84... Connected to mailsvr. Escape character is '^]'. * OK Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc. See COPYING for distribution information. If you get that, then IMAP is working, and you have a different problem - such as usernames / passwords not working etc. If, on the other hand, you get this: Zebra$ telnet mailsvr 143 Trying 10.10.10.84... telnet: connect to address 10.10.10.84: Connection refused ...then your IMAP server is for some reason not communicating with the outside. In _that_ case, it may be that IMAP is not permissioned to work on that machine. The thing to look at is xinetd (/etc/xinetd.conf and /etc/xinetd.d). There is an easy way to do this, however: As root at a command prompt, try: setup and on the menu it gives you, go to "system services" and then scroll down to IMAP and make sure it's turned on. OK out of that. If it wasn't turned on, and you just turned it on, you'll need to restart the xinetd demon. Incidentally, you don't _have_ to use the menu - you could create the appropriate entry in /etc/xinetd.d and restart xinetd.d, but I like the menu because it doesn't forget to add links or edit appropriate files etc etc etc... Hope this all helps you... Paul. On Wed, 2002-09-04 at 07:43, David Limon Romero wrote: > Hello everybody > > Some days ago one of my servers was cracked, the intruder used a rootkit > and did some nasty things on my server, I preferred to reinstall the > server, it was a RH 7.2, and I upgraded to RH 7.3 > > When the system was under attack, or some moments later, my users noticed > that they couldn't enter anymore to read their email via webmail, I was > using IMP via imap, after reinstalling, imap isn't working yet, my > firewall rules are set for imap like this: > ipchains -A input -s 0/0 -d 0/0 143 -p tcp -j accept > for pop3: > ipchains -A input -s 0/0 -d 0/0 110 -p tcp -j accept > > pop3 is working fine before and after the reinstallation, but imap isn't, > I tested using an email client: Evolution, using imap, and doesn't work > with imap, when I configure it for pop3 it works fine. > > I don't know what is wrong, in my hosts.[allow|deny] I don't have nothing > reffering to that services, in my xinetd it is enabled. > > I've upgraded my IMP thinking about it could be the problem... it doesn't. > I'm using imap-2001a-10, I hope someone could help me please. > > Thanks in advance. > David > > > - > To unsubscribe from this list: send the line "unsubscribe linux-admin" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Paul Furness Systems Manager 2+2=5 for extremely large values of 2. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: imap problem 2002-09-05 8:50 ` Paul Furness @ 2002-09-05 17:11 ` David Limon Romero 0 siblings, 0 replies; 3+ messages in thread From: David Limon Romero @ 2002-09-05 17:11 UTC (permalink / raw) To: Paul Furness; +Cc: linux-admin Paul: Thank you for your help, everything was working as you pointed me, I found that imap rpm doesn't work, almost for me, I've downloaded source tarball from www.imap.org, compiled and installed and now it's working, I have webmail again, I compiled it with option lrn (for Red Hat systems) and now it works fine. Thank you everybody who helped me. David On 5 Sep 2002, Paul Furness wrote: > David, > > It's probably worth verifying if IMAP is actually available or not on > that machine. > > There are a couple of things you can try: > > > First, check that IMAP is actually available as a service on the machine > by telnetting directly to the IMAP port. Say your machine is called > "Mailsvr" then at a command prompt (anywhere on the network) try this: > > telnet mailsvr 142 #(I'm assuming IMAP2 - check your port number > with 'grep imap /etc/services' ) > > If IMAP is running and available you should get something like this (I > changed my server names and IP's to protect innocent bystanders): > > > > Zebra$ telnet mailsvr 143 > Trying 10.10.10.84... > Connected to mailsvr. > Escape character is '^]'. > * OK Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc. See > COPYING for distribution information. > > > > If you get that, then IMAP is working, and you have a different problem > - such as usernames / passwords not working etc. > > If, on the other hand, you get this: > > Zebra$ telnet mailsvr 143 > Trying 10.10.10.84... > telnet: connect to address 10.10.10.84: Connection refused > > > ...then your IMAP server is for some reason not communicating with the > outside. In _that_ case, it may be that IMAP is not permissioned to work > on that machine. The thing to look at is xinetd (/etc/xinetd.conf and > /etc/xinetd.d). There is an easy way to do this, however: > > As root at a command prompt, try: > > setup > > and on the menu it gives you, go to "system services" and then scroll > down to IMAP and make sure it's turned on. OK out of that. If it wasn't > turned on, and you just turned it on, you'll need to restart the xinetd > demon. > > Incidentally, you don't _have_ to use the menu - you could create the > appropriate entry in /etc/xinetd.d and restart xinetd.d, but I like the > menu because it doesn't forget to add links or edit appropriate files > etc etc etc... > > Hope this all helps you... > > Paul. > > > > On Wed, 2002-09-04 at 07:43, David Limon Romero wrote: > > Hello everybody > > > > Some days ago one of my servers was cracked, the intruder used a rootkit > > and did some nasty things on my server, I preferred to reinstall the > > server, it was a RH 7.2, and I upgraded to RH 7.3 > > > > When the system was under attack, or some moments later, my users noticed > > that they couldn't enter anymore to read their email via webmail, I was > > using IMP via imap, after reinstalling, imap isn't working yet, my > > firewall rules are set for imap like this: > > ipchains -A input -s 0/0 -d 0/0 143 -p tcp -j accept > > for pop3: > > ipchains -A input -s 0/0 -d 0/0 110 -p tcp -j accept > > > > pop3 is working fine before and after the reinstallation, but imap isn't, > > I tested using an email client: Evolution, using imap, and doesn't work > > with imap, when I configure it for pop3 it works fine. > > > > I don't know what is wrong, in my hosts.[allow|deny] I don't have nothing > > reffering to that services, in my xinetd it is enabled. > > > > I've upgraded my IMP thinking about it could be the problem... it doesn't. > > I'm using imap-2001a-10, I hope someone could help me please. > > > > Thanks in advance. > > David > > > > > > - > > To unsubscribe from this list: send the line "unsubscribe linux-admin" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-09-05 17:11 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2002-09-04 6:43 imap problem David Limon Romero 2002-09-05 8:50 ` Paul Furness 2002-09-05 17:11 ` David Limon Romero
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.