[vchkpw] vpopmail and postfix

2004-02-24 Thread Martin Sarajervi
hi,

I'm having trouble combining postfix and vpopmail. I followed
http://www.inter7.com/vpopmail/postfix.txt, but it's very minimal.
I add my domain with vadddomain and it all works fine, but when I send the
mail I get relay reject in postfix:

Feb 24 10:59:32 poseidon postfix/smtpd[16161]: reject: RCPT from
smtp.exo.no[212.33.139.22]: 554 [EMAIL PROTECTED]: Recipient address
rejected: Relay access denied; from=[EMAIL PROTECTED] to=[EMAIL PROTECTED]

I understand that postfix doesn't read the virtualdomains and rcpthosts in
/var/qmail/control, but how do I make postfix accept my messages?
Will I have to add the domains in some postfix config file manually for it
to work?

Anyone know any other info on the web on this subject?

--
Martin




[vchkpw] no such user USER@DOMAIN in root directory

2004-02-24 Thread Sebastian Ovide
hi everybody.

I have qmail+vpopmail+spamassasin+qmailscanner on my system and I don't know why
I have a lot of directorys created, in the root directory , as uch user
[EMAIL PROTECTED] in root directory.

any ideas ?

thank
--
Sebastian Ezequiel Ovide



Re: [vchkpw] no such user USER@DOMAIN in root directory

2004-02-24 Thread Michael Bowe

- Original Message - 
From: Sebastian Ovide [EMAIL PROTECTED]


 I have qmail+vpopmail+spamassasin+qmailscanner on my system
 and I don't know why
 I have a lot of directorys created, in the root directory , as uch user
 [EMAIL PROTECTED] in root directory.

 any ideas ?

maybe spamassassin is somehow misconfigured and is creating user dirs to
store per-user .spamassassin files ?

perhaps try an ls -al in one of these dirs to see if they contain any
files/dirs like that

Michael.



Re: [vchkpw] no such user USER@DOMAIN in root directory

2004-02-24 Thread Sebastian Ovide
hi Mike

yes. Inside this directoris there is the directory  .spamassassin/.

do you know how to avoid it ?

thank you

bye

-- Initial Header ---

From  : Michael Bowe [EMAIL PROTECTED]
To  : [EMAIL PROTECTED]
Cc  :
Date  : Tue, 24 Feb 2004 22:12:32 +1100
Subject : Re: [vchkpw] no such user [EMAIL PROTECTED] in root directory

|
|- Original Message -
|From: Sebastian Ovide [EMAIL PROTECTED]
|
|
| I have qmail+vpopmail+spamassasin+qmailscanner on my system
| and I don't know why
| I have a lot of directorys created, in the root directory , as uch user
| [EMAIL PROTECTED] in root directory.
|
| any ideas ?
|
|maybe spamassassin is somehow misconfigured and is creating user dirs to
|store per-user .spamassassin files ?
|
|perhaps try an ls -al in one of these dirs to see if they contain any
|files/dirs like that
|
|Michael.
|
|

--
Sebastian Ezequiel Ovide



[vchkpw] vpopmail and qmail smtp-auth patch, cram-md5 problem

2004-02-24 Thread Alexander Gruber
hi together,

i have a problem with my vpopmail installation in conjunction with 
cram-md5. everything worked fine till i upgraded from vpopmail 
5.4.0-pre2 to 5.4.1. i can´t use cram-md5 anymore and i always get the 
message vchkpw-smtp: password fail. up to now qmail patched with the 
smtp-auth patch did my cram-md5 authentification.

what attracted my attention is that now i have to cram-md5 entries in 
the ehlo message from my qmail-server:

ehlo example.com
250-mail.example.com
250-AUTH LOGIN CRAM-MD5 PLAIN
250-AUTH=LOGIN CRAM-MD5 PLAIN
250-STARTTLS
250-PIPELINING
250 8BITMIME
thanks a lot!

regards

alexander gruber


Re: [vchkpw] vpopmail and qmail smtp-auth patch, cram-md5 problem

2004-02-24 Thread Tom Collins
On Feb 24, 2004, at 6:29 AM, Alexander Gruber wrote:
i have a problem with my vpopmail installation in conjunction with 
cram-md5. everything worked fine till i upgraded from vpopmail 
5.4.0-pre2 to 5.4.1. i can´t use cram-md5 anymore and i always get the 
message vchkpw-smtp: password fail. up to now qmail patched with the 
smtp-auth patch did my cram-md5 authentification.
Early versions of the CRAM-MD5 patch to qmail-smptd passed the 
information to vchkpw in the wrong order.  The newer versions of that 
patch, including the one in the contrib directory of vpopmail 5.4.0 and 
later, are written correctly.

Unfortunately, vchkpw up until 5.4.0 (final) was coded to the old, 
incorrect cram-md5 patch.  Make sure that you re-patch qmail-smtpd with 
the new CRAM-MD5 patch.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter handheld Network Tester: http://sniffter.com/


[vchkpw] vpopmail 5.4.0 Make error on Solaris 9

2004-02-24 Thread Joseph Bruzzo

Hi to all,

I am trying to compile vpopmail-5.4.0 on a SUN Ultra 5 running Solaris 9
with all the security and recommended patches.  But I keep on getting
this error that for the life of me I can not figure it out.

Can anyone help???

my Configuration options are as follows:

bash-2.05# crle -c /var/ld/ld.config -l
/usr/lib:/usr/local/lib:/usr/local/ssl/lib:/usr/local/mysql/lib

bash-2.05# ./configure --enable-roaming-users=n --enable-logging=p
--enable-ip-alias-domains=n --enable-passwd=n --enable-clear-passwd=y
--enable-domain-quotas=n --enable-auth-module=mysql
--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
--enable-mysql-limits=n

vpopmail 5.4.0
Current settings
---

vpopmail directory = /var/vpopmail
   uid = 725
   gid = 725
 roaming users = OFF --disable-roaming-users (default)
 password learning = OFF --disable-learn-passwords (default)
 md5 passwords = ON  --enable-md5-passwords (default)
  file locking = ON  --enable-file-locking (default)
vdelivermail fsync = OFF --disable-file-sync (default)
 make seekable = ON  --enable-make-seekable (default)
  clear passwd = ON  --enable-clear-passwd (default)
 user dir hashing  = ON  --enable-users-big-dir (default)
address extensions = OFF --disable-qmail-ext (default)
  ip alias = OFF --disable-ip-alias-domains (default)
 domain quotas = OFF --disable-domainquotas (default)
   auth module = mysql --enable-auth-module=mysql
 mysql replication = OFF --disable-mysql-replication (default)
 mysql logging = ON  --enable-mysql-logging
  mysql limits = OFF --disable-mysql-limits (default)
  MySQL valias = ON  --enable-valias
  auth inc = -I/usr/local/mysql/include
  auth lib = -L/usr/local/mysql/lib -R${exec_prefix}/lib
-lmysqlclient -lz
  system passwords = OFF --disable-passwd (default)
pop syslog = show failed attempts with clear text password
 --enable-logging=p
  auth logging = ON  --enable-auth-logging (default)
one domain per SQL table = --disable-many-domains

bash-2.05# /usr/ccs/bin/make  ## This produces the error below...


gcc -I. -I/usr/local/mysql/include  -I. -I. -I. -g -O2 -Wall -c
`test -f 'vchkpw.c' || echo './'`vchkpw.c gcc -I.
-I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f
'hmac_md5.c' || echo
'./'`hmac_md5.c hmac_md5.c: In function `hmac_md5':
hmac_md5.c:52: warning: implicit declaration of function `bzero'
hmac_md5.c:54: warning: implicit declaration of function `bcopy'
gcc  -g -O2 -Wall   -o vchkpw  vchkpw.o md5.o hmac_md5.o libvpopmail.a
-L/usr/local/mysql/lib -R/usr/local/lib -lmysqlclient -lz -lcrypt
Undefined   first referenced
 symbol in file
socket
/usr/local/mysql/lib/libmysqlclient.a(libmysql.o) getpeername
   /usr/local/mysql/lib/libmysqlclient.a(viosocket.o)
gethostbyname_r
/usr/local/mysql/lib/libmysqlclient.a(libmysql.o) setsockopt
   /usr/local/mysql/lib/libmysqlclient.a(viosocket.o)
getservbyname
/usr/local/mysql/lib/libmysqlclient.a(libmysql.o) floor
   /usr/local/mysql/lib/libmysqlclient.a(password.o) inet_addr
  /usr/local/mysql/lib/libmysqlclient.a(libmysql.o)
inet_ntoa
/usr/local/mysql/lib/libmysqlclient.a(my_net.o) shutdown
 /usr/local/mysql/lib/libmysqlclient.a(viosocket.o) connect
 /usr/local/mysql/lib/libmysqlclient.a(libmysql.o)
ld:
fatal: Symbol referencing errors. No output written to vchkpw
collect2: ld returned 1 exit status
make[2]: *** [vchkpw] Error 1
make[2]: Leaving directory `/tmp/vpopmail-5.4.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/vpopmail-5.4.0'
make: *** [all] Error 2



Any help will be greatly appreciated.  Also, thank you in advance.



--
HigherAccess.com for web and email hosting needs.
http://www.higheraccess.com/




Re: [vchkpw] vpopmail and qmail smtp-auth patch, cram-md5 problem

2004-02-24 Thread Jeff Koch
What email client do you use?

At 08:29 AM 2/24/2004, you wrote:
hi together,

i have a problem with my vpopmail installation in conjunction with 
cram-md5. everything worked fine till i upgraded from vpopmail 5.4.0-pre2 
to 5.4.1. i can´t use cram-md5 anymore and i always get the message 
vchkpw-smtp: password fail. up to now qmail patched with the smtp-auth 
patch did my cram-md5 authentification.

what attracted my attention is that now i have to cram-md5 entries in the 
ehlo message from my qmail-server:

ehlo example.com
250-mail.example.com
250-AUTH LOGIN CRAM-MD5 PLAIN
250-AUTH=LOGIN CRAM-MD5 PLAIN
250-STARTTLS
250-PIPELINING
250 8BITMIME
thanks a lot!

regards

alexander gruber
Best Regards,

Jeff Koch, Intersessions 




RE: [vchkpw] vpopmail 5.4.0 Make error on Solaris 9

2004-02-24 Thread Joseph Bruzzo
I am currently running gcc-3.3, zlib-1.2.1. I will upgrade my gcc to 3.3.2
and try it again.  If that doesn't work do you have any other ideas.  It
would be greatly appreciated.

I have the life with qmail book.  thanks for the tidbit.

Joseph Bruzzo


 I've run into countless problems compiling stuff on Solaris 8. The first
 thing you should do is make sure you are using a recent version of gcc,
 not the cc or gcc that came with Solaris. You may have to change
 configure to point to your new gcc. Find gcc and other precompiled
 binaries at
 sunfreeware.com

 I also found some tidbits that are Solaris specific on the life with
 qmail site.

 Take Care,

 Tony Rini

 -Original Message-
 From: Joseph Bruzzo [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, February 24, 2004 7:14 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] vpopmail 5.4.0 Make error on Solaris 9


 Hi to all,

 I am trying to compile vpopmail-5.4.0 on a SUN Ultra 5 running Solaris 9
 with all the security and recommended patches.  But I keep on getting
 this error that for the life of me I can not figure it out.

 Can anyone help???

 my Configuration options are as follows:

 bash-2.05# crle -c /var/ld/ld.config -l
 /usr/lib:/usr/local/lib:/usr/local/ssl/lib:/usr/local/mysql/lib

 bash-2.05# ./configure --enable-roaming-users=n --enable-logging=p
 --enable-ip-alias-domains=n --enable-passwd=n --enable-clear-passwd=y
 --enable-domain-quotas=n --enable-auth-module=mysql
 --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
 --enable-mysql-limits=n

 vpopmail 5.4.0
 Current settings
 ---

 vpopmail directory = /var/vpopmail
uid = 725
gid = 725
  roaming users = OFF --disable-roaming-users (default)
  password learning = OFF --disable-learn-passwords (default)
  md5 passwords = ON  --enable-md5-passwords (default)
   file locking = ON  --enable-file-locking (default)
 vdelivermail fsync = OFF --disable-file-sync (default)
  make seekable = ON  --enable-make-seekable (default)
   clear passwd = ON  --enable-clear-passwd (default)
  user dir hashing  = ON  --enable-users-big-dir (default)
 address extensions = OFF --disable-qmail-ext (default)
   ip alias = OFF --disable-ip-alias-domains (default)
  domain quotas = OFF --disable-domainquotas (default)
auth module = mysql --enable-auth-module=mysql
  mysql replication = OFF --disable-mysql-replication (default)
  mysql logging = ON  --enable-mysql-logging
   mysql limits = OFF --disable-mysql-limits (default)
   MySQL valias = ON  --enable-valias
   auth inc = -I/usr/local/mysql/include
   auth lib = -L/usr/local/mysql/lib -R${exec_prefix}/lib
 -lmysqlclient -lz
   system passwords = OFF --disable-passwd (default)
 pop syslog = show failed attempts with clear text password
  --enable-logging=p
   auth logging = ON  --enable-auth-logging (default)
 one domain per SQL table = --disable-many-domains

 bash-2.05# /usr/ccs/bin/make  ## This produces the error below...


 gcc -I. -I/usr/local/mysql/include  -I. -I. -I. -g -O2 -Wall -c
 `test -f 'vchkpw.c' || echo './'`vchkpw.c gcc -I.
 -I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f
 'hmac_md5.c' || echo
 './'`hmac_md5.c hmac_md5.c: In function `hmac_md5':
 hmac_md5.c:52: warning: implicit declaration of function `bzero'
 hmac_md5.c:54: warning: implicit declaration of function `bcopy'
 gcc  -g -O2 -Wall   -o vchkpw  vchkpw.o md5.o hmac_md5.o libvpopmail.a
 -L/usr/local/mysql/lib -R/usr/local/lib -lmysqlclient -lz -lcrypt
 Undefined   first referenced
  symbol in file
 socket
 /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) getpeername
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)
 gethostbyname_r
 /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) setsockopt
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)
 getservbyname
 /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) floor
/usr/local/mysql/lib/libmysqlclient.a(password.o) inet_addr
   /usr/local/mysql/lib/libmysqlclient.a(libmysql.o)
 inet_ntoa
 /usr/local/mysql/lib/libmysqlclient.a(my_net.o) shutdown
  /usr/local/mysql/lib/libmysqlclient.a(viosocket.o) connect
  /usr/local/mysql/lib/libmysqlclient.a(libmysql.o)
 ld:
 fatal: Symbol referencing errors. No output written to vchkpw
 collect2: ld returned 1 exit status
 make[2]: *** [vchkpw] Error 1
 make[2]: Leaving directory `/tmp/vpopmail-5.4.0'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/tmp/vpopmail-5.4.0'
 make: *** [all] Error 2



 Any help will be greatly appreciated.  Also, thank you in advance.




RE: [vchkpw] vpopmail 5.4.0 Make error on Solaris 9

2004-02-24 Thread Tony Rini
I seem to remember having to use gmake to get things going smoothly. I
haven't performed a qmail install on Solaris 9 so I'm afraid that I don't
have any experience in your exact environment. Sol8 on sparc sure caused a
few headaches with an older qmail/vpopmail release, I'm hoping things are
better now. 

Good luck and post any solutions you find.

Take Care,
Tony Rini

-Original Message-
From: Joseph Bruzzo [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 24, 2004 8:13 AM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] vpopmail 5.4.0 Make error on Solaris 9

I am currently running gcc-3.3, zlib-1.2.1. I will upgrade my gcc to 3.3.2
and try it again.  If that doesn't work do you have any other ideas.  It
would be greatly appreciated.

I have the life with qmail book.  thanks for the tidbit.

Joseph Bruzzo


 I've run into countless problems compiling stuff on Solaris 8. The first
 thing you should do is make sure you are using a recent version of gcc,
 not the cc or gcc that came with Solaris. You may have to change
 configure to point to your new gcc. Find gcc and other precompiled
 binaries at
 sunfreeware.com

 I also found some tidbits that are Solaris specific on the life with
 qmail site.

 Take Care,

 Tony Rini

 -Original Message-
 From: Joseph Bruzzo [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, February 24, 2004 7:14 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] vpopmail 5.4.0 Make error on Solaris 9


 Hi to all,

 I am trying to compile vpopmail-5.4.0 on a SUN Ultra 5 running Solaris 9
 with all the security and recommended patches.  But I keep on getting
 this error that for the life of me I can not figure it out.

 Can anyone help???

 my Configuration options are as follows:

 bash-2.05# crle -c /var/ld/ld.config -l
 /usr/lib:/usr/local/lib:/usr/local/ssl/lib:/usr/local/mysql/lib

 bash-2.05# ./configure --enable-roaming-users=n --enable-logging=p
 --enable-ip-alias-domains=n --enable-passwd=n --enable-clear-passwd=y
 --enable-domain-quotas=n --enable-auth-module=mysql
 --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
 --enable-mysql-limits=n

 vpopmail 5.4.0
 Current settings
 ---

 vpopmail directory = /var/vpopmail
uid = 725
gid = 725
  roaming users = OFF --disable-roaming-users (default)
  password learning = OFF --disable-learn-passwords (default)
  md5 passwords = ON  --enable-md5-passwords (default)
   file locking = ON  --enable-file-locking (default)
 vdelivermail fsync = OFF --disable-file-sync (default)
  make seekable = ON  --enable-make-seekable (default)
   clear passwd = ON  --enable-clear-passwd (default)
  user dir hashing  = ON  --enable-users-big-dir (default)
 address extensions = OFF --disable-qmail-ext (default)
   ip alias = OFF --disable-ip-alias-domains (default)
  domain quotas = OFF --disable-domainquotas (default)
auth module = mysql --enable-auth-module=mysql
  mysql replication = OFF --disable-mysql-replication (default)
  mysql logging = ON  --enable-mysql-logging
   mysql limits = OFF --disable-mysql-limits (default)
   MySQL valias = ON  --enable-valias
   auth inc = -I/usr/local/mysql/include
   auth lib = -L/usr/local/mysql/lib -R${exec_prefix}/lib
 -lmysqlclient -lz
   system passwords = OFF --disable-passwd (default)
 pop syslog = show failed attempts with clear text password
  --enable-logging=p
   auth logging = ON  --enable-auth-logging (default)
 one domain per SQL table = --disable-many-domains

 bash-2.05# /usr/ccs/bin/make  ## This produces the error below...


 gcc -I. -I/usr/local/mysql/include  -I. -I. -I. -g -O2 -Wall -c
 `test -f 'vchkpw.c' || echo './'`vchkpw.c gcc -I.
 -I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f
 'hmac_md5.c' || echo
 './'`hmac_md5.c hmac_md5.c: In function `hmac_md5':
 hmac_md5.c:52: warning: implicit declaration of function `bzero'
 hmac_md5.c:54: warning: implicit declaration of function `bcopy'
 gcc  -g -O2 -Wall   -o vchkpw  vchkpw.o md5.o hmac_md5.o libvpopmail.a
 -L/usr/local/mysql/lib -R/usr/local/lib -lmysqlclient -lz -lcrypt
 Undefined   first referenced
  symbol in file
 socket
 /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) getpeername
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)
 gethostbyname_r
 /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) setsockopt
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)
 getservbyname
 /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) floor
/usr/local/mysql/lib/libmysqlclient.a(password.o) inet_addr
   /usr/local/mysql/lib/libmysqlclient.a(libmysql.o)
 inet_ntoa
 /usr/local/mysql/lib/libmysqlclient.a(my_net.o) 

RE: [vchkpw] vpopmail 5.4.0 Make error on Solaris 9

2004-02-24 Thread Joseph Bruzzo
Thanks for the input.  I will install gmake and give it a try as well.  I
will post the results of my install.

Thnks
Joseph Bruzzo

 I seem to remember having to use gmake to get things going smoothly. I
 haven't performed a qmail install on Solaris 9 so I'm afraid that I
 don't have any experience in your exact environment. Sol8 on sparc sure
 caused a few headaches with an older qmail/vpopmail release, I'm hoping
 things are better now.

 Good luck and post any solutions you find.

 Take Care,
 Tony Rini

 -Original Message-
 From: Joseph Bruzzo [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, February 24, 2004 8:13 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [vchkpw] vpopmail 5.4.0 Make error on Solaris 9

 I am currently running gcc-3.3, zlib-1.2.1. I will upgrade my gcc to
 3.3.2 and try it again.  If that doesn't work do you have any other
 ideas.  It would be greatly appreciated.

 I have the life with qmail book.  thanks for the tidbit.

 Joseph Bruzzo


 I've run into countless problems compiling stuff on Solaris 8. The
 first thing you should do is make sure you are using a recent version
 of gcc, not the cc or gcc that came with Solaris. You may have to
 change configure to point to your new gcc. Find gcc and other
 precompiled binaries at
 sunfreeware.com

 I also found some tidbits that are Solaris specific on the life with
 qmail site.

 Take Care,

 Tony Rini

 -Original Message-
 From: Joseph Bruzzo [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, February 24, 2004 7:14 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] vpopmail 5.4.0 Make error on Solaris 9


 Hi to all,

 I am trying to compile vpopmail-5.4.0 on a SUN Ultra 5 running Solaris
 9 with all the security and recommended patches.  But I keep on
 getting this error that for the life of me I can not figure it out.

 Can anyone help???

 my Configuration options are as follows:

 bash-2.05# crle -c /var/ld/ld.config -l
 /usr/lib:/usr/local/lib:/usr/local/ssl/lib:/usr/local/mysql/lib

 bash-2.05# ./configure --enable-roaming-users=n --enable-logging=p
 --enable-ip-alias-domains=n --enable-passwd=n --enable-clear-passwd=y
 --enable-domain-quotas=n --enable-auth-module=mysql
 --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
 --enable-mysql-limits=n

 vpopmail 5.4.0
 Current settings
 ---

 vpopmail directory = /var/vpopmail
uid = 725
gid = 725
  roaming users = OFF --disable-roaming-users (default)
  password learning = OFF --disable-learn-passwords (default)
  md5 passwords = ON  --enable-md5-passwords (default)
   file locking = ON  --enable-file-locking (default)
 vdelivermail fsync = OFF --disable-file-sync (default)
  make seekable = ON  --enable-make-seekable (default)
   clear passwd = ON  --enable-clear-passwd (default)
  user dir hashing  = ON  --enable-users-big-dir (default)
 address extensions = OFF --disable-qmail-ext (default)
   ip alias = OFF --disable-ip-alias-domains (default)
  domain quotas = OFF --disable-domainquotas (default)
auth module = mysql --enable-auth-module=mysql
  mysql replication = OFF --disable-mysql-replication (default)
  mysql logging = ON  --enable-mysql-logging
   mysql limits = OFF --disable-mysql-limits (default)
   MySQL valias = ON  --enable-valias
   auth inc = -I/usr/local/mysql/include
   auth lib = -L/usr/local/mysql/lib -R${exec_prefix}/lib
 -lmysqlclient -lz
   system passwords = OFF --disable-passwd (default)
 pop syslog = show failed attempts with clear text password
  --enable-logging=p
   auth logging = ON  --enable-auth-logging (default)
 one domain per SQL table = --disable-many-domains

 bash-2.05# /usr/ccs/bin/make  ## This produces the error below...


 gcc -I. -I/usr/local/mysql/include  -I. -I. -I. -g -O2 -Wall -c
 `test -f 'vchkpw.c' || echo './'`vchkpw.c gcc -I.
 -I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f
 'hmac_md5.c' || echo
 './'`hmac_md5.c hmac_md5.c: In function `hmac_md5':
 hmac_md5.c:52: warning: implicit declaration of function `bzero'
 hmac_md5.c:54: warning: implicit declaration of function `bcopy' gcc
 -g -O2 -Wall   -o vchkpw  vchkpw.o md5.o hmac_md5.o libvpopmail.a
 -L/usr/local/mysql/lib -R/usr/local/lib -lmysqlclient -lz -lcrypt
 Undefined   first referenced
  symbol in file
 socket
 /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) getpeername
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)
 gethostbyname_r
 /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) setsockopt
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)
 getservbyname
 /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) floor

Re: [vchkpw] vpopmail 5.4.0 Make error on Solaris 9 (possible solution)

2004-02-24 Thread Tom Collins
On Feb 24, 2004, at 8:14 AM, Joseph Bruzzo wrote:
I am trying to compile vpopmail-5.4.0 on a SUN Ultra 5 running Solaris 
9
with all the security and recommended patches.  But I keep on getting
this error that for the life of me I can not figure it out.
Please try this patch to configure.in:

RCS file: /cvsroot/vpopmail/vpopmail/configure.in,v
retrieving revision 1.27
diff -u -r1.27 configure.in
--- configure.in22 Feb 2004 22:17:41 -  1.27
+++ configure.in24 Feb 2004 17:06:26 -
@@ -199,7 +199,7 @@
 case $host in
   *-*-solaris*)
-extralibflags=-R$libdir
+extralibflags=-R$libdir -lnsl -lsocket
 AC_MSG_WARN(Solaris install detected.  Using extralibflags for 
linking: $extralibflags)
 ;;
   *)

And then run autoconf to rebuild configure.

Or, better for our testing, edit configure manually, look for that 
line, and update it.

I found some entries in the ChangeLog that seem to indicate that one or 
both of those libs are necessary to properly build vpopmail on Solaris.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter handheld Network Tester: http://sniffter.com/


[vchkpw] SMTP-AUTH Aaaaaargh!

2004-02-24 Thread Kit Halsted
Okay, I've been trying for years to get vchkpw/vpopmail to work with 
SMTP-AUTH  CRAM-MD5. Thanks to recent development, it's apparently 
possible now. After beating my head against it for 2 hours this 
morning, I decided to turn to this list for help...

Then, I solved my own damn problem by realizing I had changed some 
variables in a script in one place but not the other. D'oh! So, 
instead of asking for help, I thought I'd offer some: my functional 
run script for netqmail-1.05 with the 0.4.2 auth patch, running 
supervised on OpenBSD 3.4-current  tested with Eudora 6. Here it is 
(watch the linewraps!):

---8---8---8---
#!/bin/sh
# QMAILDUID=`id -u qmaild`
# NOFILESGID=`id -g qmaild`
VPOPUID=`id -u vpopmail`
VPOPGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z $VPOPUID -o -z $VPOPGID -o -z $MAXSMTPD -o -z $LOCAL ]; then
echo VPOPUID, VPOPGID, 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 2000 \
/usr/local/bin/tcpserver -v -R -l $LOCAL -x 
/home/vpopmail/etc/tcp.smtp.cd
b -c $MAXSMTPD \
-u $VPOPUID -g $VPOPGID 0 smtp \
/var/qmail/bin/qmail-smtpd  /home/vpopmail/bin/vchkpw 
/usr/bin/true 21
---8---8---8---

Hope this helps someone!
-Kit
--
Everybody knows me,
Down at the local bar,
I drink until I can't see,
And I wonder where you are. -Reverend Horton Heat, Liquor, Beer,  Wine


[vchkpw] roaming users

2004-02-24 Thread davila
Hello, 

I've been through the archives and poked around in google and cannot find an 
answer to this one. 

I set up and have been running qmail/vpopmail/smtp-after-pop3 for the last 
two years. I recently, 6 months ago, rebuilt my qmail/vpopmail from scratch 
due to a harddrive failure. 

When I rebuilt it, from clean sources and following the steps in David 
Sill's qmail handbook I enabled roaming users. 

I configured my laptop's email client to download my email from my qmail 
server. Worked beautifully. I sent email after the pop3 auth. Worked 
beautifully. I did this from a cafe with a wireless connection. Now the only 
place I can send email from is that same cafe. 

The symptom is that if I try to connect to my qmail smtp server (port 25) 
from the cafe where I can send email it works beautifully, from anyplace 
else qmail won't even allow a connection on port 25. Even after pop3 auth. 

I am assuming that the ip address of the lovely little cafe is now cached 
someplace by vpopmail. 

I am also assuming that:
1) there must be some way to clear that cache (if it exsists)
2) I don't fully understand the concept of roaming users in vpopmail
3) there is some configuration bit that I missed that will when used allow
 me to send email from many lovely little cafes which are much closer to
 my house. 

To address these things I am asking:
1) If the cache does exsist where is the documention that tells me how to
 clear it?
2) If its possible to have roaming users to use variable ip addresses where
 is the documentation for that? 

any help would be great. 

sparky


Re: [vchkpw] no such user USER@DOMAIN in root directory

2004-02-24 Thread Alex Martin
Well this is the wrong list for this but here goes.

Look at this for reference for spamd:
http://au2.spamassassin.org/doc/spamd.html
My server with vpopmail and no per user spam preferences:
OPTIONS=-a -x -m 20 -v -u vpopmail -a
(these are set in a script /etc/default/spamassassin [debian thing I 
think] and are passed to the spamd daemon)

Mostly, I believe that -x is what you need:
-x, --nouser-config Disable user config files 
But read the man page to get an idea of what options you want.

Regards,
Alex Martin
http://www.rettc.com
Sebastian Ovide wrote:

hi Mike

yes. Inside this directoris there is the directory  .spamassassin/.

do you know how to avoid it ?

thank you

bye

-- Initial Header ---

From  : Michael Bowe [EMAIL PROTECTED]
To  : [EMAIL PROTECTED]
Cc  : 
Date  : Tue, 24 Feb 2004 22:12:32 +1100
Subject : Re: [vchkpw] no such user [EMAIL PROTECTED] in root directory

|
|- Original Message - 
|From: Sebastian Ovide [EMAIL PROTECTED]
|
|
| I have qmail+vpopmail+spamassasin+qmailscanner on my system
| and I don't know why
| I have a lot of directorys created, in the root directory , as uch user
| [EMAIL PROTECTED] in root directory.
|
| any ideas ?
|
|maybe spamassassin is somehow misconfigured and is creating user dirs to
|store per-user .spamassassin files ?
|
|perhaps try an ls -al in one of these dirs to see if they contain any
|files/dirs like that
|
|Michael.
|
|

--
Sebastian Ezequiel Ovide
 




Re: [vchkpw] roaming users

2004-02-24 Thread Rick Widmer


davila wrote:


1) there must be some way to clear that cache (if it exsists)
~vpopmail/bin/clearopensmtp   does that job.  Somewhere in your install 
instructions you should be adding that to crontab so it is run periodically.

2) I don't fully understand the concept of roaming users in vpopmail
If you add --enable-roaming-users  when you comile vpopmail, 
vdelivermail will add the IP address of mail users that successfully 
login to check mail to a list. (~vpopmail/etc/open_smtp)  That list is 
combined with another list of clients that is always allowed to relay. 
(I don't remember right now where that list is kept.  My base mail setup 
doesn't change much.)  The combined lists ends up in a cdb file 
(~vpopmail/etc/tcp.smtp.cdb) which is used to decide if an incoming smtp 
request will be allowed.  (Your file names may be different.)

3) there is some configuration bit that I missed that will when used allow
 me to send email from many lovely little cafes which are much closer to
 my house.
If old entries are not removed, you are probably missing the cron job.

If new entries are not being added, are you sure you are really using 
the right vdelivermail binary?  If the binary is right maybe you have 
mixed two different sets of installation instructions.  Different people 
put things in different places in their toasters, so you may not be able 
to mix them.

To address these things I am asking:
1) If the cache does exsist where is the documention that tells me how to
 clear it?
There isn't a lot of documentation...  or there is a lot of 
documentation on the individual parts, but not much on how it all fits 
together.  The biggest problem with Qmail is that it works so well, when 
there is a problem, I don't remember anything about how to set it up and 
I have to learn it all over.

2) If its possible to have roaming users to use variable ip addresses where
 is the documentation for that?
It is possible.  I mostly used Bill Shupp's patches and toaster, but I 
use CDB instead of MySQL, so I had to change a few things.

   http://www.shupp.org/

Rick




[vchkpw] Re: roaming users

2004-02-24 Thread davila
Rick 

Great! I found exactly what you were talking about and indeed the ip 
addresses are there. 

I checked cron and the clearopensmtp job is there. 

I ran clearopensmtp by hand and it did not clear the file 
/home/vpopmail/etc/open-smtp 

I cleared the open-smtp file by hand and tried to send from my laptop rather 
than sqwebmail and still no dice. 

I have yet to read the docs for clearopensmtp. That may not be working 
correctly due to misconfiguration. Now that I know where to look I should 
beable to knock this one out quickly. 

Thanks for the help! 

sparky 

Rick Widmer writes: 

 

davila wrote: 


1) there must be some way to clear that cache (if it exsists)
~vpopmail/bin/clearopensmtp   does that job.  Somewhere in your install 
instructions you should be adding that to crontab so it is run 
periodically. 

2) I don't fully understand the concept of roaming users in vpopmail
If you add --enable-roaming-users  when you comile vpopmail, vdelivermail 
will add the IP address of mail users that successfully login to check 
mail to a list. (~vpopmail/etc/open_smtp)  That list is combined with 
another list of clients that is always allowed to relay. (I don't remember 
right now where that list is kept.  My base mail setup doesn't change 
much.)  The combined lists ends up in a cdb file 
(~vpopmail/etc/tcp.smtp.cdb) which is used to decide if an incoming smtp 
request will be allowed.  (Your file names may be different.) 

3) there is some configuration bit that I missed that will when used 
allow
 me to send email from many lovely little cafes which are much closer to
 my house.
If old entries are not removed, you are probably missing the cron job. 

If new entries are not being added, are you sure you are really using the 
right vdelivermail binary?  If the binary is right maybe you have mixed 
two different sets of installation instructions.  Different people put 
things in different places in their toasters, so you may not be able to 
mix them. 

To address these things I am asking:
1) If the cache does exsist where is the documention that tells me how to
 clear it?
There isn't a lot of documentation...  or there is a lot of documentation 
on the individual parts, but not much on how it all fits together.  The 
biggest problem with Qmail is that it works so well, when there is a 
problem, I don't remember anything about how to set it up and I have to 
learn it all over. 

2) If its possible to have roaming users to use variable ip addresses 
where
 is the documentation for that?
It is possible.  I mostly used Bill Shupp's patches and toaster, but I use 
CDB instead of MySQL, so I had to change a few things. 

   http://www.shupp.org/ 

Rick 






Re: [vchkpw] roaming users

2004-02-24 Thread Ken Jones
On Tuesday 24 February 2004 5:36 pm, davila wrote:
 Hello,

 I've been through the archives and poked around in google and cannot find
 an answer to this one.

 I set up and have been running qmail/vpopmail/smtp-after-pop3 for the last
 two years. I recently, 6 months ago, rebuilt my qmail/vpopmail from scratch
 due to a harddrive failure.

 When I rebuilt it, from clean sources and following the steps in David
 Sill's qmail handbook I enabled roaming users.

 I configured my laptop's email client to download my email from my qmail
 server. Worked beautifully. I sent email after the pop3 auth. Worked
 beautifully. I did this from a cafe with a wireless connection. Now the
 only place I can send email from is that same cafe.

 The symptom is that if I try to connect to my qmail smtp server (port 25)
 from the cafe where I can send email it works beautifully, from anyplace
 else qmail won't even allow a connection on port 25. Even after pop3 auth.

If it does not allow a connection from some locates but it does allow
a connection from another location then it's highly possible the connection
is being blocked by the network you are on. Many sites block outbound
port 25 connections.

An easy way to test is:
telnet your-mail-servers-ip 25

If you do not get a connection then it is being blocked by some firewall.

Ken Jones


Re: [vchkpw] roaming users

2004-02-24 Thread Michael Bowe
- Original Message - 
From: davila [EMAIL PROTECTED]

 2) I don't fully understand the concept of roaming users in vpopmail

Here is some text that I wrote so it could be distributed with
vpopmail-5.4.0 as README.roamingusers :



November 2003 : Michael Bowe [EMAIL PROTECTED]

VPOPMAIL ROAMING USERS
~~
Latest version available from :
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm


With qmail, the typical way to control mail relaying is to put a list of
rules into a file called tcp.smtp. The tcprules program is then used to
compile this file into cdb database format with the output being stored
in a file called tcp.smtp.cdb. The tcpserver program is configured (using
the -x parameter) to read this file and thus know which SMTP clients are
permitted to relay mail.

This type of configuration works well if there is a known range of IP
addresses that are permitted to relay mail. eg the IP's on the qmail
server's local LAN. However if the qmail server needs to provide outbound
SMTP services for clients who may be connecting from any IP, you are going
to run into problems. What is needed is some way to automate the process
of granting users the ability to relay mail, without opening up access
to all and sundry on the Internet.

vpopmail includes a solution for this problem. The solution is known as
roaming users and is implemented with a technique known as
POP-before-SMTP. Once a client has successfully authenticated via POP3,
vpopmail will add the client's IP to a list. vpopmail then merges this
list with the contents of the tcp.smtp file and runs the tcprules
program to compile a new version of the tcp.smtp.cdb file. Thus the client
can now relay mail.

In addition to storing the client's IP address, vpopmail will also store
the time of authentication. The postmaster uses a cronjob on the qmail
server to periodically (eg once per hour) run the clearopensmtp program.
This program scans through the list of roaming clients and removes any
entries that exceed the nominated age (eg 3 hours). This ensures that
the list of IPs does not grow out of bounds, and that the roaming IPs
are closed within a reasonable timeframe after being opened.

Configuration options for vpopmail that relate to roaming users :

  ./configure \
  --enable-roaming-users \  - enable roaming users
functionality
  --enable-tcprules-prog=path \ - defaults to
/usr/local/bin/tcprules
  --enable-tcpserver-file=path \- defaults to
/home/vpopmail/etc/tcp.smtp
  --enable-relay-clear-minutes=minutes  - defaults to 180

Notes :

qmail servers are typically built with the tcp.smtp files being located in
the /etc directory. This is not usually suitable for vpopmail roaming
users, since the /etc directory will (should) not have write permissions
for the vpopmail user. Therefore it is not going to be possible for vpopmail
to write out updated versions of the tcp.smtp.cdb file. For use with roaming
users, it is recommended that the tcp.smtp files are stored in ~vpopmail/etc

If a POP user auths, and their IP already exists in the roaming IP list,
the timestamp for the entry is updated, but the tcprules program is not run.
There is no need to rebuild the tcp.smtp.cdb file as the IP address is
already permitted to relay. Rebuilding the file will only waste disk and CPU
time.

If the vpopmail server is using the default cdb authentication backend,
then the list of roaming IPs will be stored in a file called
~vpopmail/etc/open-smtp. If the vpopmail server is using the MySQL backend,
the roaming IPs will be stored in a database table called relay. The SQL
backend will give better performance on a busy server. Either way though,
you should be cautious about enabling roaming user functionality on a very
busy server, as a large amount of disk and CPU will be used with the
continual
rebuilding of the tcp.smtp.cdb file. If the server is busy enough you could
run into nasty file locking issues which will cause vpopmail password
authentication to intermittently fail. If you absolutely must have
POP-before-SMTP functionality on your busy server, then there are only two
possible solutions that I can think of  : 1) you could try putting the
tcp.smtp files onto a RAM disk, or 2) use vpopmail's MySQL auth backend,
plus use Matt Simerson's tcpserver patch that allows all of the tcp.smtp
files to be stored in MySQL
http://matt.simerson.net/computing/mail/qmail/ucspi-tcp-0.88-mysql.patch

Over time POP-before-SMTP seems to slowly becoming a less favored way of
allowing roaming users to relay mail. SMTP-Auth appears to becoming the more
preferred option, as it scales much more easily on a busy server. However
for a small to medium sized server, POP-before-SMTP is still quite a
workable
option. If you would like investigate the use of SMTP-Auth, take a look at
this
patch http://www.fehcom.de/qmail/smtpauth.html#PATCHES





Re: [vchkpw] Re: roaming users

2004-02-24 Thread Jeremy Kitchen
On Tue, 2004-02-24 at 18:33, davila wrote:
 Rick 
 
 Great! I found exactly what you were talking about and indeed the ip 
 addresses are there. 
 
 I checked cron and the clearopensmtp job is there. 
 
 I ran clearopensmtp by hand and it did not clear the file 
 /home/vpopmail/etc/open-smtp 
 
 I cleared the open-smtp file by hand and tried to send from my laptop rather 
 than sqwebmail and still no dice. 

none of that should have any impact on your ability to connect to port
25.

what are the contents of the ~vpopmail/etc/tcp.smtp file

also, what ISP is your mail server on, and what ISP are you trying to
connect to it from?

-Jeremy
-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE



Re: [vchkpw] Re: roaming users

2004-02-24 Thread Jeremy Kitchen
On Tue, 2004-02-24 at 19:02, Alex Martin wrote:
 davila wrote:
 
  I checked cron and the clearopensmtp job is there.
  I ran clearopensmtp by hand and it did not clear the file 
  /home/vpopmail/etc/open-smtp
  I cleared the open-smtp file by hand and tried to send from my laptop 
  rather than sqwebmail and still no dice.
  I have yet to read the docs for clearopensmtp. That may not be working 
  correctly due to misconfiguration. Now that I know where to look I 
  should beable to knock this one out quickly.
 
 I might guess that your /etc/tcp.smtp is not getting compiled into 
 /etc/tcp.smtp.cdb.
 Usually this is done with '/usr/sbin/qmailctl cdb'.
 I am not familiar with roaming users but I believe that this tcp control 
 system is used.
 
 See http://cr.yp.to/ucspi-tcp/tcpserver.html
 
 This is of course assuming you are using ucspi-tcp and probably daemontools.

and whatever 'toaster' includes '/usr/sbin/qmailctl'

remember, any 'qmailctl' file is NOT part of the standard qmail
distribution, and may be COMPLETELY different from 'toaster' to
'toaster'.

Do not assume that someone has the exact same set up as you, I try to be
as general as possible with my advice so that I'm telling you exactly
what you need to do, so long as you know how you have your system
configured (which you should)

Still though, the advice that has been given (at least what I have read
so far) is off track of the problem.  The problem is not that he can't
relay, the problem is that he can't CONNECT.  vpopmail's roaming-users
support would have no impact on this, unless the default rule for the
tcprules file being used for smtp is to deny the connection.

-Jeremy

-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE



[vchkpw] vpopmail 5.4.0 make fails on OpenBSD 3.4, MySQL 4.0.16

2004-02-24 Thread ax
Hello.  Just joined the list after consulting the archives and finding a message 
detailing what looks like a very similar problem to the one I'm having, though on 
Solaris 9.  If I were more knowledgeable, I'm sure this would be enough, but I'm 
afraid I need a bit more hand-holding.

I'm attempting to get vpopmail set up with all the MySQL additions on a fully 
DJB-ified install of OpenBSD 3.4.  I'm using the OpenBSD distribution of MySQL 
(mysql-standard-4.0.16-unknown-openbsd3.4-i386), which seems to be the cause of the 
problem, as I compiled and installed successfully without MySQL support.  

vpopmail 5.4.0 and 5.4.2 produce very similar output.  Here's 5.4.0...

$ ./configure --enable-roaming-users \
   --enable-logging=p \
   --enable-auth-module=mysql \
   --enable-mysql-logging \
   --enable-tcpserver-file=/var/vpopmail/etc/tcp.smtp \
   --enable-valias

- - - - SNIP - - - - -
cd .  /bin/sh ./config.status Makefile 
config.status: creating Makefile
rm -f libvpopmail.a
ar cru libvpopmail.a vpopmail.o md5.o bigdir.o  vauth.o file_lock.o vpalias.o  seek.o 
vlimits.o maildirquota.o cdb/*.o
ranlib libvpopmail.a
gcc  -g -O2 -Wall   -o vchkpw  vchkpw.o md5.o hmac_md5.o libvpopmail.a 
-L/usr/local/mysql/lib  -lmysqlclient -lz 
/usr/local/mysql/lib/libmysqlclient.a(password.o): In function `scramble':
password.o(.text+0x1c8): undefined reference to `floor'
password.o(.text+0x25d): undefined reference to `floor'
/usr/local/mysql/lib/libmysqlclient.a(password.o): In function `check_scramble':
password.o(.text+0x40a): undefined reference to `floor'
password.o(.text+0x498): undefined reference to `floor'
collect2: ld returned 1 exit status
*** Error code 1

Stop in /var/src/mail/vpopmail-5.4.0 (line 424 of Makefile).
*** Error code 1

Stop in /var/src/mail/vpopmail-5.4.0 (line 511 of Makefile).
*** Error code 1

Stop in /var/src/mail/vpopmail-5.4.0 (line 335 of Makefile).

- - - - - - - - - -

Any and all help appreciated.
Thanks,
Alex



Re: [vchkpw] Re: roaming users

2004-02-24 Thread Alex Martin
Hello,

I might guess that your /etc/tcp.smtp is not getting compiled into 
/etc/tcp.smtp.cdb.
Usually this is done with '/usr/sbin/qmailctl cdb'.
I am not familiar with roaming users but I believe that this tcp control 
system is used.

See http://cr.yp.to/ucspi-tcp/tcpserver.html

This is of course assuming you are using ucspi-tcp and probably daemontools.
   

and whatever 'toaster' includes '/usr/sbin/qmailctl'

 

Sorry, I hadn't considered how unique this script is on my toaster.
It originally came from Dave Sill's Life With Qmail.
snip qmailctl script
   tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp  /etc/tcp.smtp
   chmod 644 /etc/tcp.smtp.cdb
   echo Reloaded /etc/tcp.smtp.
snip
remember, any 'qmailctl' file is NOT part of the standard qmail
distribution, and may be COMPLETELY different from 'toaster' to
'toaster'.
 

Of course. I did assume though that considering he is using vpopmail 
that he followed this relatively standard toaster setup.

Still though, the advice that has been given (at least what I have read
so far) is off track of the problem.  The problem is not that he can't
relay, the problem is that he can't CONNECT.  vpopmail's roaming-users
support would have no impact on this, unless the default rule for the
tcprules file being used for smtp is to deny the connection.
 

I reread this and I think you are correct, I missed this. A default deny 
rule seems like it would explain this behavior.

davila are you lurking?

Alex Martin
http://www.rettc.com




Re: [vchkpw] vpopmail 5.4.0 make fails on OpenBSD 3.4, MySQL 4.0.16

2004-02-24 Thread Jeremy Kitchen
You posted a message that was a completely new question, and entirely
unrelated to the post you replied to.  Don't do that, that messes up the
archives and makes it difficult to find your post.  Most MUAs have a
'new mail' function.  You should take advantage of that in the future.

Also, please set your MUA to wrap at approximately 72-80 columns, that
makes your post much more readable and easier to reply to.

That being said:

On Tue, 2004-02-24 at 19:49, [EMAIL PROTECTED] wrote:
 gcc  -g -O2 -Wall   -o vchkpw  vchkpw.o md5.o hmac_md5.o libvpopmail.a
 -L/usr/local/mysql/lib  -lmysqlclient -lz 
 /usr/local/mysql/lib/libmysqlclient.a(password.o): In function `scramble':
 password.o(.text+0x1c8): undefined reference to `floor'
 password.o(.text+0x25d): undefined reference to `floor'
 password.o(.text+0x40a): undefined reference to `floor'
 password.o(.text+0x498): undefined reference to `floor'
 collect2: ld returned 1 exit status


I believe that you are missing math libraries in your linker path. 

-Jeremy
-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE



Re: [vchkpw] Re: roaming users

2004-02-24 Thread Jeremy Kitchen
On Tue, 2004-02-24 at 20:00, Alex Martin wrote:
 Sorry, I hadn't considered how unique this script is on my toaster.
 It originally came from Dave Sill's Life With Qmail.
 
 snip qmailctl script
 tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp  /etc/tcp.smtp
 chmod 644 /etc/tcp.smtp.cdb
 echo Reloaded /etc/tcp.smtp.
 snip

that's more like it ;)

 remember, any 'qmailctl' file is NOT part of the standard qmail
 distribution, and may be COMPLETELY different from 'toaster' to
 'toaster'.
   
 
 Of course. I did assume though that considering he is using vpopmail 
 that he followed this relatively standard toaster setup.

lots of 'toasters' are adding 'qmailctl' scripts.  I even saw one that
started/stopped svscan to control qmail.  One would hope that he had the
sense to follow LWQ, however, that is unfortunately not always the
case.  In fact, most people who have problems AREN'T using LWQ, and
that's probably why they have problems ;)

 davila are you lurking?

reminds me of irc :)

[00:00:05] *** Joins #vpopmail - random_person
[00:00:08] random_person hey guys, I've got a question
[00:00:15] *** Quits - random_person (quit: leaving)

-Jeremy

-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE



Re: [vchkpw] vpopmail 5.4.0 make fails on OpenBSD 3.4, MySQL 4.0.16

2004-02-24 Thread Jeremy Kitchen
On Tue, 2004-02-24 at 20:17, [EMAIL PROTECTED] wrote:
 Thanks for the response.  I'll reply directly to you this time -- I'm
 reluctant to send to the list until I've confirmed that I've fixed my
 problems.

please keep list posts on the list.  I read every post to the list, and
others may be able to help you better than I could.

 
  You posted a message that was a completely new question, and entirely
  unrelated to the post you replied to.  Don't do that, that messes up the
  archives and makes it difficult to find your post.  Most MUAs have a
  'new mail' function.  You should take advantage of that in the future.
 
 I didn't reply to a post -- I created a new message with a new subject.  I only 
 elliptically referenced the previous message in my text.

but you hit reply to make the message.  your headers don't lie:
In-Reply-To:  [EMAIL PROTECTED]
which makes my MUA (as well as most others) and the list archives, take
that as another message in the thread.

   password.o(.text+0x498): undefined reference to `floor'
   collect2: ld returned 1 exit status
  
  
  I believe that you are missing math libraries in your linker path. 

 Pardon my ignorance, but do you know what I can do about this?  So far, I'm dealing 
 with an out-of-the box install of OpenBSD 3.4 (GENERIC) on an Intel Pentium 4 
 machine.

I don't know anything about openbsd, but perhaps you are missing some
-devel packages that include the required libraries and header files. 
from what I could find on google, it needs to have -lm in the linker
flags, however, I am not a programmer, nor do I use openbsd, so I'm not
entirely sure if this is what you need.

-Jeremy

-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE



[vchkpw] vpopmail 5.4.0 make fails on OpenBSD 3.4, MySQL 4.0.16

2004-02-24 Thread ax
Hello.  I'm posting a fresh message because my previous one may have been absorbed 
into a previous thread -- my mistake.

I'm attempting to get vpopmail set up with all the MySQL additions on a fully 
DJB-ified but otherwise out-of-the box install of OpenBSD 3.4 (GENERIC) on an Intel 
Pentium 4 machine.  I'm using the OpenBSD distribution of MySQL 
(mysql-standard-4.0.16-unknown-openbsd3.4-i386), which seems to be the cause of the 
problem, as I can compile and install successfully without MySQL support.

vpopmail 5.4.0 and 5.4.2 produce very similar output.  Here's the end of the output 
from make with 5.4.0...

- - - - - -
gcc  -g -O2 -Wall   -o vchkpw  vchkpw.o md5.o hmac_md5.o libvpopmail.a 
-L/usr/local/mysql/lib  -lmysqlclient -lz 
/usr/local/mysql/lib/libmysqlclient.a(password.o): In function `scramble':
password.o(.text+0x1c8): undefined reference to `floor'
password.o(.text+0x25d): undefined reference to `floor'
/usr/local/mysql/lib/libmysqlclient.a(password.o): In function `check_scramble':
password.o(.text+0x40a): undefined reference to `floor'
password.o(.text+0x498): undefined reference to `floor'
collect2: ld returned 1 exit status
*** Error code 1

Stop in /var/src/mail/vpopmail-5.4.0 (line 424 of Makefile).
*** Error code 1

Stop in /var/src/mail/vpopmail-5.4.0 (line 511 of Makefile).
*** Error code 1

Stop in /var/src/mail/vpopmail-5.4.0 (line 335 of Makefile).
- - - - - -

There was a suggestion that I might need to add -lm to the linker flags, but I'd hope 
that would be found without problem.  From ldconfig -r...
  
  7:-lm.1.0 = /usr/lib/libm.so.1.0

Any help much appreciated.
Alex