[vchkpw] pop3 before smtp

2004-06-22 Thread Raymond Luong
Hello All

I am having the hardest problem trying to get pop3 before smtp to work in
vpopmail. If there is anyone that got it to work, can you please contact
me. I have a few question and comparison I would like to ask.

Raymond



Re: [vchkpw] roaming users

2004-06-18 Thread Raymond Luong
Is the start up script my qmail-smtpd run file. Because in that file it
has a command " -v -x /etc/tcp.smtp.cdb \"
if I change that to "~vpopmail/etc/tcp.smtp.cdb"  will that work.
Also do I need to change qmailctl to point to "~vpopmail/etc/tcp.smtp"

I followed the instruction from
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm
in building my box.

Thanks a lot for your input so far.

Raymond


> http://scriptkitchen.com/godkills.jpg <--- please, think of the kittens.
>
> On Friday 18 June 2004 11:57 am, Raymond Luong wrote:
>> My startup script is my qmailctl script right? I'm really sorry about
>> the
>> stupid question. This is like navigate the Universe for me.
>
> not likely.
>
> You should go back and look at whatever you used to install and set up
> qmail
> to see where it says your startup scripts are.  If you can't figure it out
> you should remove what you have and follow www.lifewithqmail.org so you
> know
> what you're doing.
>
> -Jeremy
>
> --
> Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies,
> Inc.
>   [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470
> int'l
> kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
>
>



Re: [vchkpw] roaming users

2004-06-18 Thread Raymond Luong
My startup script is my qmailctl script right? I'm really sorry about the
stupid question. This is like navigate the Universe for me.

raymond


> http://scripkitchen.com/godkills.jpg <-- please, think of the kittens!
>
> On Friday 18 June 2004 11:43 am, Raymond Luong wrote:
>> Well, I'm really sorry, and I'm very thankful for your help but can you
>> give  me more detail on how to tell my tcpserver to look at my
>> ~vpopmail/etc/tcp.smtp instead.
>
> http://cr.yp.to/ucspi-tcp/tcpserver.html
>
> look at the -x flag.  Then, look at your startup script.  It should
> magically
> come to you.
>
>> Also, I am using vpopmail's roaming usres function, but it is not
>> working.
>> thats why I'm writing this email.
>
> right, probably because you're not telling tcpserver to look at the proper
> file.
>
> -Jeremy
>
> --
> Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies,
> Inc.
>   [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470
> int'l
> kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
>
>



Re: [vchkpw] roaming users

2004-06-18 Thread Raymond Luong
Well, I'm really sorry, and I'm very thankful for your help but can you
give  me more detail on how to tell my tcpserver to look at my
~vpopmail/etc/tcp.smtp instead.

Also, I am using vpopmail's roaming usres function, but it is not working.
thats why I'm writing this email.

raymond


> On Friday 18 June 2004 11:30 am, Raymond Luong wrote:
>> I would like to add, since my qmailctl cdb is still reading off my
>> /etc/tcp.smtp, and assuming my vpopmail is recompileing my tcp.smtp
>> everytime someone login through pop3, can I just edit my qmailctl and
>> qmail-smtp file and point the tcp.smtp at my ~vpopmail/etc/tcp.smtp?
>> Will
>> that work. I am afraid to do it because my mail box is a live production
>> box. Don't want to do it unless I get more feed back.
>
> well, if you're using vpopmail's roaming users you'll probably want to use
> vpopmail's built in function to rebuild the cdb file or you won't get the
> proper relay entries (at least until the next time someone checks their
> mail)
>
> ~vpopmail/bin/clearopensmtp
>
> Then just tell tcpserver to look at that cdb file and you're all set.
>
> -Jeremy
>
> --
> Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies,
> Inc.
>   [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470
> int'l
> kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
>
>



Re: [vchkpw] roaming users

2004-06-18 Thread Raymond Luong
I would like to add, since my qmailctl cdb is still reading off my
/etc/tcp.smtp, and assuming my vpopmail is recompileing my tcp.smtp
everytime someone login through pop3, can I just edit my qmailctl and
qmail-smtp file and point the tcp.smtp at my ~vpopmail/etc/tcp.smtp? Will
that work. I am afraid to do it because my mail box is a live production
box. Don't want to do it unless I get more feed back.raymond> > When I do the command qmailctl cdbmy
box reload /etc/tcp.smtp and> /etc/tcp.pop3. It is not reading
from /home/vpopmail/etc/tcp.smtp. How can> I get it to read the
~vpopmail/etc/tcp.smtp instead, and how can I know> that my
vpopmail is recompiling my tcp.smtp file when there is pop>
authentication.ThanksRaymond


Re: [vchkpw] roaming users

2004-06-18 Thread Raymond Luong

>From what you are saying, I will have to recompile everything to get
roaming user to work?raymond> > > Franck (Linuxpourtous) wrote:> > I just upgraded my vpopmail 5.4.3 to 5.4.4 with roaming
user enable.> > > >>>
There was no error in return, everything seem to compile fine.Upon>>> exiting my qmailadmin, it tells me the version of
qmailadmin and>>> vpopmail I'm using. The vpopmail still
say version 5.4.3. I would like>>> to know is that true or
not?> > Yes, that is true.  Qmailadmin is staticlly
linked to vpopmail, which> means that every time you recompile
vpopmail you have to compile> _everything_ that uses it. 
Qmailadmin, sqwebmail, the qmail-smtpd patch> that verifies
incoming email... anything that uses vpopmail for>
authentication.> > > Rick> >



Re: [vchkpw] roaming users

2004-06-18 Thread Raymond Luong

When I do the command qmailctl cdbmy box reload /etc/tcp.smtp and
/etc/tcp.pop3. It is not reading from /home/vpopmail/etc/tcp.smtp. How can
I get it to read the ~vpopmail/etc/tcp.smtp instead, and how can I know
that my vpopmail is recompiling my tcp.smtp file when there is pop
authentication.ThanksRaymond>>Upon
exiting my qmailadmin, it>> tells me the version of qmailadmin
and vpopmail I'm using. The vpopmail>> still say version
5.4.3> you can check version with ~vpopmail/bin/vadduser -v> and you need to recompile Qmailadmin for update version.>
>> I still can not do pop before>> smtp.>
qmailctl cdb>  ~vpopmail/bin/clearopensmtp> qmailctl
restart> >>
/>--enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp>
where is tcp.smtp?> >> I use the whereis command for
the tcp.smtp, it tells me its located in>> /etc/tcp.smtp.I don't know what is the problem> you need to use 'locate'
command> > On Thursday 17 June 2004 05:09 pm, Raymond
Luong wrote:>> I jus t upgraded my vpopmail 5.4.3 to 5.4.4
with roaming user enable.>> here>> is my following
configuration:./configure \--enable-roaming-users>> \>> --enable-tcprules-prog=/usr/local/bin/tcprules>>
/>--enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp>> --enable-relay-clear-minutes=180--enable-logging=p \>> />--disable-passwd>> \--enable-clear-passwd \--disable-domain-quotas \>>
/>--enable-auth-module=mysql \--disable-many-domains>> \--enable-auth-logging \--enable-mysql-logging \>> />--enable-valias \--disable-mysql-limits�then I follow>> with:make�make
install-stripThere was no error in>> return, everything
seem to compile fine.Upon exiting my qmailadmin, it>> tells me
the version of qmailadmin and vpopmail I'm using. The vpopmail>> still say version 5.4.3. I would like to know is that true or
not? Does>> qmailadmin check vpopmail version everrytime or
does it just record the>> vpopmail version when it was�
install.My next problem. It seem>> even>>
though I enable roaming users for vpopmail, I still can not do pop>> before>> smtp. When I try to send from outlook
express, still tell me I'm not on>> the allow rcpthosts list.
Is there some step I'm missing?I check>> my>> tcprules and tcp.smtp files and they� where they support to
be but>> when I>> use the whereis command for the
tcp.smtp, it tells me its located in>> /etc/tcp.smtp.I
don't know what is the problem. Can someone offer>> me>> some suggestion.Raymond> > --> > Best Regard,> > Songrit Srilasak> Technical Support & Network
Administrators> eGuide (Thailand) Co., Ltd.> 25th Flr.,
Empire Tower (park wing),> 195 South Sathorn Rd., Yannawa,
Sathorn,> Bangkok 10120> Tel: 0-2670-0888 ext 600 Fax:
0-2670-0889> 


[vchkpw] roaming users

2004-06-17 Thread Raymond Luong

I jus t upgraded my vpopmail 5.4.3 to 5.4.4 with roaming user enable. here
is my following configuration:./configure \--enable-roaming-users \
--enable-tcprules-prog=/usr/local/bin/tcprules--enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
--enable-relay-clear-minutes=180--enable-logging=p \--disable-passwd
\--enable-clear-passwd \--disable-domain-quotas \--enable-auth-module=mysql \--disable-many-domains
\--enable-auth-logging \--enable-mysql-logging \--enable-valias \--disable-mysql-limits then I follow
with:make make install-stripThere was no error in
return, everything seem to compile fine.Upon exiting my qmailadmin, it
tells me the version of qmailadmin and vpopmail I'm using. The vpopmail
still say version 5.4.3. I would like to know is that true or not? Does
qmailadmin check vpopmail version everrytime or does it just record the
vpopmail version when it was  install.My next problem. It seem even
though I enable roaming users for vpopmail, I still can not do pop before
smtp. When I try to send from outlook express, still tell me I'm not on
the allow rcpthosts list. Is there some step I'm missing?I check my
tcprules and tcp.smtp files and they  where they support to be but when I
use the whereis command for the tcp.smtp, it tells me its located in
/etc/tcp.smtp.I don't know what is the problem. Can someone offer me
some suggestion.Raymond


[vchkpw] Quota

2004-02-20 Thread Raymond Luong
HiI'm using vpopmail 5.3.14, squirrelmail,
courier-imapI enable 20 meg quota for all account but it seem the
quota will not include the trash and sent folder. I will have account will
90 meg but the quota bar still show its within quota, and thats because
the inbox is within quota. Its all the trash mail. I set vpopmail
qmailadmin to purge the trash folder every 7 days. I would still like the
quota to include the trash and sent folder. Anyone know how i can set it
that way.Raymond


RE: [vchkpw] Can not get vpopmail to enable roaming support

2003-08-29 Thread Raymond Luong
Hey Jonas

Thanks for your straight forward answer. I like it!

I follow your suggestion.
This is what i did for the vpopmail configure
./configure \
  --enable-roaming-users=y \
  --enable-tcprules-prog=/usr/local/bin/tcprules \
  --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
  --enable-relay-clear-minutes=70 \
  --enable-learn-passwords=y \
  --enable-default-domain=genkians.com \
  [EMAIL PROTECTED] \
  --enable-logging=p \
  --enable-defaultquota=20971520S \
  --enable-ip-alias-domains=n \
  --enable-passwd=n \
  --enable-clear-passwd=y \
  --enable-mysql=y \
  --enable-incdir=/usr/local/mysql/include \
  --enable-libdir=/usr/local/mysql/lib \
  --enable-many-domains=n \
  --enable-auth-logging=y \
  --enable-mysql-logging=y \
  --enable-valias=y
I got this in return

vpopmail directory = /home/vpopmail
   uid = 89
   gid = 89
  ip alias = OFF --enable-ip-alias-domains=n (default)
address extentions = OFF --enable-qmail-ext=n (default)
 roaming users = ON  --enable-roaming-users=y
tcpserver file = /home/vpopmail/etc/tcp.smtp
open_smtp file = /home/vpopmail/etc/open-smtp
user quota = 20971520S -enable-hardquota=20971520S
   auth module = mysql --enable-mysql=y
 mysql replication = OFF --enable-mysql-replication=n default
table optimization = one domain with many users --enable-many-domains=n
  system passwords = OFF --enable-passwd=n default
  file locking = ON  --enable-file-locking=y default
 file sync = OFF --enable-file-sync=n default disable vdelivermail
fsync
 make seekable = ON  --enable-make-seekable=y default
  auth logging = ON  --enable-auth-logging=y default
 mysql logging = ON  --enable-mysql-logging=y
  clear passwd = ON  --enable-clear-passwd=y (default)
 users big dir = ON  --enable-users-big-dir=y (default)
 valias processing = ON  --enable-valias=y
  mysql limits = OFF --enable-mysql-limits=n default
pop syslog = show failure attempts with clear text password
 --enable-logging=p
default domain = genkians.com --enable-default-domain=genkians.com
  auth inc = -I/usr/local/mysql/include
  auth lib = -L/usr/local/mysql/lib  -l

then I ran "make" and "make install-strip"
When it was done, I went looking for the open-smtp file. I can not find
it. I did a search of my whole computer and no luck. Do you know why the
make install-strip did not create the open-smtp file?

Raymond



RE: [vchkpw] Can not get vpopmail to enable roaming support

2003-08-28 Thread Raymond Luong
SteveI didn't change the tcp.cmtp to tcp.smtp.cdb. I simple link
my /etc/tcp.smtp to ~vpopmail/etc/tcp.smtp and made the file 777 so any
program can write to it. Now vpopmail and qmail is sharing the same
tcp.smtp file. I believe I might had left out a few important setting
while compiling vpopmail. I will recompile vpopmail with your setting
steve. I will let you know how it turns out.Raymond>
> I just switched it from /etc/tcp.smtp to /etc/tcp.smtp.cdb and
now I can> not relay at all.> Very strange.>
> -Steve> > > On Fri, 29 Aug 2003, Shane
Chrisp wrote:> >> You have put tcp.smtp as you cdb file?
Its normally tcp.smtp.cdb. May be>> that your>> file
is empty and being ignored?>>>>
Shane>>>> -Original Message->> From:
Steven Job [mailto:[EMAIL PROTECTED]>> Sent: Friday, 29
August 2003 1:12 AM>> To: Raymond Luong>> Cc: vpopmail
list>> Subject: Re: [vchkpw] Can not get vpopmail to enable
roaming
support>>>>>>>>>> I'm
having just the oposite problem, I can't turn it off when I>>
want to.>> :-)>>>> Not quite sure if this
helps but here is configuration>> information I
used.>> ./configure \>> --enable-roaming-users=y
\>> --enable-tcprules-prog=/usr/local/bin/tcprules \>>
--enable-tcpserver-file=/etc/tcp.smtp \>>
--enable-relay-clear-minutes=70 \>> --enable-learn-passwords=y
\>> --enable-auth-logging=y \>>
--enable-mysql-logging=y \>> --enable-clear-passwd=y
\>> --enable-mysql=y \>> --enable-mysql-replication=n
\>> --enable-many-domains=y \>> --enable-qmail-ext=y
\>> --enable-passwd=n \>> --enable-logging=p
\>> --enable-domainquotas=y \>>
--enable-defaultquota=100>>>> All of my relay
information is of course in the database, but it works>>
perfect. But like I said I can't turn it off with the>>
qmailadmin_limits.>>>>
-Steve>>>>>> On Thu, 28 Aug 2003, Raymond
Luong wrote:>>>> >>> >>>
> Please Help>> > I recompile vpopmail with --enable
roaming=y-- but>> > it still does not work. I can connect to
via pop3 server but>> can not send mail. It reply with
"domain>> > isn't in my list of allow rcpthosts". I don't
know what's>> wrong or what I'd missing. I really need
to>> > get this up and running. Any help will be great. I'm
running>> redhat 8.0, vpopmail 5.3.14, qmailadmin,>>
> and courier-imap.>> > I read around the internet and
discover under vpopmail>> folder, there should be 2 files:
etc/tcp.smtp>> > and etc/tcp.smpt.cdb. I check my vpopmail
directory and there>> is no such files. So I link my
qmail>> > tcp.smtp and tcp.smtp.cdb with the following
command "ln -s>> /etc/tcp.smtp /etc/tcp.smtp.cdb to
the>> > ~vpopmail/etc/ and I gave both files 777 permission.
That>> didn't make any difference, I still can't>>
> send via pop3 connection. What am I missing.>>
>>> > Thank you so much for any help you can
provide>> > raymond>> >>>
>>>
>>>>>>>>>>>>
> > 



RE: [vchkpw] Can not get vpopmail to enable roaming support

2003-08-28 Thread Raymond Luong
This is my qmail-smtp/run file:#!/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

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 200 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd
2>&1
This is my qmail-smtp/run/log file :#!/bin/shexec
/usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
/var/log/qmail/smtpdThanks for the helpRaymond>
Show us your qmail-smtpd startup scripts.> > Shane>
> -Original Message-> From: Raymond Luong
[mailto:[EMAIL PROTECTED]> Sent: Friday, 29 August 2003 12:37
AM> To: vpopmail list> Subject: [vchkpw] Can not get
vpopmail to enable roaming support> > > >
> Please Help> I recompile vpopmail with --enable
roaming=y-- but> it still does not work. I can connect to via pop3
server but can not send> mail. It reply with "domain isn't in my
list of allow rcpthosts". I don't> know what's wrong or what I'd
missing. I really need to get this up and> running. Any help will
be great. I'm running redhat 8.0, vpopmail 5.3.14,> qmailadmin, and
courier-imap.> I read around the internet and discover under
vpopmail folder, there> should> be 2 files: etc/tcp.smtp and
etc/tcp.smpt.cdb. I check my vpopmail> directory> and there
is no such files. So I link my qmail tcp.smtp and tcp.smtp.cdb>
with the following command "ln -s /etc/tcp.smtp /etc/tcp.smtp.cdb to
the> ~vpopmail/etc/ and I gave both files 777 permission. That
didn't make any> difference, I still can't send via pop3
connection. What am I missing.> > Thank you so much for any
help you can provide> raymond> > 



[vchkpw] Can not get vpopmail to enable roaming support

2003-08-28 Thread Raymond Luong
Please HelpI recompile vpopmail with --enable roaming=y--
butit still does not work. I can connect to via pop3 server but can
not send mail. It reply with "domain isn't in my list of allow rcpthosts".
I don't know what's wrong or what I'd missing. I really need to get this
up and running. Any help will be great. I'm running redhat 8.0, vpopmail
5.3.14, qmailadmin, and courier-imap.I read around the internet and
discover under vpopmail folder, there should be 2 files: etc/tcp.smtp and
etc/tcp.smpt.cdb. I check my vpopmail directory and there is no such
files. So I link my qmail tcp.smtp and tcp.smtp.cdb with the following
command "ln -s /etc/tcp.smtp /etc/tcp.smtp.cdb to the ~vpopmail/etc/ and I
gave both files 777 permission. That didn't make any difference, I still
can't send via pop3 connection. What am I missing.Thank you so
much for any help you can provideraymond



Re: [vchkpw] Compiled FreeBSD 4.8

2003-08-27 Thread Raymond Luong
Please HelpI recompile vpopmail with --enable roaming=y-- but
it still does not work. I can connect to via pop3 server but can not send
mail. It reply with "domain isn't in my list of allow rcpthosts". I don't
know what's wrong or what I'd missing. I really need to get this up and
running. Any help will be great. I'm runningredhat 8.0, vpopmail 5.3.14,
qmailadmin, and courier-imap.Thank you so much for any help you
can provideraymond



[vchkpw] can't send email via pop3 access

2003-08-21 Thread Raymond Luong
HelloI just recompile my vpopmail with "enable roaming user
support" but that did not work. When i login through pop3 I can download
email but I still can't send email. Still telling my my ip address is not
allow. Is there something I'm missing. Please help.Raymond



[vchkpw] enable pop3 roaming user support in vpopmail

2003-08-15 Thread Raymond Luong
Hello all you vpopmail guru When I install my
vpopmail+qmail+mysql..I have no clue what I was doing nor what I will
do with my mail server in the future, so when I install vpopmail, I input
no for "--enable-roaming-users=n". Well, now I'm regretting it. Can one of
you vpopmail guru tell me how I can enable roaming user support on
vpopmail safely without disrupting my 200 users. Assuming vpopmail
roaming user allow pop3 user to send mail via my smtp server. Meaning
vpopmail roaming user is another form of pop3 vefore smtp
right?raymond