Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Help With Qmail

  1. #1

    Help With Qmail

    I can't seem to get qmail to authenticate smtp! I have tried the qmail-smtpd-auth patch but couldn't get it working. Does anyon know of an alternitive or have use qmail-smtpd-auth patch and have it working?

  2. #2

    Re:Help With Qmail

    Anyone?

  3. #3

    Re:Help With Qmail

    Yes, I have got it works!

    I used:
    cmd5checkpw-0.22.tar.gz
    qmail-smtpd-auth-0.31.tar.gz

    Check them out from http://members.elysium.pl/brush/smtp-auth/index.html

    After install you can type the followings to test:

    # telnet hostname 25
    # ehlo

    And it should display
    "250-(hostname)
    250-AUTH LOGIN CRAM-MD5 PLAIN
    250-AUTH=LOGIN CRAM-MD5 PLAIN
    250-PIPELINING
    250 8BITMIME"

  4. #4

    Re:Help With Qmail

    This is what I currently get

    Code:
    220 www.xyz.net ESMTP
    ehlo
    502 unimplemented (#5.5.1)

  5. #5

    Re:Help With Qmail

    Um......
    Your version is too old and thus not support ehlo, or wrong installation!?
    Let's try

    telnet www.xyz.net 25
    helo

    Try to install Qmail without authenticate smtp patch, and see if ehlo work...

  6. #6

    Re:Help With Qmail

    The qmail version is the current qmail version. Without hte patch ehlo doesn't work. With the patch, it yeilds the same results THOUGH themanpage and other parts reflect that the patch did work.

  7. #7

    Re:Help With Qmail

    "themanpage and other parts reflect that the patch did work."

    What are the other parts? Then you got it (smtp auth) works now?

  8. #8

    Re:Help With Qmail

    [quote author=pyfsapple link=board=4;threadid=7161;start=0#66388 date=1055122750]
    "themanpage and other parts reflect that the patch did work."

    What are the other parts? Then you got it (smtp auth) works now?
    [/quote]

    Well, I mean the binary md5sum is not the same as the original md5sum of qmail. The patch succedded when applying ... that kind of stuff.

    No, the smtp auth still doesn't work. It's odd.

  9. #9

    Re:Help With Qmail

    Did you use cmd5checkpw-0.22 for password checking?

    If you did, the followings may help you:

    Installation for cmd5checkpw-0.22
    tar -zvxf cmd5checkpw-0.22.tar.gz
    cd cmd5checkpw-0.22
    mkdir /usr/man
    mkdir /usr/man/man8
    make
    make install
    cp poppasswd /etc/
    chown qmaild /etc/poppasswd
    chmod 400 /etc/poppasswd
    chown qmaild /bin/cmd5checkpw
    chmod a+s /etc/cmd5checkpw

    And thus edit poppasswd (by vi or something else), insert the clear text user name and password:
    e.g. username:userpass

    I hope this helps!

  10. #10

    Re:Help With Qmail

    Here is the current 'run' file ...

    Code:
    #!/bin/sh
    QMAILDUID=`id -u qmaild`
    NOFILESGID=`id -g qmaild`
    MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
    
    if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" ]; then
        echo QMAILDUID, NOFILESGID, or MAXSMTPD is unset in
        echo /var/qmail/supervise/qmail-smtpd/run
        exit 1
    fi
    exec /usr/local/bin/softlimit -m 2000000 \
        envdir /etc/relay-ctrl \
        /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
       -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /usr/local/bin/relay-ctrl-check /var/qmail/bin/qmail-smtpd  2>&1
    It is currently using checkvpw .... would this stop the smtp server from allowing/showing support for ehlo?

Similar Threads

  1. qmail efficiency
    By lovewadhwa in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 09-14-2006, 06:24 AM
  2. Help setting up QMail
    By laxminarayanp in forum Linux - General Topics
    Replies: 1
    Last Post: 02-06-2006, 05:25 PM
  3. qmail
    By lynOS in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 04-20-2004, 05:05 AM
  4. Qmail flood HELP!!!
    By datamike in forum Linux - General Topics
    Replies: 3
    Last Post: 08-20-2003, 05:06 PM
  5. Qmail
    By flandercan in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 05-17-2002, 07:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •