Any body know what is the problem in my case ?

here are a header from server when I send email:

 2351 > 220 a.net ESMTP
 2351 < EHLO condorc8y1adjr
 2351 > 250-a.net
 2351 > 250-STARTTLS
 2351 > 250-PIPELINING
 2351 > 250-8BITMIME
 2351 > 250 AUTH LOGIN PLAIN CRAM-MD5
 2351 < MAIL FROM: <[EMAIL PROTECTED]>
 2351 > 250 ok
 2351 < RCPT TO: <[EMAIL PROTECTED]>
 2351 > 250 ok
 2351 < DATA
 2351 > 354 go ahead
 2351 < Reply-To: <[EMAIL PROTECTED]>
 2351 < From: "John Doe" <[EMAIL PROTECTED]>
 2351 < To: <[EMAIL PROTECTED]>
 2351 < Subject: aaa
 2351 < Date: Wed, 30 Jun 2004 13:54:15 +0300
 2351 < MIME-Version: 1.0
 2351 < Content-Type: text/plain;
 2351 <         charset="us-ascii"
 2351 < Content-Transfer-Encoding: 7bit
32351 < X-Mailer: Mic+
 2351 < rosoft Office Outlook, Build 11.0.5510
 2351 < Thread-Index: AcRekJWE2CMv/LJYRwudR4y50q3f6g==
 2351 < X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
 2351 <
 2351 < aaa
 2351 <
 2351 < .
 2351 > 250 ok 1088592746 qp 32354
 2351 < QUIT
 2351 > 221 a.net
32351 > [EOF]

and here is tcp.smtp

127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-
queue"
10.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanne
r-queue.pl"
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" 

I read lots of documntation in network
but nothing about my problem. I still can send email without authorization
and qmail-smtpd
does not block these emails.

I think that the problem may be is in configuration because
patch is applayed and compile successful.

Any body can help me?

Regards,
John


-----Original Message-----
From: John Doe [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 29, 2004 1:51 PM
To: [EMAIL PROTECTED]
Subject: [toaster] SMTP-AUTH does not work for me.

Hello,

I installed a new version of netqmail-1.05 with the 'Large Qmail patch' but
SMTP-AUTH isn't working.


I took a new
netqmail-1.05 and only aplied the 'Large qmail patch' without errors.
compiled without errors, installed and started the daemons. There were no
startup errors.

When I try to send mail without authentification it works !?! So this
creates an open relay to me.

I use vpopmail 5.4.5 with MySQL Auth. The smtpd startup script is:

$more /etc/rc.d/rc.qmail
#!/bin/bash
export
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/var/qmail/bin:/var/vpopm
ail/bin"

  [ -f /var/qmail/bin/qmail-send ] || exit 0

  start() {
        echo -n "Starting Qmail: "
        qmail-start "`cat /var/qmail/dot-qmail`" splogger qmail &

        # SMTP-AUTH w/RBL's
         tcpserver -H -l0 -R -c 512 -x /var/vpopmail/etc/tcp.smtp.cdb -u 89
-g 89 0.0.0.0 25 /var/qmail/bin/tcp-env \
        tcp-env rblsmtpd -r bl.spamcop.net -r list.dsbl.org -r
rbl-plus.mail-abuse.org -r list.dsbl.org -r sbl.spamhaus.org \
          /var/qmail/bin/qmail-smtpd /var/vpopmail/bin/vchkpw /bin/true &


        # SMTP-AUTH w/SSL
        tcpserver -n /etc/ssl/certs/smtps.pem -x
/var/vpopmail/etc/tcp.smtp.cdb \
        -s -H -l0 -R -u 89 -g 89 0 465 /var/qmail/bin/tcp-env \
        tcp-env /var/qmail/bin/qmail-smtpd /var/vpopmail/bin/vchkpw
/bin/true &
  }

  stop() {
        echo -n "Shutting down Qmail: "
        killall qmail-send
        killall tcpserver
        rm -f /var/lock/subsys/qmail
  }

  case "$1" in
    start)
        start
        ;;
    stop)
        stop
        ;;
    restart)
        stop
        start
        ;;
    *)
        echo $"Usage: $0 {start|stop|restart}"
        exit 1
  esac

In old version this is work great, but in new version this does not work.
I can send email without authentication.

Any body know what is the problem ?

Regards,
John


Reply via email to