hello friends


  i have installed serialmail package and trying to use it , but its not
working

  i have followd all the steps specified in AUTOTURN file which comes
with source code of serialmail

  i am running qmail with  ldap,


  these are my configuration Details  step by step


1)  created a directory "autoturn'   in /var/qmail/
 then

 maildirmake   1.2.3.4
chown  -R  qmaild 1.2.3.4
echo  ./1.2.3.4/    >   .qmail-1.2.3.4-default
chmod 644   .qmail-1.2.3.4-default


( 1.2.3.4 = static ip address of my my client  for whom i am trying to
use this AUTOTURN)

2)   changed the group of this newly created    /var/qmail/autoturn
directory to group "qmail"
3)   chmod 2755 /var/qmail/autoturn

4)   i have put the line
"+autoturn-:qmaild:503:502:/var/qmail/autoturn:-::
                             where 503 is uid of qmaild
                                         502 is uid of nofiles

       in /var/qmail/users/assign


5)   the i  have also run /var/qmail/bin/qmail-newu  command sucessfully
and it is creating the "cdb" file.

6)  and replaced  "qmail-smtpd"  with

              following

               sh -c '
 /var/qmail/bin/qmail-smtpd
 cd /var/qmail/autoturn
 exec setlock -nx $TCPREMPTEIP/seriallock \
 /usr/local/bin/maildirsmtp $TCPREMOTEIP /var/qmail/autoturn/
-$TCPREMOTEIP -$TC
 PREMOTEIP AutoTURN


( Is this the correct script ,because i dont know much about this)

7)   i have also defined specified

       this same qmail node in MX for that perticular domain for which
i wants to use "AUTOTURN" featur

8)    i have specified the same domain name in  "rcpthosts" and
"virtualdomains", control files.

        content of rcpthosts file
                diskonnet.com
                bogus.com

        content of virtualdomains

                bogus.com:autoturn-1.2.3.4

   where 1.2.3.4  is the static ip which our customer is using



 my problem is ,

 when i am trying to telnet on port 25  on the mechine running qmail
with above config, it gives

cant connect  to service not available , now as soon as   i have
replaced "qmail-smtpd" in tcpserver call with   the script  which is
given in the document

for your   reference   i am again specifying the script
 sh -c '
 /var/qmail/bin/qmail-smtpd
 cd /var/qmail/autoturn
 exec setlock -nx $TCPREMPTEIP/seriallock \
 /usr/local/bin/maildirsmtp $TCPREMOTEIP /var/qmail/autoturn/
-$TCPREMOTEIP -$TC
 PREMOTEIP AutoTURN



 now if i  just run this script

 then

its giving me a smtp prompt which  we usually  get if we telnet  to port
"25".

now when i will give

"mail from: [EMAIL PROTECTED]"

O.k.

"rcpt to:  [EMAIL PROTECTED]"

o.k

data

go ahead

now when i will type somedata  and press return key

 its giving

451 See http://pobox.com/~djb/docs/smtplf.html.

maildirserial: fatal: unable to scan $MAILDIR/new: file does not exist



   now   please  point me  what i am doing something wrong  ,

  i dont know why  , its giving me this error , bcoz

 i have created Maildir

in  /var/qmail/autoturn/1.2.3.4/Maildir

i have also tried creating " Maildir"

in  /var/qmail/autoturn/Maildir


 i have tried  it for  4-5 days, but unfortunately  i am not able to
solve it ,


thanks & Regards
Prashant Desai

Reply via email to