[vchkpw] vlog has not entries since upgrade

2014-12-10 Thread John Stile
I have not seen any new additions to the mysql table vlog for a long
time, so I am worried an update broke something.

I am using vpopmail-5.4.33-r1, mysql-5.5.40, and netqmail-1.06-r2

I tried to delete the vlong table and recreate from what I have read in
the source file vpopmail-5.4.33/vmysql.c, but still no change.

What could be happening?
How can I debug this, when eveything runs though tcpserver?

I am on gentoo, so I hope it is not too spam-ish to show my configure
and build log:

 Emerging (1 of 1) net-mail/vpopmail-5.4.33-r1::gentoo
 * vpopmail-5.4.33.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...  

  [ ok ]
 * 
 * Massive important warning if you are upgrading to 5.2.1-r8 or older
 * The internal structure of the mail storage has changed for
 * consistancy with the rest of Gentoo! Please review and utilize the 
 * script at /bin/vpopmail-Maildir-dotmaildir-fix.sh
 * to upgrade your system! (It can do conversions both ways).
 * You should be able to run it right away without any changes.
 * 
 * 
 * Use of vpopmail's tcp.smtp[.cdb] is also deprecated now, consider
 * using net-mail/relay-ctrl instead.
 * 
 * 
 * If you are upgrading from 5.4.17 or older, you have to fix your
 * MySQL tables:
 * 
 * ALTER TABLE `dir_control` CHANGE `domain` `domain` CHAR(96) NOT NULL;
 * ALTER TABLE `ip_alias_map` CHANGE domain domain CHAR(96) NOT NULL;
 * ALTER TABLE `lastauth` CHANGE domain domain CHAR(96) NOT NULL;
 * ALTER TABLE `valias` CHANGE domain domain CHAR(96) NOT NULL;
 * ALTER TABLE `vlog` CHANGE domain domain CHAR(96) NOT NULL;
 * ALTER TABLE `vpopmail` CHANGE domain domain CHAR(96) NOT NULL;
 * ALTER TABLE `limits` CHANGE domain domain CHAR(96) NOT NULL,
 * ADD `disable_spamassassin` TINYINT(1) DEFAULT 0 NOT NULL AFTER 
`disable_smtp`,
 * ADD `delete_spam` TINYINT(1) DEFAULT 0 NOT NULL AFTER 
`disable_spamassassin`;
 * 
 * 
 * Newer versions of vpopmail contain a quota daemon called vusaged.
 * This ebuild DOES NOT INSTALL vusaged and has therefore disabled
 * its usage in /etc/vusagec.conf. DO NOT ENABLE!
 * Otherwise mail delivery WILL BREAK
 * 
 Unpacking source...
 Unpacking vpopmail-5.4.33.tar.gz to 
 /var/tmp/portage/net-mail/vpopmail-5.4.33-r1/work
 Source unpacked in /var/tmp/portage/net-mail/vpopmail-5.4.33-r1/work
 Preparing source in 
 /var/tmp/portage/net-mail/vpopmail-5.4.33-r1/work/vpopmail-5.4.33 ...
 * Applying vpopmail-5.4.9-access.violation.patch ...   

  [ ok ]
 * Applying vpopmail-lazy.patch ... 

  [ ok ]
 * Applying vpopmail-double-free.patch ...  

  [ ok ]
 * Applying vpopmail-vpgsql.patch ...   

  [ ok ]
 * Running eautoreconf in 
'/var/tmp/portage/net-mail/vpopmail-5.4.33-r1/work/vpopmail-5.4.33' ...
 * Running aclocal ...  

  [ ok ]
 * Running autoconf ... 

  [ ok ]
 * Running autoheader ...   

  [ ok ]
 * Running automake --add-missing --copy --foreign --force-missing ...  

  [ ok ]
 * Running elibtoolize in: vpopmail-5.4.33/
 *   Applying ltmain/1.5 patch ...
 *   Applying portage/1.5.10 patch ...
 *   Applying relink/1.4.1 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/1.5 patch ...
 * Running elibtoolize in: vpopmail-5.4.33/vusaged/
 * Replacing obsolete head/tail with POSIX compliant ones
 *  - fixed cdb/Makefile
 Source prepared.
 Configuring source in 
 /var/tmp/portage/net-mail/vpopmail-5.4.33-r1/work/vpopmail-5.4.33 ...
 * Setting VPOP_HOME to: /var/vpopmail
 * econf: updating vpopmail-5.4.33/config.guess with 
/usr/share/gnuconfig/config.guess
 * econf: updating vpopmail-5.4.33/config.sub with 
/usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu 
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info 
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib 
--disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 
--enable-incdir=/usr/include/mysql 

[vchkpw] [SPAM] block vpopmail brute force

2012-09-06 Thread John Stile
Has anyone experienced people trying to brute force vpopmail?  

I'm sick of it, so I cron'ed a little script others might enjoy.

http://stilen.com/scripts/perl/vpopmail_fail2drop.pl

Feedback appreciated.




!DSPAM:50483d9e34211728335788!



Re: [vchkpw] Moving old Email after Upgrading

2005-03-10 Thread John Stile
On Thu, 2005-03-10 at 19:56 -0700, [EMAIL PROTECTED] wrote:
 Ok.  I posted once and haven't gotten a reply.
 
 Does anyone know to move the old email and folders after an upgrade is
 performed.
 
 The old structure was /home/vpopmail/users/user/Maildir but with adding
 domains, the structure is /home/vpopmail/domains/users/user/Maildr.
 
 I figured tarring up the old Maildir and untarring it to the new Maildir
 would do it.  It didn't, so luckily I had a backup before I tried it. 
 What happened was that the only directory that showed up was the Inbox. 
 It would not let me access or create a Sent or Drafts or anything, since
 it thought it did exist.  It did exist, but was not accessible.  it wasn't
 a permissions problem either.
 
 So, can I get some help as some users have a large number of folders they
 created with old saved mails.
 
 Thanks.
how about rsync?

rsync -avz \
   /home/vopopmail/users/user/Maildir \
   /home/vpopmail/domain/users/user/

-- 
._.
|   \0/John Stile |
| UniX Administration |
|   / \  510-305-3800 | 
| [EMAIL PROTECTED] |
.-.



signature.asc
Description: This is a digitally signed message part


[vchkpw] did qinstall retire?

2003-10-08 Thread John Stile
Qinstall is not part of the list, but I don't know who else to ask.  
Qinstall was hosted at www.obua.org but now appears to be gone.  Sending
email to obua.org admin resulted in a postfix bounce message.  Is anyone
still on the mailing list for that project or know what happened to it? 
Sorry for the off topic questions, but hopefully birds of a feather... 

-- 
._.
|   \0/John Stile |
| UniX Administration |
|   / \  510-305-3800 | 
| [EMAIL PROTECTED] |
.-.




[vchkpw] SpamAssassin on a per user basis

2002-12-06 Thread John Stile
I am using vpopmail version 5.20 and trying to get SpamAssassin working
on a per user basis. Modifying .qmail-default and .qmail-user files,
according to past threads in this list, fail to work, causing mail to
bounce.

Do I have to up upgrade above 5.20 to get it working or is it possible
to get it working with what I have?

._.
|   \0/John Stile |
| UniX Administration |
|   / \  510-305-3800 | 
| [EMAIL PROTECTED] |
.-.





[vchkpw] authenticated relay

2002-10-18 Thread John Stile
I want to be able to send email from anywhere using my
qmail/vpopmail/courier-imap server.  It seems there are patches for
qmail, roaming-users config for vpopmail, and other patches for
courier-imap.  Currently vchkpw is my authentication method for pop3 and
imap.

What is the best way to go?  Do I need each to be patched?  I can't find
a how-to that works.  If this is a common configuration need, why is it
not easy to turn on?





tcpserver questions

2001-05-07 Thread John Stile

1. When tcpserver is setup, do I remove the hosts.allow RELAYCLIENT
line, or is it ignored?

2. Does the /var/qmail/users/cdb have anything to do with the
/home/vpopmail/etc/tcp.smtp.cdb?

3. Once pop and smtp are handled by tcpserver, how do I control access
to Courier-IMAP?



tcpserver w/ qmail+vpopmail?

2001-05-07 Thread John Stile

Do I have all the steps here? 
I am mainly worried about the syntax of steps 4 and 5 (startup scripts
syntax).

# 1. Install tcpserver #
  gunzip ucspi-tcp-0.88.tar
  tar -xf ucspi-tcp-0.88.tar
  cd ucspi-tcp-0.88
  make
  su
  make setup check
##
# 2. Make the rules file #
cat - EOT  /home/vpopmail/etc/tcp.smtp.txt 
127.0.0.1:allow,RELAYCLIENT=   # local can relay
192.168.:allow,RELAYCLIENT=# private net can relay
netzero.com:allow,RELAYCLIENT= # netzero.com can relay
[EMAIL PROTECTED]:allow,RELAYCLIENT=  # mail from jstile can relay
:deny# deny all others

EOT

# 3. Make the database, fix perms, checkit #
cat /etc/tcp.smtp | tcprules /home/vpopmail/etc/.smtp.cdb
/home/vpopmail/etc/tcp.smtp.txt
chmod 644 /home/vpopmail/etc/.smtp.cdb
tcprulescheck /home/vpopmail/etc/.smtp.cdb

#
# 4. Make the smtp startup script for linux #
#  my qmaild uid=508, gid=509
cat - EOT  /etc/rc.d/init.d/smtp
 #!/bin/sh
 env - PATH=/var/qmail/bin:/usr/local/bin \
 tcpserver -H -R \
 -x  /home/vpopmail/etc/tcp.smtp.cdb \
 -v -u 509 -g 508 0  \
 smtp \
 /var/qmail/bin/qmail-smtpd \
 21 | /var/qmail/bin/splogger smtpd 3 
 exit 0

EOT
chmod 700 /etc/rc.d/init.d/smtp
##
# 5. make the pop3 startup script for linux #
cat - EOT  /etc/rc.d/init.d/pop3
 #!/bin/sh
 env - PATH=/var/qmail/bin:/usr/local/bin \
 tcpserver -H -R 0 pop3 \
 /var/qmail/bin/qmail-popup \
 stilen.com \
 /home/vpopmail/bin/vchkpw \
 /var/qmail/bin/qmail-pop3d Maildir \
 /var/qmail/bin/splogger pop3d 
 exit 0

EOT
chmod 700 /etc/rc.d/init.d/pop3

# 6. comment out lines from inetd, and HUP-it #
sed 's/^pop/#pop/' /etc/inetd.conf  /tmp/inetd.conf
sed 's/^smtp/#smtp/' /tmp/inetd.conf  /etc/inetd.conf

##3
# 7. startup tcpserver
/etc/rc.d/init.d/smtp
/etc/rc.d/init.d/pop3



tcpserver setup how-to questions

2001-05-06 Thread John Stile

Right now I run inetd for qmail-smtpd and qmail-pop3d with hosts.allow
for smtp relay controlling.
All the stuff I have read says to move to tcpserver, but I have some
questions.
1. When tcpserver is setup, do I remove the hosts.allow RELAYCLIENT
line, or is it ignored?
2. Does the /var/qmail/users/cdb have anything to do with the
/home/vpopmail/etc/tcp.smtp.cdb?
3. Once pop and smtp are handled by tcpserver, how do I control access
to Courier-IMAP?
4. Many people have posted problems with tcpserver setup.  
   I am trying to make sense of it, and make it simple, and make a
how-to.
   Are these the correct steps for  smtp and pop3 with qmail+vpopmail? 
   Why don't the setup instructions cover this better?

# 1. Install tcpserver #
  gunzip ucspi-tcp-0.88.tar
  tar -xf ucspi-tcp-0.88.tar
  cd ucspi-tcp-0.88
  make
  su
  make setup check
##
# 2. Make the rules file #
cat - EOT  /home/vpopmail/etc/tcp.smtp.txt 
127.0.0.1:allow,RELAYCLIENT= # local can relay
192.168.:allow,RELAYCLIENT=  # private net can relay
netzero.com:allow,RELAYCLIENT=   # netzero.com can relay
[EMAIL PROTECTED]:allow,RELAYCLIENT= # mail from jstile can relay
:deny  # deny all others

EOT

# 3. Make the database, fix perms, checkit #
cat /etc/tcp.smtp | tcprules /home/vpopmail/etc/.smtp.cdb
/home/vpopmail/etc/tcp.smtp.txt
chmod 644 /home/vpopmail/etc/.smtp.cdb
tcprulescheck /home/vpopmail/etc/.smtp.cdb

#
# 4. Make the smtp startup script for linux #
#  my qmaild uid=508, gid=509
cat - EOT  /etc/rc.d/init.d/smtp
 #!/bin/sh
 env - PATH=/var/qmail/bin:/usr/local/bin \
 tcpserver -H -R \
 -x  /home/vpopmail/etc/tcp.smtp.cdb \
 -v -u 509 -g 508 0  \
 smtp \
 /var/qmail/bin/qmail-smtpd \
 21 | /var/qmail/bin/splogger smtpd 3 
 exit 0

EOT
chmod 700 /etc/rc.d/init.d/smtp
##
# 5. make the pop3 startup script for linux #
cat - EOT  /etc/rc.d/init.d/pop3
 #!/bin/sh
 env - PATH=/var/qmail/bin:/usr/local/bin \
 tcpserver -H -R 0 pop3 \
 /var/qmail/bin/qmail-popup \
 stilen.com \
 /home/vpopmail/bin/vchkpw \
 /var/qmail/bin/qmail-pop3d Maildir \
 /var/qmail/bin/splogger pop3d 
 exit 0

EOT
chmod 700 /etc/rc.d/init.d/pop3

# 6. comment out lines from inetd, and HUP-it #
sed 's/^pop/#pop/' /etc/inetd.conf  /tmp/inetd.conf
sed 's/^smtp/#smtp/' /tmp/inetd.conf  /etc/inetd.conf

##3
# 7. startup tcpserver
/etc/rc.d/init.d/smtp
/etc/rc.d/init.d/pop3



Re: Courier make check fails on authvchkpw

2001-05-01 Thread John Stile

Bill Ship wrote:
 
 on 4/30/01 3:26 PM, John Stile at [EMAIL PROTECTED] wrote:
 
  Bill Shupp wrote:
 
  on 4/30/01 12:22 PM, John Stile at [EMAIL PROTECTED] wrote:
 
  Bill Shupp wrote:
 
  on 4/30/01 11:49 AM, John Stile at [EMAIL PROTECTED] wrote:
 
  Is this is a vpopmail issue or a courier IMAP issue?
  When I try to add courier to qmail+vpopmail, at the make check step,
  it errors on authvchkpw.
  I have never debugged a problem with make, short of checking the paths
  in the Makefile.
  So, what can you sugest I do next?
  If it is a version compatablity problem, how do I tell what version of
  vpopmail is running?
 
  make check # failed at  this step:
 
  gcc  -I/home/vpopmail/include -g -O2 -Wall -I.. -I./..
  -L/home/vpopmail/lib  -o authvchkpw  modauthvchkpw.o libauthmod.a
  libauth.a ../md5/libmd5.a -lvpopmail  -lm -lcrypt
  libauth.a(preauthvchkpw.o): In function `auth_vchkpw_pre':
  /home/jstile/courier-imap-1.3.7/authlib/preauthvchkpw.c:66: undefined
  reference to `vget_assign'
  /home/jstile/courier-imap-1.3.7/authlib/preauthvchkpw.c:78: undefined
  reference to `vclose'
  collect2: ld returned 1 exit status
  gmake[1]: *** [authvchkpw] Error 1
 
  Try typing vadduser -v to get the version info.  I recommend upgrading to
  the latest 4.9.10 anyway.
 
  Cheers,
 
  Bill Shupp
 
  How do I tell what version I'm running?
  The vadduser -v  displays a help message, and -v is not an option.
  man vadduser does not show the version.
  The doc directory under vpopmail's home does not contain the version.
  They didn't make it too easy.
 
  The -v option wasn't added until 4.9.2, so your version is older than that.
  I recommend upgrading.
 
  -Bill
 
  Thank you Bill.  I am going to upgrade vpopmail tonight, however the
  install directions do not discuss an upgrade.
  Do I just instal the new version over what I have?
  I will upgrade from vpopmail-3.4.12 to vpopmail-4.9.10.
  What will this do to sqwebmail, or qmailadmin?
 
 Just use the same compile options as before, and you should be ok.  You
 should probably recompile sqwebmail and qmailadmin, but I'm not entirely
 sure it's necessary.  Perhaps someone else here does?  I always do.  But if
 qmailadmin is as old as your vpopmail, it's changes a bit since then.  Make
 *sure* you backup your old copies if the software in case things go awry.
 Or test the upgrade on another box ahead of time.
 
 -Bill

After upgrading vpopmail (from v3.4.12 to v4.9.10), Courier-IMAP's make
check did not have any errors, and all installed well.

Question:  Should executables found in ~vpopmail/bin/ exist in other
parts of the system?
After the upgrade, I listed all programs in ~vpopmail/bin/, and searched
the system for files of the same name. 
I found 4 programs in /usr/bin, and they were the old vpopmail versions
(vpopbull, vpasswd, vdeluser, vadduser).  
Additionally, the path for vpopuser, set in ~vpopuser/.bashrc to
PATH=$PATH:$HOME/bin, so the old programs would be used before the new
ones.  Shouldn't the path for vpopmail be PATH=$HOME/bin:$PATH 

Thank you.



courier-imap + authvchkpw

2001-05-01 Thread John Stile

Now I have Qmail+vpopmail+sqwebmail+qmailadmin, and I added
courier-imap, but it will not authenticate.

From my Netscape MUA I have pop3 settings that work on the same server
(pop3server=mail.domian.com, user=user%virtual.domain.com), but the
same settings do not work for IMAP.  
I am prompted for passwd for the user, and it says Login Failed

I tried to force courier-imap to use vpopmail's authentication module,
by editing /usr/lib/courier-imap/etc/imapd, and specifying only:
AUTHMODULES=authvchkpw.

I know it is running.
/usr/sbin/lsof -i tcp |grep courier
couriertc 21115 root5u  IPv4 231384   TCP *:imap2 (LISTEN)

It keeps saying Login Failed from my MUA.

/var/log/maillog shows an error, but I don't know what to make of it
yet:
 May  1 07:15:41 mother imapd: Connection, ip=[:::192.168.0.10]
 May  1 07:15:59 mother imapd: LOGOUT, ip=[:::192.168.0.10]
 May  1 07:20:35 mother imapd: Connection, ip=[:::192.168.0.10]
 May  1 07:20:50 mother imapd: LOGIN FAILED, ip=[:::192.168.0.10]
 May  1 07:23:57 mother imapd: Connection, ip=[:::192.168.0.10]
 May  1 07:23:58 mother imapd: LOGOUT, ip=[:::192.168.0.10]
 May  1 07:24:13 mother imapd: Connection, ip=[:::192.168.0.10]
 May  1 07:24:25 mother imapd: LOGIN FAILED, ip=[:::192.168.0.10]
 May  1 01:11:22 mother imapd: LOGOUT, ip=[:::192.168.0.10]



Courier make check fails on authvchkpw

2001-04-30 Thread John Stile

Is this is a vpopmail issue or a courier IMAP issue?
When I try to add courier to qmail+vpopmail, at the make check step,
it errors on authvchkpw.
I have never debugged a problem with make, short of checking the paths
in the Makefile.
So, what can you sugest I do next?
If it is a version compatablity problem, how do I tell what version of
vpopmail is running?

 make check # failed at  this step:

gcc  -I/home/vpopmail/include -g -O2 -Wall -I.. -I./..
-L/home/vpopmail/lib  -o authvchkpw  modauthvchkpw.o libauthmod.a
libauth.a ../md5/libmd5.a -lvpopmail  -lm -lcrypt 
libauth.a(preauthvchkpw.o): In function `auth_vchkpw_pre':
/home/jstile/courier-imap-1.3.7/authlib/preauthvchkpw.c:66: undefined
reference to `vget_assign'
/home/jstile/courier-imap-1.3.7/authlib/preauthvchkpw.c:78: undefined
reference to `vclose'
collect2: ld returned 1 exit status
gmake[1]: *** [authvchkpw] Error 1



Re: Courier make check fails on authvchkpw

2001-04-30 Thread John Stile

Bill Shupp wrote:
 
 on 4/30/01 12:22 PM, John Stile at [EMAIL PROTECTED] wrote:
 
  Bill Shupp wrote:
 
  on 4/30/01 11:49 AM, John Stile at [EMAIL PROTECTED] wrote:
 
  Is this is a vpopmail issue or a courier IMAP issue?
  When I try to add courier to qmail+vpopmail, at the make check step,
  it errors on authvchkpw.
  I have never debugged a problem with make, short of checking the paths
  in the Makefile.
  So, what can you sugest I do next?
  If it is a version compatablity problem, how do I tell what version of
  vpopmail is running?
 
  make check # failed at  this step:
 
  gcc  -I/home/vpopmail/include -g -O2 -Wall -I.. -I./..
  -L/home/vpopmail/lib  -o authvchkpw  modauthvchkpw.o libauthmod.a
  libauth.a ../md5/libmd5.a -lvpopmail  -lm -lcrypt
  libauth.a(preauthvchkpw.o): In function `auth_vchkpw_pre':
  /home/jstile/courier-imap-1.3.7/authlib/preauthvchkpw.c:66: undefined
  reference to `vget_assign'
  /home/jstile/courier-imap-1.3.7/authlib/preauthvchkpw.c:78: undefined
  reference to `vclose'
  collect2: ld returned 1 exit status
  gmake[1]: *** [authvchkpw] Error 1
 
  Try typing vadduser -v to get the version info.  I recommend upgrading to
  the latest 4.9.10 anyway.
 
  Cheers,
 
  Bill Shupp
 
  How do I tell what version I'm running?
  The vadduser -v  displays a help message, and -v is not an option.
  man vadduser does not show the version.
  The doc directory under vpopmail's home does not contain the version.
  They didn't make it too easy.
 
 The -v option wasn't added until 4.9.2, so your version is older than that.
 I recommend upgrading.
 
 -Bill

Thank you Bill.  I am going to upgrade vpopmail tonight, however the
install directions do not discuss an upgrade.
Do I just instal the new version over what I have? 
I will upgrade from vpopmail-3.4.12 to vpopmail-4.9.10.
What will this do to sqwebmail, or qmailadmin?  

Thank you.



Courier make fails on

2001-04-28 Thread John Stile

I'm trying to add Courier to a Redhat6.2, qmail + vpopmail + qmailadmin
+ sqwebmail with maildir.
I ran into an error during install, so what does it mean?
What can I do to fix it?
This is how far it got:
  ./configure #exited find
  make  # exited fine
  make check # failed at  this step:
gcc  -I/home/vpopmail/include -g -O2 -Wall -I.. -I./..
-L/home/vpopmail/lib  -o authvchkpw  modauthvchkpw.o libauthmod.a
libauth.a ../md5/libmd5.a -lvpopmail  -lm -lcrypt 
libauth.a(preauthvchkpw.o): In function `auth_vchkpw_pre':
/home/jstile/courier-imap-1.3.7/authlib/preauthvchkpw.c:66: undefined
reference to `vget_assign'
/home/jstile/courier-imap-1.3.7/authlib/preauthvchkpw.c:78: undefined
reference to `vclose'
collect2: ld returned 1 exit status
gmake[1]: *** [authvchkpw] Error 1



What are the MUA (netscape) settings to access the server?

2001-04-13 Thread John Stile

What are the the MUA settings?  
My local users do not have permission to look in
/home/vpopmail/domains/mydomain/user, and checkpassword lets people
just read /etc/passwd, so how do I make this work?

I have sqwebmail+vpop+qmail working with the web interface.
I need to get netscape mua to work with my server.
Am I using the wrong user name in the mua?
I have tried john, stilen.com-john, and [EMAIL PROTECTED]
Any advice is appreciated.

This is the setup:
I have a virtual domain in vpopmail (stilen.com), a user (john).
I use maildir mailboxes.

My inetd.conf lines are the following:
First: 
smtp stream \
  tcp nowait qmaild \
  /usr/sbin/tcpd \
  /var/qmail/bin/tcp-env \
  /var/qmail/bin/qmail-smtpd

Second:
pop3 stream \
  tcp nowait root \
  /var/qmail/bin/qmail-popup \
  qmail-popup mail.stilen.com /bin/checkpassword \
 /var/qmail/bin/qmail-pop3d Maildir



Re: What are the MUA (netscape) settings to access the server?

2001-04-13 Thread John Stile

Bill Shupp wrote:
 
 on 4/13/01 6:46 PM, John Stile at [EMAIL PROTECTED] wrote:
 
  What are the the MUA settings?
  My local users do not have permission to look in
  /home/vpopmail/domains/mydomain/user, and checkpassword lets people
  just read /etc/passwd, so how do I make this work?
 
  I have sqwebmail+vpop+qmail working with the web interface.
  I need to get netscape mua to work with my server.
  Am I using the wrong user name in the mua?
  I have tried john, stilen.com-john, and [EMAIL PROTECTED]
  Any advice is appreciated.
 
  This is the setup:
  I have a virtual domain in vpopmail (stilen.com), a user (john).
  I use maildir mailboxes.
 
  My inetd.conf lines are the following:
  First:
  smtp stream \
  tcp nowait qmaild \
  /usr/sbin/tcpd \
  /var/qmail/bin/tcp-env \
  /var/qmail/bin/qmail-smtpd
 
  Second:
  pop3 stream \
  tcp nowait root \
  /var/qmail/bin/qmail-popup \
  qmail-popup mail.stilen.com /bin/checkpassword \
  /var/qmail/bin/qmail-pop3d Maildir
 
 Why are you using checkpassword?  checkpassword is what vpopmail (vchkpw)
 replaces.
 
 Some MUAs can't work with the format user@domain, do you may need to use
 user%domain
 
 Read the INSTALL file for more info.
 
I read the INSTALL, as I have before but, but it implies that I have to
replace inetd. 
Is checkpasswd the problem with my setup? 
Do I need to replace inetd with tcpserver in order to replace
checkpasswd with vchkpw, in order to let netscape clients use my server?



Re: What are the MUA (netscape) settings to access the server?

2001-04-13 Thread John Stile

Dave Ellsworth wrote:
 
 -Original Message-
 From: John Stile [mailto:[EMAIL PROTECTED]]
 Sent: Friday, April 13, 2001 8:16 PM
 Cc: [EMAIL PROTECTED]
 Subject: Re: What are the MUA (netscape) settings to access the server?
 
 Bill Shupp wrote:
 
  on 4/13/01 6:46 PM, John Stile at [EMAIL PROTECTED] wrote:
 
   What are the the MUA settings?
   My local users do not have permission to look in
   /home/vpopmail/domains/mydomain/user, and checkpassword lets people
   just read /etc/passwd, so how do I make this work?
  
   I have sqwebmail+vpop+qmail working with the web interface.
   I need to get netscape mua to work with my server.
   Am I using the wrong user name in the mua?
   I have tried john, stilen.com-john, and [EMAIL PROTECTED]
   Any advice is appreciated.
  
   This is the setup:
   I have a virtual domain in vpopmail (stilen.com), a user (john).
   I use maildir mailboxes.
  
   My inetd.conf lines are the following:
   First:
   smtp stream \
   tcp nowait qmaild \
   /usr/sbin/tcpd \
   /var/qmail/bin/tcp-env \
   /var/qmail/bin/qmail-smtpd
  
   Second:
   pop3 stream \
   tcp nowait root \
   /var/qmail/bin/qmail-popup \
   qmail-popup mail.stilen.com /bin/checkpassword \
   /var/qmail/bin/qmail-pop3d Maildir
 
  Why are you using checkpassword?  checkpassword is what vpopmail (vchkpw)
  replaces.
 
  Some MUAs can't work with the format user@domain, do you may need to
 use
  user%domain
 
  Read the INSTALL file for more info.
 
 I read the INSTALL, as I have before but, but it implies that I have to
 replace inetd.
 Is checkpasswd the problem with my setup?
 Do I need to replace inetd with tcpserver in order to replace
 checkpasswd with vchkpw, in order to let netscape clients use my server?
 
 no, just replace /bin/checkpassword with /home/vpopmail/bin/vchkpw
 or whatever your vpopmail home directory is
That worked! 
Thank you sooo much!!!
I changed the line in /etc/inetd.conf:
pop3 stream tcp nowait root \
  /var/qmail/bin/qmail-popup \
  qmail-popup mail.stilen.com \
  /home/vpopmail/bin/vchkpw \
  /var/qmail/bin/qmail-pop3d \
  Maildir

On my MUA, I set POP mail server mail.stilen.com, 
The usernames I have tried: user%virtual domain
Now it is using the passwds out of vpopmail.
My life is complete!