Hi there.
I use RedHat6.1,  qmail-1.03, ucspi-tcp-0.88.


I'm trying to install qmail in port 902, so I (after installing qmail in
/usr/local/qmail) launch the application with tcpserver rather than
using the rc script (or qmail/boot replacement):

env - PATH="/usr/local/qmail/bin:/usr/local/bin" tcpserver -vQ -u697
-g692 linux1649.dn.net 902 /usr/local/qmail/bin/qmail-smtpd 2>&1 |
/usr/local/qmail/bin/splogger matsmtp 3 &



here is the tail of my etc/passwd
        alias:x:696:692::/usr/local/qmail/alias:/bin/bash
        qmaild:x:697:692::/usr/local/qmail:/bin/bash
        qmaill:x:698:692::/usr/local/qmail:/bin/bash
        qmailp:x:699:692::/usr/local/qmail:/bin/bash
        qmailq:x:700:693::/usr/local/qmail:/bin/bash
        qmailr:x:701:693::/usr/local/qmail:/bin/bash
        qmails:x:702:693::/usr/local/qmail:/bin/bash
        vpopmail:x:703:694::/usr/local/vpopmail:/bin/bash


this is what happens when I telnet manually the smtp server



        $ telnet linux1649.dn.net 902
        Trying 128.242.207.152...
        Connected to linux1649.
        Escape character is '^]'.
        220  ESMTP
        mail <[EMAIL PROTECTED]>
        250 ok
        rcpt <[EMAIL PROTECTED]>
        250 ok
        data
        354 go ahead
        Subject: testing
        
        this_is_the_body
        
        .
        250 ok 1000395802 qp 27055
        quit
        221
        Connection closed by foreign host.
        $

No errors logged to /var/log/messages nor stdout although I've run
tcpserver with -v -Q!!!
I cannot find the mail file anywhere in my filesystem!

If I put some bad parameter in the tcpserver line executed from the
commandline as root, I get errors in this log, so the logging facility
works well!:
        Sep 13 17:47:15 linux1649 matsmtp: 1000396035.270753 tcpserver: fatal:
unable to bind: address already         used
        Sep 13 17:48:12 linux1649 matsmtp: 1000396092.987580 tcpserver: fatal:
unable to set gid: invalid      argument

any idea on what's happening?



if I remove the domain igmweb.com from  rcpthosts:
        telnet linux1649.dn.net 902
        Trying 128.242.207.152...
        Connected to linux1649.
        Escape character is '^]'.
        220 linux1649.dn.net ESMTP
        mail <[EMAIL PROTECTED]>
        250 ok
        rcpt <[EMAIL PROTECTED]>
        553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

and no logging happens...

Thanks for your help..

TIA

Sam

Reply via email to