i tried telnet from a client PC to the server , but i get a error message , 
"Connection lost" although ping is working.

i have been following lwq. i am able to create accounts but not able to send mails 
form outlook exp from client PCs. I am providing my network configuration also
----------------
Server
ip: 192.168.1.9
subnet mask: 255.255.255.0
default gateway: 192.168.1.1
Primary DNS: 202.9.145.6

Windows Client with OE
ip: 192.168.1.4
subnet mask: 255.255.255.0
default gateway: 192.168.1.1
Primary DNS: 202.9.145.6

Client OE settings:
user name: [EMAIL PROTECTED]
POP3 server: 192.168.1.9  port: 110
SMTP server: 192.168.1.9 port: 25
------------------

My qmail seems to be a good installation, but there is a glitch. 
------------------------ 
[EMAIL PROTECTED] qmail]# qmailctl stat 
Hat: No such file or directory 
q 
/service/qmail-send: up (pid 1035) 6022 seconds 
/service/qmail-send/log: up (pid 1036) 6022 seconds 
/service/qmail-smtpd: up (pid 2267) 5769 seconds 
/service/qmail-smtpd/log: up (pid 1037) 6022 seconds 
messages in queue: 0 
messages in queue but not yet preprocessed: 0 
[EMAIL PROTECTED] control]# qmailctl start 
Hat: No such file or directory 
q 
Starting qmail 
[EMAIL PROTECTED] control]# 
------------------------------------- 

i have no idea why "Hat: No such file or directory" is coming up and only and only 
after i press q, it gives stats etc. 

if you feel interested i am attaching my qmailctl with this mail.

-------------------------------------
Attachment: qmailctl.txt
ed Hat chkconfig 
# chkconfig: - 80 30 
# description: the qmail MTA 

PATH=/var/qmail/bin:/bin:/usr/bin:/usr/local/bin:/usr/local/sbin 
export PATH 

QMAILDUID=`id -u qmaild` 
NOFILESGID=`id -g qmaild` 

case "$1" in 
  start) 
    echo "Starting qmail" 
    if svok /service/qmail-send ; then 
      svc -u /service/qmail-send /service/qmail-send/log 
    else 
      echo "qmail-send supervise not running" 
    fi 
    if svok /service/qmail-smtpd ; then 
      svc -u /service/qmail-smtpd /service/qmail-smtpd/log 
    else 
      echo "qmail-smtpd supervise not running" 
    fi 
    if [ -d /var/lock/subsys ]; then 
      touch /var/lock/subsys/qmail 
    fi 
    ;; 
  stop) 
    echo "Stopping qmail..." 
    echo "  qmail-smtpd" 
    svc -d /service/qmail-smtpd /service/qmail-smtpd/log 
    echo "  qmail-send" 
    svc -d /service/qmail-send /service/qmail-send/log 
    if [ -f /var/lock/subsys/qmail ]; then 
      rm /var/lock/subsys/qmail 
    fi 
    ;; 
  stat) 
    svstat /service/qmail-send 
    svstat /service/qmail-send/log 
    svstat /service/qmail-smtpd 
    svstat /service/qmail-smtpd/log 
    qmail-qstat 
    ;; 
  doqueue|alrm|flush) 
    echo "Flushing timeout table and sending ALRM signal to qmail-send." 
    /var/qmail/bin/qmail-tcpok 
    svc -a /service/qmail-send 
    ;; 
  queue) 
    qmail-qstat 
    qmail-qread 
    ;; 
  reload|hup) 
    echo "Sending HUP signal to qmail-send." 
    svc -h /service/qmail-send 
    ;; 
  pause) 
    echo "Pausing qmail-send" 
    svc -p /service/qmail-send 
    echo "Pausing qmail-smtpd" 
    svc -p /service/qmail-smtpd 
    ;; 
  cont) 
    echo "Continuing qmail-send" 
    svc -c /service/qmail-send 
    echo "Continuing qmail-smtpd" 
    svc -c /service/qmail-smtpd 
    ;; 
  restart) 
    echo "Restarting qmail:" 
    echo "* Stopping qmail-smtpd." 
    svc -d /service/qmail-smtpd /service/qmail-smtpd/log 
    echo "* Sending qmail-send SIGTERM and restarting." 
    svc -t /service/qmail-send /service/qmail-send/log 
    echo "* Restarting qmail-smtpd." 
    svc -u /service/qmail-smtpd /service/qmail-smtpd/log 
    ;; 
  cdb) 
    tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp 
    chmod 644 /etc/tcp.smtp.cdb 
    echo "Reloaded /etc/tcp.smtp." 
    ;; 
  help) 
    cat <<HELP 
   stop -- stops mail service (smtp connections refused, nothing goes out) 
  start -- starts mail service (smtp connection accepted, mail can go out) 
  pause -- temporarily stops mail service (connections accepted, nothing leaves) 
   cont -- continues paused mail service 
   stat -- displays status of mail service 
    cdb -- rebuild the tcpserver cdb file for smtp 
restart -- stops and restarts smtp, sends qmail-send a TERM & restarts it 
doqueue -- schedules queued messages for immediate delivery 
reload -- sends qmail-send HUP, rereading locals and virtualdomains 
  queue -- shows status of queue 
   alrm -- same as doqueue 
  flush -- same as doqueue 
    hup -- same as reload 
HELP 
    ;; 
  *) 
    echo "Usage: $0 
{start|stop|restart|doqueue|flush|reload|stat|pause|cont|cdb|queue|help}" 
    exit 1 
    ;; 
esac 

exit 0 
------------------------------

regards,
Anu



---------- Original Message ----------------------------------
From: "Truong Tan Son" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date:  Thu, 24 Jun 2004 15:05:53 +0700

on qmail when using vpopmail, default email address and user ID is same.
you should re-check on Accout name on Outlook Express of 2 clients has been
using.
user logon : [EMAIL PROTECTED] , not shorten: client_name
or using some commands below:

telnet <IP server> 110
user <[EMAIL PROTECTED]>
pass <password_client1>
.
Look to check status : OK or -ERR authorization first ?
.

Let us know your result and more details error.
> Anuradha Kalyan wrote:
>
> >i added 2 users in the domain erivaind.com
> >
> >
> >and configured outlook for the 2 users with  server ip as 192.168.1.9 (ip
address of the pc in which i have installed qmail)
> >
> >but i was not able to exchange between these 2 clients.
> >
> >
> You mean
> (a) your WinClient (Outlook) was not able to fetch emails from the Linux
> server (qmail)?
> What protocol did you use : imap, pop?
> Is an imap/pop server running?
>
> Or (b) you could not send emails to the Linux server?
>
> Check if the appropriate servers are installed and running and if yes
> check the logfiles of those servers.
>
> >Could anyone help me as to where the problem is.
> >
> >i have installed qmail as per life with qmail instructions.
> >
> And please read http://learn.to/quote and also try to be a bit more
> specific with your problem description
> (www.catb.org/~esr/faqs/*smart*-*questions*.html)
>
> --franz
>
>


 
             

Reply via email to