****************************************
* LUG meet on 12 Jan. 2003 @ VJTI
****************************************

Hi all,

        I want to check if my qmail installation is relaying mails for
        other hosts.
        I do a simple check like
        
        telnet localhost 25
        MAIL FROM:[EMAIL PROTECTED]
        RCPT TO:[EMAIL PROTECTED]
        {output is relaying allowed this is ok since it is a local
        telnet and I have 127.0.0.1:allow,RELAYCLIENT="" in
        /etc/tcp.smtp} 

        Next I do a 
        telnet 10.10.12.21 25 (my private IP)
        MAIL FROM:[EMAIL PROTECTED]
        RCPT TO:[EMAIL PROTECTED]
        {output is 553 sorry, that domain isn't in my list of allowed
        rcpthosts (#5.7.1)}

        So can I conclude that the external mails are not being relayed?


        But now the problem starts.
        qmailctl stat gives :
        
        /service/qmail-pop3d: up (pid 22067) 9174 seconds
        /service/qmail-pop3d/log: up (pid 22066) 9174 seconds
        /service/qmail-send: up (pid 22062) 9174 seconds
        /service/qmail-send/log: up (pid 22063) 9174 seconds
        /service/qmail-smtpd: up (pid 22064) 9174 seconds
        /service/qmail-smtpd/log: up (pid 22065) 9174 seconds
        messages in queue: 32
        messages in queue but not yet preprocessed: 0
        
        
        And the messages are for external hosts, 
        20 Dec 2002 03:09:33 GMT  #58808  4955  <> 
        remote  [EMAIL PROTECTED]
        19 Dec 2002 17:21:14 GMT  #58786  3714  <> 
        remote  [EMAIL PROTECTED]
        20 Dec 2002 03:13:21 GMT  #58809  5443  <> 
        remote  [EMAIL PROTECTED]
        19 Dec 2002 11:04:45 GMT  #58787  23375 <> 
        remote [EMAIL PROTECTED]
        20 Dec 2002 04:11:52 GMT  #58810  3563  <> 
        remote [EMAIL PROTECTED]


                So my server is probably relaying mails, most seem to be
                bouncing mails. 

        My /var/log/qmail/current is having entries like 

        @400000003e02aa63234a85e4 delivery 98: deferral: 
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
        @400000003e02aa63234aa13c status: local 0/10 remote 0/20
        
        
        Thanks in advance.

        
Bye.

-- 
_______________________________________________

http://mm.ilug-bom.org.in/mailman/listinfo/linuxers



Reply via email to