This is a discussion on Qmail SMTP Auth or VCHKPW within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; I installed Qmail-Toaster following the direction from " Nick Hemmesch step by step guide for Red Hat." on ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I installed Qmail-Toaster following the direction from " Nick Hemmesch step
by step guide for Red Hat." on RedHat 9 then setup 10 or so domains, everyone is sending and receiving e-mail and Horde web mail works BUT: I can't figure out how to force SMTP to check client passwords.... My /var/qmail/supervise/smtp/run file: #!/bin/sh QMAILDUID=`id -u vpopmail` NOFILESGID=`id -g vpopmail` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` BLACKLIST=`cat /var/qmail/control/blacklists` SMTPD="/var/qmail/bin/qmail-smtpd" TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb" RBLSMTPD="/usr/bin/rblsmtpd" HOSTNAME=`hostname` VCHKPW="/home/vpopmail/bin/vchkpw" exec /usr/bin/softlimit -m 3800000 \ /usr/bin/tcpserver -v -R -S -p -x $TCP_CDB -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ $RBLSMTPD $BLACKLIST $SMTPD $HOSTNAME $VCHKPW /bin/true 2>&1 I have Outlook set to use a password to login to send mail and outlook sends mail, if I un-check the SMTP Authorization box I can still send mail..... Thanks |
|
|||
|
"Kevin" <kevinNOSPAM@talkcycle.com> wrote :
> I installed Qmail-Toaster following the direction from " Nick Hemmesch step > by step guide for Red Hat." on RedHat 9 then setup 10 or so domains, > everyone is sending and receiving e-mail and Horde web mail works BUT: > I can't figure out how to force SMTP to check client passwords.... My > /var/qmail/supervise/smtp/run file: <snip> > I have Outlook set to use a password to login to send mail and outlook sends > mail, if I un-check the SMTP Authorization box I can still send mail..... What is in your control/rcpthosts file? What is in your /etc/tcprules.d/tcp.smtp file? Please be very careful with this server until you get this straightened out, you may be an open relay right now. |
|
|||
|
/etc/tcprules.d/tcp.smtp
127.:allow,RELAYCLIENT="" /var/qmail/control/rcpthosts a list of my domains, one domain per line Thank you for any help on this "ZappaFan2k1" <loser_1@email.com> wrote in message news:71b36d9e.0310270820.167186ec@posting.google.c om... > "Kevin" <kevinNOSPAM@talkcycle.com> wrote : > > I installed Qmail-Toaster following the direction from " Nick Hemmesch step > > by step guide for Red Hat." on RedHat 9 then setup 10 or so domains, > > everyone is sending and receiving e-mail and Horde web mail works BUT: > > I can't figure out how to force SMTP to check client passwords.... My > > /var/qmail/supervise/smtp/run file: > <snip> > > I have Outlook set to use a password to login to send mail and outlook sends > > mail, if I un-check the SMTP Authorization box I can still send mail..... > > What is in your control/rcpthosts file? > What is in your /etc/tcprules.d/tcp.smtp file? > Please be very careful with this server until you get this > straightened out, you may be an open relay right now. |
|
|||
|
"Kevin" <kevinNOSPAM@talkcycle.com> wrote:
> /etc/tcprules.d/tcp.smtp > 127.:allow,RELAYCLIENT="" > /var/qmail/control/rcpthosts > a list of my domains, one domain per line Have you tried: 1. grep 127 /etc/tcprules.d/tcp.smtp.cdb # make sure this file was compiled 2. telnet localhost 25 and run EHLO and make sure that the AUTH patch was applied 2a. Actually, it's probably a good idea to make sure that none of the variables declared in the beginning of the script are empty. 3. What is in /var/qmail/control/blacklists? 4. Did you follow directions similar to those found here? http://members.elysium.pl/brush/qmai...th/faq.html#a3 5. I am assuming that when you tested this with Outlook that you were sending mail to a domain that is not listed in rcpthosts 6. I should warn you that if all else fails my recommendation will be to scrap your qmail installation and recompile and install it via http://www.lifewithqmail.org. I am not familiar with Nick Hemmesch's guide but have followed LWQ several times and had a solid qmail installation built and running within fifteen minutes. |
|
|||
|
Telnet login:
[root@aca8 root]# telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 Welcome to QMAIL TOASTER v 1.0 smtp Server ESMTP EHLO 250-Welcome to QMAIL TOASTER v 1.0 smtp Server 250-STARTTLS 250-AUTH LOGIN CRAM-MD5 PLAIN 250-AUTH=LOGIN CRAM-MD5 PLAIN 250-PIPELINING 250-8BITMIME 250 SIZE 0 -- of course I have no idea what I'm looking at. While looking at the logs I found: @400000003fa142323453d5fc qmail-smtpd: pid 13725 from 196.32.51.118 Invalid RELAY client: MAIL from: <svzvp@jubiipost.dk> and I've figured out that vpopmail is doing the auth with vchkpw As far as I can tell everyting is working : I have not found anything that test a qmail setup other then the telnet login from the last post. "ZappaFan2k1" <loser_1@email.com> wrote in message news:71b36d9e.0310290247.7d221adf@posting.google.c om... > "Kevin" <kevinNOSPAM@talkcycle.com> wrote: > > > /etc/tcprules.d/tcp.smtp > > 127.:allow,RELAYCLIENT="" > > /var/qmail/control/rcpthosts > > a list of my domains, one domain per line > > Have you tried: > 1. grep 127 /etc/tcprules.d/tcp.smtp.cdb # make sure this file was > compiled > 2. telnet localhost 25 and run EHLO and make sure that the AUTH patch > was applied > 2a. Actually, it's probably a good idea to make sure that none of the > variables declared in the beginning of the script are empty. > 3. What is in /var/qmail/control/blacklists? > 4. Did you follow directions similar to those found here? > http://members.elysium.pl/brush/qmai...th/faq.html#a3 > 5. I am assuming that when you tested this with Outlook that you were > sending mail to a domain that is not listed in rcpthosts > 6. I should warn you that if all else fails my recommendation will be > to scrap your qmail installation and recompile and install it via > http://www.lifewithqmail.org. I am not familiar with Nick Hemmesch's > guide but have followed LWQ several times and had a solid qmail > installation built and running within fifteen minutes. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|