Re: [vchkpw] more roaming user problems

2002-10-01 Thread Ken Jones

Make sure there is a /home/vpopmail directory owned by vpopmail.vchkpw
Looks like the configure script is unable to create the /home/vpopmail/etc 
directory. 

Ken Jones

On Friday 27 September 2002 03:48 pm, rm wrote:
> I seem to be going backwards with this.  I've decided to completely drop
> the mysql vpopmail database, delete the current vpopmail installation,
> remove all domain references from qmail control and rcpt host
> files,removed domain references from /qmail/usrs/assign & cdb, run
> qmail-newu, send killall -HUP to qmail-send, and completely reinstall
> vpopmail 5.2.1 from a new source download.
>
> I used the following configure options
> ./configure  --enable-roaming-users=y --enable-relay-clear-minutes=60
> --enable-mysql-logging=y --enable-clear-passwd=y
> --enable-incdir=/usr/include --enable-libdir=/usr/lib --enable-mysql=y
> --enable-mysql-replication=y --enable-valias
> --enable-tcprules-prog=/usr/local/bin/tcprules
> --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
> --enable-auth-logging=y
>
> I got a warning when running the above configure line -
> mkdir: cannot create directory /home/vpopmail/etc: No such file or dir
> configure: warning: maiking a vpopmail etc directory
> ./configure: /home/vpopmail/etc/lib_deps: No such file or directory
> ./configure: /home/vpopmail/etc/inc_deps: No such file or directory
>
> It does make and install without error - but..
>
> There is no /home/vpopmail/etc/tcp.smtp file, and when I try to add a
> test domain I get- Error:Domain does not exist.  When I check the domain
> directory, I find the domain was created - but the postmaster account
> was not.  When I try to add a user to the domain I also get- Error:
> Domain does not exist.
>
> This has become frustrating because I've installed vpopmail several
> times with few problems, but now even the basic functions won't work,
> let alone the roaming users feature that started this adventure.  Any
> ideas on what I've done wrong?
>
> thanks,
>
> regis
>
> On Thu, 2002-09-26 at 18:38, [EMAIL PROTECTED] wrote:
> > Hi,
> >
> > I just tried what Alfredo described in his message without success (I
> > still have to manually modify tcp.smtp to relay), any sugestion will be
> > appreciated.
> >
> >
> > MCA
> >
> > Alfredo Perez escribió:
> > >  This is an old e-mail i found Perhaps it will help
> > >
> > >
> > >
> > >  BEGIN HERE -
> > >
> > > On Friday, February 8, 2002, at 09:35 AM, Nicolas DEFFAYET wrote:
> > >> How do you use it with courier-imap ?
> > >> Because pop before smtp don't work, the user can't send a mail.
> > >
> > > This really should be put in the FAQ. Ken, how about adding this:
> > >
> > > Question: How do I get Courier-IMAP use vpopmail's "roaming users"?
> > >
> > > Answer: Follow these steps
> > >
> > > 1. Make sure vpopmail is compiled with --enable-roaming-users=y
> > > 2. Courier-IMAP doesn't detect roaming users in the vpopmail library
> > > correctly, so force it by doing something like this just before
> > > compiling:
> > > export CFLAGS="-DHAVE_OPEN_SMTP_RELAY"
> > > 3. compile courier-imap with --without-authdaemon --with-authvchkpw
> > > 4. Make sure you run your imap server as the same user as your pop
> > > server (so open-smtp and tcp.smtp have the same ownership). man
> > > couriertcpd for details, but you will change /usr/lib/courier-
> > > imap/libexec/imapd.rc something like this:
> > >
> > > Change this line:
> > > /usr/lib/courier-imap/libexec/couriertcpd -address=$ADDRESS \
> > >
> > > To:
> > > /usr/lib/courier-imap/libexec/couriertcpd -address=$ADDRESS \
> > > -user=vpopmail -group=vchkpw \
> > >
> > >
> > >
> > > Regards,
> > >
> > > Bill Shupp
> > >   END HERE -




RE: [vchkpw] more roaming user problems

2002-09-25 Thread rm

Hi Clayton,

Yeah, compiling from "fresh" source was one of the trouble shooting
ideas I tried early on.  Here's another observation.

The mysql "relay" table does get updated with each new remote log in. 
But... it seems to be updating the table AFTER the new log in exits.  I
discovered this when suddenly all of the messages that had previously
been refused by smtp - got sent immediately upon log in.  That was
because the remote log in was, by chance, issued the same IP as the
previous log in.  So... the IP was in the relay table from the previous
login and the mail sent without a problem.

Oddly, the IPs listed in my mysql relay table, which match the IP's in
the smtp log files - do not match the IP's in the /tcp.smtp.cdb file.
Not even the one IP that worked in the example above.

Seems like something is fubar.  Any other suggestions?

Regis
 
On Wed, 2002-09-25 at 09:56, Clayton Weise wrote:
> A couple things..
> 
> When you recompiled vpopmail with roaming user support, did you do it from
> "fresh" source code? e.g. source that you didn't alreay compile with
> different options.  Hope that makes sense.. and two, did you try moving your
> /home/vpopmail/bin directory somehwere else before doing the make
> install-strip?  Maybe some files didn't get overwritten.
> 
> As far as the syntax in your smtpd/run file it looks fine.  All you really
> need to do is start up tcpserver with -x /home/of/vpopmail/etc/tcp.smtp.cdb,
> which you've done.
> 
> -Clayton
> 
> -Original Message-
> From: rm [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 25, 2002 5:49 AM
> To: vchkpw mailing list
> Subject: RE: [vchkpw] more roaming user problems
> 
> 
> Thanks for the reply Dave,
> 
> I don't have a problem with sqwebmail.  I guess I did a lousy job of
> describing this problem.  Sqwebmail log in's work fine.  The problem is
> now I've got some people who want to use their mail clients rather than
> the web interface - and when they do they can pick up mail from the pop
> server ok - but when they try to send mail they get an error message
> that says "recipient not in allowed recpts hosts".  Which I believe
> means that their IP is not being written into the tcp.smtp.cdb file to
> allow them to relay.
> 
> So I'm thinking I missed a step here, but I don't see it in the docs or
> archives.  Meanwhile I'll keep trying to tweak the smtp/run file and
> hope I can find the right combination!
> 
> Regis
> 
> 
> On Tue, 2002-09-24 at 19:57, Dave Ellsworth wrote:
> > Personally I'd probably try to reconfigure and recompile sqwebmail.  I'm
> not
> > sure if that'll solve the problem though.
> >
> > -Original Message-
> > From: rm [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, September 24, 2002 6:10 PM
> > To: vchkpw mailing list
> > Subject: [vchkpw] more roaming user problems
> >
> >
> > After several months of getting by with sqwebmail for remote users,
> > we've decided to add the "enable roaming users" option.  It seemed
> > simple enough in reading the docs and the archive messages on this
> > subject.  But I seem to have missed something.
> >
> > My configure line is:
> > ./configure  --enable-roaming-user=y
> > --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
> > --enable-relay-clear-minutes=60 --enable-mysql-logging=y
> > --enable-clear-passwd=y --enable-incdir=/usr/include
> > --enable-libdir=/usr/lib --enable-mysql=y --enable-mysql-replication=y
> > --enable-valias=y
> >
> > I modified the smtp run file to use the correct path to
> > /home/vpopmail/etc/tcp.smtp - originally I used the "life with qmail"
> > example - so the modified file looks like this:
> >
> > #!/bin/sh
> > QMAILDUID=`id -u qmaild`
> > NOFILESGID=`id -g qmaild`
> > 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-smtpd/run
> > exit 1
> > fi
> > exec /usr/local/bin/softlimit -m 400 \
> > /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x
> > /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
> > -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
> > /var/qmail/bin/qmail-smtpd 2>&1
> >
> > I copied the tcp.smtp and the tcp.smtp.cdb file from /etc into
> > /home/vpopmail/etc
> >
> > I also tried to add > /dev/null &  at the end of the smtp run file, as
> > shown in the FAQ example; but when I add that - the smtp server won't
> > start.
> >
> > In any event - remote logins keep getting the error message "recipient
> > not in allowed rcpt hosts" when they try to send mail.
> >
> > Any ideas on what I've missed here?
> >
> > Thanks,
> >
> > Regis
> >
> >
> >
> >
> >
> 
> 
> 





RE: [vchkpw] more roaming user problems

2002-09-25 Thread Clayton Weise

A couple things..

When you recompiled vpopmail with roaming user support, did you do it from
"fresh" source code? e.g. source that you didn't alreay compile with
different options.  Hope that makes sense.. and two, did you try moving your
/home/vpopmail/bin directory somehwere else before doing the make
install-strip?  Maybe some files didn't get overwritten.

As far as the syntax in your smtpd/run file it looks fine.  All you really
need to do is start up tcpserver with -x /home/of/vpopmail/etc/tcp.smtp.cdb,
which you've done.

-Clayton

-Original Message-
From: rm [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 25, 2002 5:49 AM
To: vchkpw mailing list
Subject: RE: [vchkpw] more roaming user problems


Thanks for the reply Dave,

I don't have a problem with sqwebmail.  I guess I did a lousy job of
describing this problem.  Sqwebmail log in's work fine.  The problem is
now I've got some people who want to use their mail clients rather than
the web interface - and when they do they can pick up mail from the pop
server ok - but when they try to send mail they get an error message
that says "recipient not in allowed recpts hosts".  Which I believe
means that their IP is not being written into the tcp.smtp.cdb file to
allow them to relay.

So I'm thinking I missed a step here, but I don't see it in the docs or
archives.  Meanwhile I'll keep trying to tweak the smtp/run file and
hope I can find the right combination!

Regis


On Tue, 2002-09-24 at 19:57, Dave Ellsworth wrote:
> Personally I'd probably try to reconfigure and recompile sqwebmail.  I'm
not
> sure if that'll solve the problem though.
>
> -Original Message-
> From: rm [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 24, 2002 6:10 PM
> To: vchkpw mailing list
> Subject: [vchkpw] more roaming user problems
>
>
> After several months of getting by with sqwebmail for remote users,
> we've decided to add the "enable roaming users" option.  It seemed
> simple enough in reading the docs and the archive messages on this
> subject.  But I seem to have missed something.
>
> My configure line is:
> ./configure  --enable-roaming-user=y
> --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
> --enable-relay-clear-minutes=60 --enable-mysql-logging=y
> --enable-clear-passwd=y --enable-incdir=/usr/include
> --enable-libdir=/usr/lib --enable-mysql=y --enable-mysql-replication=y
> --enable-valias=y
>
> I modified the smtp run file to use the correct path to
> /home/vpopmail/etc/tcp.smtp - originally I used the "life with qmail"
> example - so the modified file looks like this:
>
> #!/bin/sh
> QMAILDUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> 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-smtpd/run
> exit 1
> fi
> exec /usr/local/bin/softlimit -m 400 \
> /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x
> /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
> -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
> /var/qmail/bin/qmail-smtpd 2>&1
>
> I copied the tcp.smtp and the tcp.smtp.cdb file from /etc into
> /home/vpopmail/etc
>
> I also tried to add > /dev/null &  at the end of the smtp run file, as
> shown in the FAQ example; but when I add that - the smtp server won't
> start.
>
> In any event - remote logins keep getting the error message "recipient
> not in allowed rcpt hosts" when they try to send mail.
>
> Any ideas on what I've missed here?
>
> Thanks,
>
> Regis
>
>
>
>
>






RE: [vchkpw] more roaming user problems

2002-09-25 Thread rm

Thanks for the reply Dave,

I don't have a problem with sqwebmail.  I guess I did a lousy job of
describing this problem.  Sqwebmail log in's work fine.  The problem is
now I've got some people who want to use their mail clients rather than
the web interface - and when they do they can pick up mail from the pop
server ok - but when they try to send mail they get an error message
that says "recipient not in allowed recpts hosts".  Which I believe
means that their IP is not being written into the tcp.smtp.cdb file to
allow them to relay.

So I'm thinking I missed a step here, but I don't see it in the docs or
archives.  Meanwhile I'll keep trying to tweak the smtp/run file and
hope I can find the right combination!

Regis


On Tue, 2002-09-24 at 19:57, Dave Ellsworth wrote:
> Personally I'd probably try to reconfigure and recompile sqwebmail.  I'm not
> sure if that'll solve the problem though.
> 
> -Original Message-
> From: rm [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 24, 2002 6:10 PM
> To: vchkpw mailing list
> Subject: [vchkpw] more roaming user problems
> 
> 
> After several months of getting by with sqwebmail for remote users,
> we've decided to add the "enable roaming users" option.  It seemed
> simple enough in reading the docs and the archive messages on this
> subject.  But I seem to have missed something.
> 
> My configure line is:
> ./configure  --enable-roaming-user=y
> --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
> --enable-relay-clear-minutes=60 --enable-mysql-logging=y
> --enable-clear-passwd=y --enable-incdir=/usr/include
> --enable-libdir=/usr/lib --enable-mysql=y --enable-mysql-replication=y
> --enable-valias=y
> 
> I modified the smtp run file to use the correct path to
> /home/vpopmail/etc/tcp.smtp - originally I used the "life with qmail"
> example - so the modified file looks like this:
> 
> #!/bin/sh
> QMAILDUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> 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-smtpd/run
> exit 1
> fi
> exec /usr/local/bin/softlimit -m 400 \
> /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x
> /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
> -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
> /var/qmail/bin/qmail-smtpd 2>&1
> 
> I copied the tcp.smtp and the tcp.smtp.cdb file from /etc into
> /home/vpopmail/etc
> 
> I also tried to add > /dev/null &  at the end of the smtp run file, as
> shown in the FAQ example; but when I add that - the smtp server won't
> start.
> 
> In any event - remote logins keep getting the error message "recipient
> not in allowed rcpt hosts" when they try to send mail.
> 
> Any ideas on what I've missed here?
> 
> Thanks,
> 
> Regis
> 
> 
> 
> 
> 





RE: [vchkpw] more roaming user problems

2002-09-24 Thread Dave Ellsworth

Personally I'd probably try to reconfigure and recompile sqwebmail.  I'm not
sure if that'll solve the problem though.

-Original Message-
From: rm [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 6:10 PM
To: vchkpw mailing list
Subject: [vchkpw] more roaming user problems


After several months of getting by with sqwebmail for remote users,
we've decided to add the "enable roaming users" option.  It seemed
simple enough in reading the docs and the archive messages on this
subject.  But I seem to have missed something.

My configure line is:
./configure  --enable-roaming-user=y
--enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
--enable-relay-clear-minutes=60 --enable-mysql-logging=y
--enable-clear-passwd=y --enable-incdir=/usr/include
--enable-libdir=/usr/lib --enable-mysql=y --enable-mysql-replication=y
--enable-valias=y

I modified the smtp run file to use the correct path to
/home/vpopmail/etc/tcp.smtp - originally I used the "life with qmail"
example - so the modified file looks like this:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
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-smtpd/run
exit 1
fi
exec /usr/local/bin/softlimit -m 400 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x
/home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
/var/qmail/bin/qmail-smtpd 2>&1

I copied the tcp.smtp and the tcp.smtp.cdb file from /etc into
/home/vpopmail/etc

I also tried to add > /dev/null &  at the end of the smtp run file, as
shown in the FAQ example; but when I add that - the smtp server won't
start.

In any event - remote logins keep getting the error message "recipient
not in allowed rcpt hosts" when they try to send mail.

Any ideas on what I've missed here?

Thanks,

Regis








Re: [vchkpw] more roaming user problems

2002-09-24 Thread rm

Thanks for replying Alfredo,

I'm not using courier-imap, just straight pop3d.  Sorry, I guess I
should've made that clear.  The steps I've taken are based on what I've
found in the archives and the docs, but I must be mis interpreting
something...  Also, I'm using Redhat 7.1 if that gives any clues.  

regis


On Tue, 2002-09-24 at 17:23, Alfredo Perez wrote:
>   Hi,
> 
> 
>  I read about this in the archive time ago, since I had this problem
> before. The problem is when you compile courier-imap.  It seems
> courier-imap does not recognize automatically the roaming users option
> from vpopmail I don't remember what option or file you have to edit in
> courier-imap. But I am quite sure it is in the archives.
> 
> 
>  Greetings 
> 
> 
> El mar, 24-09-2002 a las 17:09, rm escribió:
> > After several months of getting by with sqwebmail for remote users,
> > we've decided to add the "enable roaming users" option.  It seemed
> > simple enough in reading the docs and the archive messages on this
> > subject.  But I seem to have missed something.
> > 
> > My configure line is:
> > ./configure  --enable-roaming-user=y
> > --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
> > --enable-relay-clear-minutes=60 --enable-mysql-logging=y
> > --enable-clear-passwd=y --enable-incdir=/usr/include
> > --enable-libdir=/usr/lib --enable-mysql=y --enable-mysql-replication=y
> > --enable-valias=y
> > 
> > I modified the smtp run file to use the correct path to
> > /home/vpopmail/etc/tcp.smtp - originally I used the "life with qmail"
> > example - so the modified file looks like this:
> > 
> > #!/bin/sh
> > QMAILDUID=`id -u qmaild`
> > NOFILESGID=`id -g qmaild`
> > 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-smtpd/run
> > exit 1
> > fi
> > exec /usr/local/bin/softlimit -m 400 \
> > /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x
> > /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
> > -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
> > /var/qmail/bin/qmail-smtpd 2>&1
> > 
> > I copied the tcp.smtp and the tcp.smtp.cdb file from /etc into
> > /home/vpopmail/etc
> > 
> > I also tried to add > /dev/null &  at the end of the smtp run file, as
> > shown in the FAQ example; but when I add that - the smtp server won't
> > start.
> > 
> > In any event - remote logins keep getting the error message "recipient
> > not in allowed rcpt hosts" when they try to send mail.
> > 
> > Any ideas on what I've missed here?
> > 
> > Thanks,
> > 
> > Regis
> > 
> > 
> > 
> > 
> 
> 





Re: [vchkpw] more roaming user problems

2002-09-24 Thread Alfredo Perez

 This is an old e-mail i found Perhaps it will help 



 BEGIN HERE -
On Friday, February 8, 2002, at 09:35 AM, Nicolas DEFFAYET wrote:

> How do you use it with courier-imap ?
> Because pop before smtp don't work, the user can't send a mail.

This really should be put in the FAQ. Ken, how about adding this:

Question: How do I get Courier-IMAP use vpopmail's "roaming users"?

Answer: Follow these steps

1. Make sure vpopmail is compiled with --enable-roaming-users=y
2. Courier-IMAP doesn't detect roaming users in the vpopmail library
correctly, so force it by doing something like this just before
compiling:
export CFLAGS="-DHAVE_OPEN_SMTP_RELAY"
3. compile courier-imap with --without-authdaemon --with-authvchkpw
4. Make sure you run your imap server as the same user as your pop
server (so open-smtp and tcp.smtp have the same ownership). man
couriertcpd for details, but you will change /usr/lib/courier-
imap/libexec/imapd.rc something like this:

Change this line:
/usr/lib/courier-imap/libexec/couriertcpd -address=$ADDRESS \

To:
/usr/lib/courier-imap/libexec/couriertcpd -address=$ADDRESS \
-user=vpopmail -group=vchkpw \



Regards,

Bill Shupp
  END HERE -

El mar, 24-09-2002 a las 17:09, rm escribió:
> After several months of getting by with sqwebmail for remote users,
> we've decided to add the "enable roaming users" option.  It seemed
> simple enough in reading the docs and the archive messages on this
> subject.  But I seem to have missed something.
> 
> My configure line is:
> ./configure  --enable-roaming-user=y
> --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
> --enable-relay-clear-minutes=60 --enable-mysql-logging=y
> --enable-clear-passwd=y --enable-incdir=/usr/include
> --enable-libdir=/usr/lib --enable-mysql=y --enable-mysql-replication=y
> --enable-valias=y
> 
> I modified the smtp run file to use the correct path to
> /home/vpopmail/etc/tcp.smtp - originally I used the "life with qmail"
> example - so the modified file looks like this:
> 
> #!/bin/sh
> QMAILDUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> 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-smtpd/run
> exit 1
> fi
> exec /usr/local/bin/softlimit -m 400 \
> /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x
> /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
> -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
> /var/qmail/bin/qmail-smtpd 2>&1
> 
> I copied the tcp.smtp and the tcp.smtp.cdb file from /etc into
> /home/vpopmail/etc
> 
> I also tried to add > /dev/null &  at the end of the smtp run file, as
> shown in the FAQ example; but when I add that - the smtp server won't
> start.
> 
> In any event - remote logins keep getting the error message "recipient
> not in allowed rcpt hosts" when they try to send mail.
> 
> Any ideas on what I've missed here?
> 
> Thanks,
> 
> Regis
> 
> 
> 
> 





Re: [vchkpw] more roaming user problems

2002-09-24 Thread Alfredo Perez

  Hi,


 I read about this in the archive time ago, since I had this problem
before. The problem is when you compile courier-imap.  It seems
courier-imap does not recognize automatically the roaming users option
from vpopmail I don't remember what option or file you have to edit in
courier-imap. But I am quite sure it is in the archives.


 Greetings 


El mar, 24-09-2002 a las 17:09, rm escribió:
> After several months of getting by with sqwebmail for remote users,
> we've decided to add the "enable roaming users" option.  It seemed
> simple enough in reading the docs and the archive messages on this
> subject.  But I seem to have missed something.
> 
> My configure line is:
> ./configure  --enable-roaming-user=y
> --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
> --enable-relay-clear-minutes=60 --enable-mysql-logging=y
> --enable-clear-passwd=y --enable-incdir=/usr/include
> --enable-libdir=/usr/lib --enable-mysql=y --enable-mysql-replication=y
> --enable-valias=y
> 
> I modified the smtp run file to use the correct path to
> /home/vpopmail/etc/tcp.smtp - originally I used the "life with qmail"
> example - so the modified file looks like this:
> 
> #!/bin/sh
> QMAILDUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> 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-smtpd/run
> exit 1
> fi
> exec /usr/local/bin/softlimit -m 400 \
> /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x
> /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
> -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
> /var/qmail/bin/qmail-smtpd 2>&1
> 
> I copied the tcp.smtp and the tcp.smtp.cdb file from /etc into
> /home/vpopmail/etc
> 
> I also tried to add > /dev/null &  at the end of the smtp run file, as
> shown in the FAQ example; but when I add that - the smtp server won't
> start.
> 
> In any event - remote logins keep getting the error message "recipient
> not in allowed rcpt hosts" when they try to send mail.
> 
> Any ideas on what I've missed here?
> 
> Thanks,
> 
> Regis
> 
> 
> 
>