Re: [vchkpw] make issues

2004-05-20 Thread Mark Matrafajlo
do you think it has something todo with the fact that its not in the
standard directory /home/vpopmail...on this machine it defaults to
/var/qmail/vpopmail ?
On Wed, 2004-05-19 at 18:12, Ken Jones wrote:
 On Wednesday 19 May 2004 04:51 pm, Mark Matrafajlo wrote:
  when i look in the vpopmail/include directory i have just 2 files
  vpopmail_config.h and vpopmail.h...no config.h so i cp vpopmail_config.h
  to config.h...no dice
 
 Don't do that. when you run configure ; make ; make install for vpopmail
 it will install the files for you.
 
 Ken Jones
 
 
  On Wed, 2004-05-19 at 17:39, Patrick Donker wrote:
   Mark Matrafajlo wrote:
yes...could that be it ?
   
On Wed, 2004-05-19 at 17:14, Patrick Donker wrote:
 Mark Matrafajlo wrote:
  I just can't seem to compile courier with vpopmail and mysql as a
  backend.  Hopefully someone has some insight for me:
 
  ./configure --prefix=/usr/local/courier-imap --disable-root-check
  --without-authpam --without-authldap --without-authpwd
  --without-authmysql --without-authpgsql --without-authshadow
  --without-authuserdb --without-authcustom --without-authcram
  --without-authdaemon --with-authvchkpw --with-ssl
 
   In file included from authvchkpw.c:21:
   vpopmail_config.h:1:48: /var/qmail/vpopmail/include/config.h: No
   such file or directory authvchkpw.c:23:26: vauth.h: No such file
   or directory
   authvchkpw.c: In function `auth_vchkpw_changepass':
   authvchkpw.c:174: warning: passing arg 1 of `parse_email'
   discards qualifiers from pointer target type authvchkpw.c:190:
   warning: implicit declaration of function `vauth_getpw'
   authvchkpw.c:190: warning: assignment makes pointer from integer
   without a cast authvchkpw.c:200: error: dereferencing pointer to
   incomplete type authvchkpw.c:200: error: dereferencing pointer to
   incomplete type authvchkpw.c:206: warning: passing arg 3 of
   `vpasswd' discards qualifiers from pointer target type make[2]:
   *** [authvchkpw.o] Error 1
   make[2]: Leaving directory
   `/usr/local/source/courier-imap-3.0.4/authlib' make[1]: *** [all]
   Error 2
   make[1]: Leaving directory
   `/usr/local/source/courier-imap-3.0.4/authlib' make: ***
   [all-recursive] Error 1

 Maybe a stupid question, but did you install vpopmail before courier?
  
   Ahm, no, but the error 'vpopmail_config.h:1:48:
   /var/qmail/vpopmail/include/config.h: No such file or directory'
   pointed in that direction
 



Re: [vchkpw] make issues

2004-05-20 Thread Mark Matrafajlo
Do i need the authvchkpwd enabled on the courier ./configure to work
with vpopmail and mysql

On Thu, 2004-05-20 at 09:14, Mark Matrafajlo wrote:
 do you think it has something todo with the fact that its not in the
 standard directory /home/vpopmail...on this machine it defaults to
 /var/qmail/vpopmail ?
 On Wed, 2004-05-19 at 18:12, Ken Jones wrote:
  On Wednesday 19 May 2004 04:51 pm, Mark Matrafajlo wrote:
   when i look in the vpopmail/include directory i have just 2 files
   vpopmail_config.h and vpopmail.h...no config.h so i cp vpopmail_config.h
   to config.h...no dice
  
  Don't do that. when you run configure ; make ; make install for vpopmail
  it will install the files for you.
  
  Ken Jones
  
  
   On Wed, 2004-05-19 at 17:39, Patrick Donker wrote:
Mark Matrafajlo wrote:
 yes...could that be it ?

 On Wed, 2004-05-19 at 17:14, Patrick Donker wrote:
  Mark Matrafajlo wrote:
   I just can't seem to compile courier with vpopmail and mysql as a
   backend.  Hopefully someone has some insight for me:
  
   ./configure --prefix=/usr/local/courier-imap --disable-root-check
   --without-authpam --without-authldap --without-authpwd
   --without-authmysql --without-authpgsql --without-authshadow
   --without-authuserdb --without-authcustom --without-authcram
   --without-authdaemon --with-authvchkpw --with-ssl
  
In file included from authvchkpw.c:21:
vpopmail_config.h:1:48: /var/qmail/vpopmail/include/config.h: No
such file or directory authvchkpw.c:23:26: vauth.h: No such file
or directory
authvchkpw.c: In function `auth_vchkpw_changepass':
authvchkpw.c:174: warning: passing arg 1 of `parse_email'
discards qualifiers from pointer target type authvchkpw.c:190:
warning: implicit declaration of function `vauth_getpw'
authvchkpw.c:190: warning: assignment makes pointer from integer
without a cast authvchkpw.c:200: error: dereferencing pointer to
incomplete type authvchkpw.c:200: error: dereferencing pointer to
incomplete type authvchkpw.c:206: warning: passing arg 3 of
`vpasswd' discards qualifiers from pointer target type make[2]:
*** [authvchkpw.o] Error 1
make[2]: Leaving directory
`/usr/local/source/courier-imap-3.0.4/authlib' make[1]: *** [all]
Error 2
make[1]: Leaving directory
`/usr/local/source/courier-imap-3.0.4/authlib' make: ***
[all-recursive] Error 1
 
  Maybe a stupid question, but did you install vpopmail before courier?
   
Ahm, no, but the error 'vpopmail_config.h:1:48:
/var/qmail/vpopmail/include/config.h: No such file or directory'
pointed in that direction
  
 
 



Re: [vchkpw] make issues

2004-05-20 Thread Patrick Donker




did you try already?

Mark Matrafajlo wrote:

  Do i need the authvchkpwd enabled on the courier ./configure to work
with vpopmail and mysql

On Thu, 2004-05-20 at 09:14, Mark Matrafajlo wrote:
  
  
do you think it has something todo with the fact that its not in the
standard directory /home/vpopmail...on this machine it defaults to
/var/qmail/vpopmail ?
On Wed, 2004-05-19 at 18:12, Ken Jones wrote:


  On Wednesday 19 May 2004 04:51 pm, Mark Matrafajlo wrote:
  
  
when i look in the vpopmail/include directory i have just 2 files
vpopmail_config.h and vpopmail.h...no config.h so i cp vpopmail_config.h
to config.h...no dice

  
  Don't do that. when you run configure ; make ; make install for vpopmail
it will install the files for you.

Ken Jones

  
  
On Wed, 2004-05-19 at 17:39, Patrick Donker wrote:


  Mark Matrafajlo wrote:
  
  
yes...could that be it ?

On Wed, 2004-05-19 at 17:14, Patrick Donker wrote:


  Mark Matrafajlo wrote:
  
  
I just can't seem to compile courier with vpopmail and mysql as a
backend.  Hopefully someone has some insight for me:

./configure --prefix=/usr/local/courier-imap --disable-root-check
--without-authpam --without-authldap --without-authpwd
--without-authmysql --without-authpgsql --without-authshadow
--without-authuserdb --without-authcustom --without-authcram
--without-authdaemon --with-authvchkpw --with-ssl



  In file included from authvchkpw.c:21:
vpopmail_config.h:1:48: /var/qmail/vpopmail/include/config.h: No
such file or directory authvchkpw.c:23:26: vauth.h: No such file
or directory
authvchkpw.c: In function `auth_vchkpw_changepass':
authvchkpw.c:174: warning: passing arg 1 of `parse_email'
discards qualifiers from pointer target type authvchkpw.c:190:
warning: implicit declaration of function `vauth_getpw'
authvchkpw.c:190: warning: assignment makes pointer from integer
without a cast authvchkpw.c:200: error: dereferencing pointer to
incomplete type authvchkpw.c:200: error: dereferencing pointer to
incomplete type authvchkpw.c:206: warning: passing arg 3 of
`vpasswd' discards qualifiers from pointer target type make[2]:
*** [authvchkpw.o] Error 1
make[2]: Leaving directory
`/usr/local/source/courier-imap-3.0.4/authlib' make[1]: *** [all]
Error 2
make[1]: Leaving directory
`/usr/local/source/courier-imap-3.0.4/authlib' make: ***
[all-recursive] Error 1
  

  
  Maybe a stupid question, but did you install vpopmail before courier?
  

  
  Ahm, no, but the error 'vpopmail_config.h:1:48:
/var/qmail/vpopmail/include/config.h: No such file or directory'
pointed in that direction
  

  



  
  

  






Re: [vchkpw] make issues

2004-05-20 Thread Mark Matrafajlo
yes still doesn't compilei'm at a loss
On Thu, 2004-05-20 at 13:11, Patrick Donker wrote:
 did you try already?
 
 Mark Matrafajlo wrote:
  Do i need the authvchkpwd enabled on the courier ./configure to work
  with vpopmail and mysql
  
  On Thu, 2004-05-20 at 09:14, Mark Matrafajlo wrote:

   do you think it has something todo with the fact that its not in the
   standard directory /home/vpopmail...on this machine it defaults to
   /var/qmail/vpopmail ?
   On Wed, 2004-05-19 at 18:12, Ken Jones wrote:
   
On Wednesday 19 May 2004 04:51 pm, Mark Matrafajlo wrote:
  
 when i look in the vpopmail/include directory i have just 2 files
 vpopmail_config.h and vpopmail.h...no config.h so i cp vpopmail_config.h
 to config.h...no dice
 
Don't do that. when you run configure ; make ; make install for vpopmail
it will install the files for you.

Ken Jones

  
 On Wed, 2004-05-19 at 17:39, Patrick Donker wrote:
 
  Mark Matrafajlo wrote:

   yes...could that be it ?
   
   On Wed, 2004-05-19 at 17:14, Patrick Donker wrote:
   
Mark Matrafajlo wrote:
  
 I just can't seem to compile courier with vpopmail and mysql as a
 backend.  Hopefully someone has some insight for me:
 
 ./configure --prefix=/usr/local/courier-imap --disable-root-check
 --without-authpam --without-authldap --without-authpwd
 --without-authmysql --without-authpgsql --without-authshadow
 --without-authuserdb --without-authcustom --without-authcram
 --without-authdaemon --with-authvchkpw --with-ssl
 
 
  In file included from authvchkpw.c:21:
  vpopmail_config.h:1:48: /var/qmail/vpopmail/include/config.h: No
  such file or directory authvchkpw.c:23:26: vauth.h: No such file
  or directory
  authvchkpw.c: In function `auth_vchkpw_changepass':
  authvchkpw.c:174: warning: passing arg 1 of `parse_email'
  discards qualifiers from pointer target type authvchkpw.c:190:
  warning: implicit declaration of function `vauth_getpw'
  authvchkpw.c:190: warning: assignment makes pointer from integer
  without a cast authvchkpw.c:200: error: dereferencing pointer to
  incomplete type authvchkpw.c:200: error: dereferencing pointer to
  incomplete type authvchkpw.c:206: warning: passing arg 3 of
  `vpasswd' discards qualifiers from pointer target type make[2]:
  *** [authvchkpw.o] Error 1
  make[2]: Leaving directory
  `/usr/local/source/courier-imap-3.0.4/authlib' make[1]: *** [all]
  Error 2
  make[1]: Leaving directory
  `/usr/local/source/courier-imap-3.0.4/authlib' make: ***
  [all-recursive] Error 1

Maybe a stupid question, but did you install vpopmail before courier?
  
  Ahm, no, but the error 'vpopmail_config.h:1:48:
  /var/qmail/vpopmail/include/config.h: No such file or directory'
  pointed in that direction

   
  

 



[vchkpw] User-managed mailing lists in virtual hosting environment?

2004-05-20 Thread David Wolfskill
I have inherited a qmail installation, and we now have a fair amount of
(customer-visible) infrastructure that appears to depend on qmail.

Thus, when the decision was made that we needed to be able to
support customer-managed mailing lists, I poked around a bit and found
that (apparently) ezmlm is the usual mailing list manager intended for
use in a qmail environment.

Since the vast bulk of our clients (both current and prospective) are
not especially proficient with UNIX or the arcana of mailing lists, and
since there are (FreeBSD) ports of ezmlm-idx and ezmlm-web handy, I
installed those.

I have been customizing things in an attempt to make the result more
likely to be usable for the intended audience, but I'm seeing things
that look to me to be a bit awkward to explain (let alone implement with
any semblance of security).  And there are some things (ezmlm-web's
help, for example) that do not seem to function at all.  Since this is
my first foray into ezmlm ( derivatives), I don't know whether this is
to be expected or not.

Complicating things (apparently) is that our mail server is separate
from the Web server on which we provide clients' virtual hosts:  I am
hoping to be able to allow a customer to create (say)
[EMAIL PROTECTED] (but ezmlm-web appears to want to use the canonical
hostname for the mail server as the RHS of the email address).

Is there some other choice I might plausibly make to support such lists?

Thanks,
david
-- 
David H. Wolfskill [EMAIL PROTECTED]


RE: [vchkpw] User-managed mailing lists in virtual hosting environment?

2004-05-20 Thread Michael Bellears
 Complicating things (apparently) is that our mail server is 
 separate from the Web server on which we provide clients' 
 virtual hosts:  I am hoping to be able to allow a customer to 
 create (say) [EMAIL PROTECTED] (but ezmlm-web appears to 
 want to use the canonical hostname for the mail server as the 
 RHS of the email address).
 
 Is there some other choice I might plausibly make to support 
 such lists?

I don't know if this will be applicable in your environment, but
qmailadmin (http://www.inter7.com/qmailadmin.html) has mailing list
management functionalities.

HTH,
MB


Re: [vchkpw] User-managed mailing lists in virtual hosting environment?

2004-05-20 Thread Cesare D'Amico
Alle 22:39, giovedì 20 maggio 2004, David Wolfskill ha scritto:
 Is there some other choice I might plausibly make to support such
 lists?

If I'd be you, I'd install an apache-ssl on the mail server with access 
only to ezweb (ezmlm-idx manager, I find it nice, but I didn't ever try 
to sell it to non-technicians). I'm sorry I don't have a link, but you 
should find it easily with google though.

Ciao
 ce
-- 
Cesare D'Amico - boss (@t) cesaredamico (dot) com
http://cesaredamico.com  ~  http://phpday.it  ~  http://verona.linux.it/
Key on pgp.mit.edu, ID 92802693.
Questa è la mia vita, se ho bisogno te lo dico, sono io che guido, io 
che vado fuori strada, sempre io che pago... non è mai successo che 
pagassero per me... [Questa è la mia vita - Ligabue]


RE: [vchkpw] Temporarily disable mail delivery to domain

2004-05-20 Thread Michael Bellears
 
 I think I saw a qmail patch that let you use a badrcptto or 
 badmailto file in /var/qmail/controls.  Check 
 http://www.qmail.org and search for badrcptto (there are two 
 of them right together).  If this works, it would reject the 
 mail at the smtp level.

Thanks for the info.
 
 I think rejecting at the smtp level would be the most 
 efficient since you wouldn't have to accept the whole message then.

I agree.

Regards,
MB


RE: [vchkpw] User-managed mailing lists in virtual hosting environment?

2004-05-20 Thread Chris Odell

  Why no check out Matt Simersons site for the FreeBSD Toaster.
http://www.tnpi.biz 

 -Original Message-
 From: Michael Bellears [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, May 20, 2004 2:54 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [vchkpw] User-managed mailing lists in virtual 
 hosting environment?
 
  Complicating things (apparently) is that our mail server is 
 separate 
  from the Web server on which we provide clients'
  virtual hosts:  I am hoping to be able to allow a customer 
 to create 
  (say) [EMAIL PROTECTED] (but ezmlm-web appears to want 
 to use the 
  canonical hostname for the mail server as the RHS of the email 
  address).
  
  Is there some other choice I might plausibly make to support such 
  lists?
 
 I don't know if this will be applicable in your environment, 
 but qmailadmin (http://www.inter7.com/qmailadmin.html) has 
 mailing list management functionalities.
 
 HTH,
 MB
 



Re: [vchkpw] User-managed mailing lists in virtual hosting environment?

2004-05-20 Thread Rick Widmer

Michael Bellears wrote:
Complicating things (apparently) is that our mail server is 
separate from the Web server on which we provide clients' 
virtual hosts: 
That doesn't complicate things, it simplifies them.  I do not want 
clients updating web files on my mail server.  You will want an instance 
of Apache running on the mail server, but don't allow anyone who is not 
a mail administrator any access to the files.

I don't know if this will be applicable in your environment, but
qmailadmin (http://www.inter7.com/qmailadmin.html) has mailing list
management functionalities.
I second that suggestion, not only does it simplify management of 
mailing lists, it also manages mailboxes, forwards, and mail robots.
The most current version is found on SourceFORGE:

   http://sourceforge.net/projects/qmailadmin/


Re: [vchkpw] User-managed mailing lists in virtual hosting environment?

2004-05-20 Thread David Wolfskill
On Thu, May 20, 2004 at 04:26:14PM -0700, Chris Odell wrote:

  Why no check out Matt Simersons site for the FreeBSD Toaster.
http://www.tnpi.biz 

I may check that out at some point; for now, the earlier suggestion of
qmailadmin appears to be working.  I'll need to wait 'til my boss is
back to see if it looks right, but so far, it seems to be a better fit
than ezmlm-web.

Thanks for the suggestions, folks.

Peace,
david
-- 
David H. Wolfskill [EMAIL PROTECTED]


[vchkpw] SMTP Auth HOWTO?

2004-05-20 Thread blist
I am installing vchkpw + SMTP AUTH + qmail.  I have installed qmail with 
this patch:
  qmail-smtpd-auth-0.31 from 
http://members.elysium.pl/brush/qmail-smtpd-auth/

Here is my run tcpserver script for qmail-smtpd:
exec /usr/local/bin/softlimit -m 1000 \
/usr/local/bin/tcpserver -v -H -R -l $LOCAL -x \
/usr/local/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD -u \
$QMAILDUID -g vchkpw 192.168.5.50 25 \
/usr/local/bin/fixcrio \
/usr/local/bin/rblsmtpd -r relays.ordb.org \
/var/qmail/bin/qmail-smtpd ps1.prostream.net \
/usr/local/vpopmail/bin/vchkpw /bin/true 
I cannot get any users to authenticate when sending email.  I then tried 
taking out ps1.prostream.net after /var/qmail/bin/qmail-smtpd and it 
lets all users authenticate.  I am running SUSE 9.0 x86-64 with vpopmail 
5.4.0

Any ideas why its not working?
Thanks,
Brooks Roy


Re: [vchkpw] SMTP Auth HOWTO?

2004-05-20 Thread Jeremy Kitchen
On Thursday 20 May 2004 07:00 pm, blist wrote:
 I am installing vchkpw + SMTP AUTH + qmail.  I have installed qmail with
 this patch:
qmail-smtpd-auth-0.31 from
 http://members.elysium.pl/brush/qmail-smtpd-auth/

 Here is my run tcpserver script for qmail-smtpd:

 exec /usr/local/bin/softlimit -m 1000 \
 /usr/local/bin/tcpserver -v -H -R -l $LOCAL -x \
 /usr/local/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD -u \
 $QMAILDUID -g vchkpw 192.168.5.50 25 \
 /usr/local/bin/fixcrio \
 /usr/local/bin/rblsmtpd -r relays.ordb.org \
 /var/qmail/bin/qmail-smtpd ps1.prostream.net \
 /usr/local/vpopmail/bin/vchkpw /bin/true 

ok

 I cannot get any users to authenticate when sending email.  I then tried
 taking out ps1.prostream.net after /var/qmail/bin/qmail-smtpd and it
 lets all users authenticate.  I am running SUSE 9.0 x86-64 with vpopmail
 5.4.0

what's the value of $QMAILDUID in that script?

also, if you take out the hostname you're an open relay, because you're 
authenticating with /bin/true

-Jeremy

 Any ideas why its not working?

 Thanks,
 Brooks Roy

-- 
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] SMTP Auth HOWTO?

2004-05-20 Thread Brooks Roy
Jeremy,
QMAILDUID = vpopmail
I know if i take out the domain its open :(..  That is the only thing so 
far that works..  I am at loss what I did wrong.  Been googling all night :)

Jeremy Kitchen wrote:
On Thursday 20 May 2004 07:00 pm, blist wrote:
 

I am installing vchkpw + SMTP AUTH + qmail.  I have installed qmail with
this patch:
  qmail-smtpd-auth-0.31 from
http://members.elysium.pl/brush/qmail-smtpd-auth/
Here is my run tcpserver script for qmail-smtpd:
exec /usr/local/bin/softlimit -m 1000 \
/usr/local/bin/tcpserver -v -H -R -l $LOCAL -x \
/usr/local/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD -u \
$QMAILDUID -g vchkpw 192.168.5.50 25 \
/usr/local/bin/fixcrio \
/usr/local/bin/rblsmtpd -r relays.ordb.org \
/var/qmail/bin/qmail-smtpd ps1.prostream.net \
/usr/local/vpopmail/bin/vchkpw /bin/true 
   

ok
 

I cannot get any users to authenticate when sending email.  I then tried
taking out ps1.prostream.net after /var/qmail/bin/qmail-smtpd and it
lets all users authenticate.  I am running SUSE 9.0 x86-64 with vpopmail
5.4.0
   

what's the value of $QMAILDUID in that script?
also, if you take out the hostname you're an open relay, because you're 
authenticating with /bin/true

-Jeremy
 

Any ideas why its not working?
Thanks,
Brooks Roy
   

 




Re: [vchkpw] SMTP Auth HOWTO?

2004-05-20 Thread Greg Kopp
The patch you are using is incredibly old.
You should consider auth-jms1.4a.patch from 
http://www.jms1.net/qmail/auth-jms1.4a.patch

If that link is broken, google on auth-jms1.4a.patch and look at the 
cached version.

You might also consider the qmail-requireauth.patch that allows you to 
set an environment variable to selectively require authentication. I had 
to manually apply the patch as some of the line numbers didn't jive. 
I've pasted it below.

Greg
*** qmail-smtpd-orig.c  Tue May 15 13:21:04 2001
--- qmail-smtpd.c   Tue May 15 13:26:04 2001
***
*** 72,77 
--- 72,79 
 int err_authabrt() { out(501 auth exchange cancelled (#5.0.0)\r\n); 
return -1; }
 int err_input() { out(501 malformed auth input (#5.5.4)\r\n); return 
-1; }

+ void err_authrequired() { out(503 you must authenticate first 
(#5.5.1)\r\n); }
+
 stralloc greeting = {0};

 void smtp_greet(code) char *code;
***
*** 93,98 
--- 95,102 
 char *remoteinfo;
 char *local;
 char *relayclient;
+ char *requireauth;
+ int authd = 0;
 stralloc helohost = {0};
 char *fakehelo; /* pointer into helohost, or 0 */
***
*** 143,148 
--- 147,153 
   if (!remotehost) remotehost = unknown;
   remoteinfo = env_get(TCPREMOTEINFO);
   relayclient = env_get(RELAYCLIENT);
+   requireauth = env_get(REQUIREAUTH);
   dohelo(remotehost);
 }
***
*** 259,264 
--- 264,270 
 }
 void smtp_mail(arg) char *arg;
 {
+   if (requireauth  !authd) { err_authrequired(); return; }
   if (!addrparse(arg)) { err_syntax(); return; }
   flagbarf = bmfcheck();
   seenmail = 1;
***
*** 425,431 
 char **childargs;
 substdio ssup;
 char upbuf[128];
- int authd = 0;
 int authgetl(void) {
   int i;
--- 431,436 

blist wrote:
I am installing vchkpw + SMTP AUTH + qmail.  I have installed qmail 
with this patch:
  qmail-smtpd-auth-0.31 from 
http://members.elysium.pl/brush/qmail-smtpd-auth/

Here is my run tcpserver script for qmail-smtpd:
exec /usr/local/bin/softlimit -m 1000 \
/usr/local/bin/tcpserver -v -H -R -l $LOCAL -x \
/usr/local/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD -u \
$QMAILDUID -g vchkpw 192.168.5.50 25 \
/usr/local/bin/fixcrio \
/usr/local/bin/rblsmtpd -r relays.ordb.org \
/var/qmail/bin/qmail-smtpd ps1.prostream.net \
/usr/local/vpopmail/bin/vchkpw /bin/true 
I cannot get any users to authenticate when sending email.  I then 
tried taking out ps1.prostream.net after /var/qmail/bin/qmail-smtpd 
and it lets all users authenticate.  I am running SUSE 9.0 x86-64 with 
vpopmail 5.4.0

Any ideas why its not working?
Thanks,
Brooks Roy



Re: [vchkpw] SMTP Auth HOWTO?

2004-05-20 Thread X-Istence
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeremy Kitchen wrote:
 On Thursday 20 May 2004 07:00 pm, blist wrote:
Here is my run tcpserver script for qmail-smtpd:

exec /usr/local/bin/softlimit -m 1000 \
/usr/local/bin/tcpserver -v -H -R -l $LOCAL -x \
/usr/local/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD -u \
$QMAILDUID -g vchkpw 192.168.5.50 25 \
/usr/local/bin/fixcrio \
/usr/local/bin/rblsmtpd -r relays.ordb.org \
/var/qmail/bin/qmail-smtpd ps1.prostream.net \
/usr/local/vpopmail/bin/vchkpw /bin/true 

Simple, remove the hostname, and all should be well.



 what's the value of $QMAILDUID in that script?

 also, if you take out the hostname you're an open relay, because you're
 authenticating with /bin/true

Wrong, vchkpw needs another program to change the directory for, check
the way qmail-pop3d works.

pop3-popup checkpasswrd realpop3 (Which is now in the users directory)

If vchkpw is not given another argument to execute after it auth's the
user, qmail-smtpd has no way to check if it was successfull.


 -Jeremy



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFArV1GJukONu5DUaQRAt/SAJ9Ubh1+KnXuKN9p+AGtnz3OvPEi4wCgmS2k
lqa015oQi4ITRgNw0nECxRI=
=LOQ4
-END PGP SIGNATURE-


Re: [vchkpw] SMTP Auth HOWTO?

2004-05-20 Thread X-Istence
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


My apologies, the solution i provided *WILL* not work. Considering the
code still contains the hostname stuff.

What i suggest is you grab the patch from the vpopmail contrib
directory, it contains a copy that *will* work.

X-Istence
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFArV6EJukONu5DUaQRAuMQAJ4oPWzzYWeeAKRlYOop6DWxovBy/wCghqre
PvraZ1VWDiBT4Yx++8H0Xho=
=pS6m
-END PGP SIGNATURE-


Re: [vchkpw] SMTP Auth HOWTO?

2004-05-20 Thread Brooks Roy
So use the patch from the vpopmail contrib directory WITHOUT the 
hostname in the run script for tcpserver?

Wont this make the server an open relay?
X-Istence wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
My apologies, the solution i provided *WILL* not work. Considering the
code still contains the hostname stuff.
What i suggest is you grab the patch from the vpopmail contrib
directory, it contains a copy that *will* work.
X-Istence
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFArV6EJukONu5DUaQRAuMQAJ4oPWzzYWeeAKRlYOop6DWxovBy/wCghqre
PvraZ1VWDiBT4Yx++8H0Xho=
=pS6m
-END PGP SIGNATURE-
 




Re: [vchkpw] SMTP Auth HOWTO?

2004-05-20 Thread X-Istence
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Brooks Roy wrote:
 So use the patch from the vpopmail contrib directory WITHOUT the
 hostname in the run script for tcpserver?

 Wont this make the server an open relay?

No, cause that patch doesnt require a hostname on purpose, as to many
poeple were unsure if it was needed or not. It is not needed, thus it
was removed. So no, you will not make yourself an open relay.


 X-Istence wrote:


 My apologies, the solution i provided *WILL* not work. Considering the
 code still contains the hostname stuff.

 What i suggest is you grab the patch from the vpopmail contrib
 directory, it contains a copy that *will* work.

 X-Istence
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFArWgSJukONu5DUaQRApA6AKCM+q+2R0ErkBTWX1AK+swrOrruLgCfbBZs
x1XaueBT++M1ovsaIvevqpw=
=Ubls
-END PGP SIGNATURE-


Re: [vchkpw] SMTP Auth HOWTO?

2004-05-20 Thread Brooks Roy
I do not have an open relay.  I am trying to setup SMTP Auth.  It is not 
working.. When users try to auth, it just keeps asking for username 
password over and over.  Never sends.

X-Istence wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brooks Roy wrote:
 

I have put in the patch as described in the contrib README and changed
it to be /bin/checkpassword instead of vchkpw and I still have the
same senario.
   

What does your data.cdb or smtp.cdb look like that gets created from a file?
Also, it should still be to vchkpw if you want to use vpopmail.
This is what your run file should look like:
exec /usr/local/bin/softlimit -m 1000 \
/usr/local/bin/tcpserver -v -H -R -l $LOCAL -x \
/usr/local/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD -u \
$QMAILDUID -g vchkpw 192.168.5.50 25 \
/usr/local/bin/fixcrio \
/usr/local/bin/rblsmtpd -r relays.ordb.org \
/var/qmail/bin/qmail-smtpd /usr/local/vpopmail/bin/vchkpw /usr/bin/true 
Also make sure $QMAILDUID $MAXSMTPD and $LOCAL are set properly.
I see that you have your /usr/local/vpopmail/etc/tcp.smtp.cdb, are you
sure that is no causing the open relay? Try pointing it to one that only
has:
:allow
in it, and see if you are still an open relay then.
X-Istence
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFArWnTJukONu5DUaQRAvIEAJ4kNtYLR/Kq37/KHIhQT+bowaa2AwCfcfmw
T/UiN67ZKxN5Xl8bfb7td2A=
=ioO9
-END PGP SIGNATURE-