January 23, 2022, 10:16:33 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Qmail Problem account login problem  (Read 5876 times)

Offline vlinux1

  • Linux Learner
  • ***
  • Posts: 118
Qmail Problem account login problem
« on: September 05, 2005, 03:56:38 PM »
Hi Gaurav&Ricky


 I am having problem with qmail. I configured qmail as mentioned on Qmailrocks.org but when i am doing telnet i am getting following error.

[root@vijay root]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK POP3 localhost.localdomain v2001.78rh server ready
user postmaster@mail.vijay.co.in
+OK User name accepted, password please
pass xxxxxxx
-ERR Bad login
quit
+OK Sayonara
Connection closed by foreign host.
[root@vijay root]#

my domain name is mail.vijay.co.in
but when i am trying to login with postmaster user and password its giving me error. but by same user and domaiiname i am able to login in Qmailadmin interface and also i am not able to login in Squriel mail. is giving me error Unknown user or incorrect password.

Plese guide about the above error.

Thanks in advance.
Vijay

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Qmail Problem account login problem
« Reply #1 on: September 06, 2005, 04:21:24 AM »
Ya.., its not so difficult ...

1. just go to /etc/xinetd.d/imap

Change disable=yes to disable=no

2. go to /etc/xinetd/ipop3

Change disable=yes to disable=no


Start xinetd service by:
#service xinetd restart

U have to give imap server ip in squirrel configration

U have to make domain names & login by login into qmailadmin

Make any domain & any user

After that start qmail service

login from username & password

It will work


Enjoy
Gaurav

Offline vlinux1

  • Linux Learner
  • ***
  • Posts: 118
Qmail Problem
« Reply #2 on: September 09, 2005, 04:47:04 PM »
HI, Ricky&Gaurav

I am getting following error and also not able to login with squirell mail it giving me login name &password error. please tell me about this.


root@vijay root]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN] localhost.localdomain IMAP4rev1 2001.315rh at Sat, 10 Sep 2005 03:42:26 +0530 (IST)
a login postmaster@mail.vijay.co.in postmaster
a NO LOGIN failed
a logout
* BYE localhost.localdomain IMAP4rev1 server terminating connection
a OK LOGOUT completed
Connection closed by foreign host.
[root@vijay root]#

thanks in advance

Vijay

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Qmail Problem account login problem
« Reply #3 on: September 12, 2005, 10:36:35 AM »
ok
just check abt this port means wheather 143 port is listening by cmd
#nmap localhost

If its there then its ok , if not then start imap service

Gaurav

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Qmail Problem account login problem
« Reply #4 on: September 14, 2005, 04:27:17 AM »
Hi Vijay
Have u resolved the error ,First of all check abt ur computer name
means is it local host or u have changed it , check using hostname or check it in /etc/hosts

Second thing is that it may be possible that the password u have given is not correct............................means postnaster password,

Just check the both posibilities....

Gaurav

Offline vlinux1

  • Linux Learner
  • ***
  • Posts: 118
Qmail
« Reply #5 on: September 16, 2005, 07:15:06 AM »
Hello Gaurav

Still i am getting problem. Tell me if iwant to remove all configuration files that are created when i installed Qmail.gz tar package. if i remove all that directories of qmail it will eraze all files or i want to eraze manualy. please help me about this.

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Qmail Problem account login problem
« Reply #6 on: September 16, 2005, 08:49:25 AM »
Ok Vijay
Actually i have configured QMAIL recently on Both Linux Flavors (REDHAT and SUSE),Its working fine.....
And the doc given in qmailrocks.org is  excelent

ok do last 1 thing .............,may be it will help u

go to vadmin  console by typing

http://www.yourdomain.com/cgi-bin/vqadmin/vqadmin.cgi

(-> where yourdomain.com is the domain u set at prev step)
give the user as admin , password as u have set & just add a new domain (like test.com) , add the new user vijay@test.com, give password for this user
& after saving the changes  , telnet ur server by command

#telnet localhost 110
 (Note: if u have changed your hostname from localhost, then write new hostname in place of localhost)

Just

login with your new user i.e vijay@test.com & the required password)

TEST WHEATHER IT WORKS OR NOT

Offline vlinux1

  • Linux Learner
  • ***
  • Posts: 118
Qmail Problem
« Reply #7 on: September 19, 2005, 11:24:11 AM »
Hi Gaurav,

 Iwant to unistall all the qmail configuration what procedure i want to do because i installed it by tar i want to remove each and every file that created by tar. Please help me.

Thanks in Advance
Vijay

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Qmail Problem account login problem
« Reply #8 on: September 21, 2005, 09:08:17 AM »
Hmm This is quite tricky question ............., , U have to go to each directory created during qmail... & clean it using  make command
Acc to me there are 2 commands for this...

#make clean & make uninstall...

so go to each dir & fire these commands, may be it will help u

I am not sure, may be others now better


Gaurav