[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qmail
Subject:    Re: yQmail authentication
From:       TArak <lifewithqmail () gmail ! com>
Date:       2008-03-21 16:15:29
Message-ID: 3252a3970803210903u1a41dde6r15cd6823a3ebc5a2 () mail ! gmail ! com
[Download RAW message or body]

On 21 Mar 2008 15:55:21 -0000, Erwin Hoffmann <feh@fehcom.de> wrote:
>
> Hi,
>
> On Fri, 21 Mar 2008 14:29:18 +0530, "Qmail Tarak" <lifewithqmail@gmail.com
> >
> wrote :
>
> >
> > Hi list,
> > i have asked this question before also, nobody has given me any clue or
> > suggession, my query was simple--- untill and unless user send a AUTH
> > request , and after validating the user will able to send or relay mail
> from
> > my server, here is my qmail-submission/run file
>
>
> ??? What is your question ???
>
> Vanilla qmail has no build-in support for SMTP authentication.
>
> You could use my patch (http://www.fehcom.de/qmail/smtpauth.html)
>
> to accomplish this. There are also hints how to set it up.
>
> regards.
> --eh.
>
>
>
> > #!/bin/sh
> > QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue" ; export QMAILQUEUE
> > QMAILDUID=`id -u vpopmail`
> > NOFILESGID=`id -g vpopmail`
> > MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> > LOCAL=`head -1 /var/qmail/control/me`
> > if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z
> > "$LOCAL" ]; then
> > echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
> > echo /var/qmail/supervise/qmail-submission/run
> > exit 1
> > fi
> > if [ ! -f /var/qmail/control/rcpthosts ]; then
> > echo "No /var/qmail/control/rcpthosts!"
> > echo "Refusing to start SMTP listener because it'll create an open
> relay"
> > exit 1
> > fi
> > exec /usr/local/bin/softlimit -m 40000000 \
> > /usr/local/bin/tcpserver -H -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
> > "$MAXSMTPD" \
> > -u "$QMAILDUID" -g "$NOFILESGID" 0 587 \
> > /usr/local/bin/recordio sh -c '/var/qmail/bin/qmail-smtpd xxx.xxx.xxx \
> > /home/vpopmail/bin/vchkpw true 2>&1'
> >
> > any link, any documrntation will be appritiable
> sorry that was a mistake , that is only qmail using LWQ, i have gone
> through you documentation several times, i want to make smtp AUTH mendatory,
> witthout AUTH failed also users are able to send mail using my server,
> simply AUTH is not functioning properly. currently i'm trying to install
> checkpassword from DJB but i'm getting the following error , but vchkpw utility.
> i've given my run file is there changes i have to do?


the error is while installing checkpassword is
"/usr/bin/ld: errno: *TLS definition in /lib/libc.so.6 section* .*tbss
mismatches* *non-TLS reference in checkpassword.o* /*lib/libc.so.6*

/\
Tarak

[Attachment #3 (text/html)]

<br><br>
<div><span class="gmail_quote">On 21 Mar 2008 15:55:21 -0000, <b \
class="gmail_sendername">Erwin Hoffmann</b> &lt;<a \
href="mailto:feh@fehcom.de">feh@fehcom.de</a>&gt; wrote:</span> <blockquote \
class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: \
#ccc 1px solid">Hi,<br><br>On Fri, 21 Mar 2008 14:29:18 +0530, &quot;Qmail \
Tarak&quot; &lt;<a href="mailto:lifewithqmail@gmail.com">lifewithqmail@gmail.com</a>&gt;<br>
 wrote :<br><br>&gt;<br>&gt; Hi list,<br>&gt; i have asked this question before also, \
nobody has given me any clue or<br>&gt; suggession, my query was simple--- untill and \
unless user send a AUTH<br>&gt; request , and after validating the user will able to \
send or relay mail from<br> &gt; my server, here is my qmail-submission/run \
file<br><br><br>??? What is your question ???<br><br>Vanilla qmail has no build-in \
support for SMTP authentication.<br><br>You could use my patch (<a \
href="http://www.fehcom.de/qmail/smtpauth.html">http://www.fehcom.de/qmail/smtpauth.html</a>)<br>
 <br>to accomplish this. There are also hints how to set it \
up.<br><br>regards.<br>--eh.<br><br><br><br>&gt; #!/bin/sh<br>&gt; \
QMAILQUEUE=&quot;/var/qmail/bin/qmail-scanner-queue&quot; ; export QMAILQUEUE<br>&gt; \
QMAILDUID=`id -u vpopmail`<br> &gt; NOFILESGID=`id -g vpopmail`<br>&gt; MAXSMTPD=`cat \
/var/qmail/control/concurrencyincoming`<br>&gt; LOCAL=`head -1 \
/var/qmail/control/me`<br>&gt; if [ -z &quot;$QMAILDUID&quot; -o -z \
&quot;$NOFILESGID&quot; -o -z &quot;$MAXSMTPD&quot; -o -z<br> &gt; &quot;$LOCAL&quot; \
]; then<br>&gt; echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in<br>&gt; \
echo /var/qmail/supervise/qmail-submission/run<br>&gt; exit 1<br>&gt; fi<br>&gt; if [ \
! -f /var/qmail/control/rcpthosts ]; then<br> &gt; echo &quot;No \
/var/qmail/control/rcpthosts!&quot;<br>&gt; echo &quot;Refusing to start SMTP \
listener because it&#39;ll create an open relay&quot;<br>&gt; exit 1<br>&gt; \
fi<br>&gt; exec /usr/local/bin/softlimit -m 40000000 \<br> &gt; \
/usr/local/bin/tcpserver -H -v -R -l &quot;$LOCAL&quot; -x /etc/tcp.smtp.cdb \
-c<br>&gt; &quot;$MAXSMTPD&quot; \<br>&gt; -u &quot;$QMAILDUID&quot; -g \
&quot;$NOFILESGID&quot; 0 587 \<br>&gt; /usr/local/bin/recordio sh -c \
&#39;/var/qmail/bin/qmail-smtpd xxx.xxx.xxx \<br> &gt; /home/vpopmail/bin/vchkpw true \
2&gt;&amp;1&#39;<br>&gt;<br>&gt; any link, any documrntation will be \
appritiable<br>sorry that was a mistake , that is only qmail using LWQ, i have gone \
through you documentation several times, i want to make smtp AUTH mendatory, witthout \
AUTH failed also users are able to send mail using my server, simply AUTH is not \
functioning properly. currently i&#39;m trying to install checkpassword from DJB but \
i&#39;m getting the following error , but <font color="#550055">vchkpw </font><font \
color="#000000">utility. i&#39;ve given my run file is there changes i have to do? \
</font></blockquote>

<div>&nbsp;</div>
<div>the error is while installing checkpassword is</div>
<div>&quot;/usr/bin/ld: errno: <b>TLS definition in /lib/libc.so.6 section</b> \
.<b>tbss mismatches</b> <b>non-TLS reference in checkpassword.o</b> \
/<b>lib/libc.so.6</b></div> <div>&nbsp;</div>
<div>/\</div>
<div>Tarak</div><br>&nbsp;</div><br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic