[vchkpw] Vpopmail 5.4.12 compile error

2005-07-12 Thread Peter

i encounter the problem when compile the latest vpopmail on Solaris 9

i change
#include err.h
to
#include openssl/err.h
in the vpopmail.c

CPPFLAGS='-I/usr/local/ssl/include' CC=gcc ./configure


gcc -I. -Icdb  -I. -I. -I.   -I/usr/local/mysql/include/mysql -I/usr/local/s
sl/include  -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
ibvpopmail.a  -lcrypt
Undefined   first referenced
 symbol in file
warnlibvpopmail.a(vpopmail.o)
ld: fatal: Symbol referencing errors. No output written to vchkpw
collect2: ld returned 1 exit status
gmake[2]: *** [vchkpw] Error 1
gmake[2]: Leaving directory `/var/download/mail/vpopmail/vpopmail-5.4.12'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/download/mail/vpopmail/vpopmail-5.4.12'
gmake: *** [all] Error 2
gmake  INSTALL_PROGRAM=/usr/bin/install -c -o vpopmail -m 711 -g
chkpw  -s \
  INSTALL_STRIP_FLAG=-s \
  `test -z '' || \
echo INSTALL_PROGRAM_ENV=STRIPPROG=''` install
gmake[1]: Entering directory `/var/download/mail/vpopmail/vpopmail-5.4.12'
Making install in cdb
gmake[2]: Entering directory
`/var/download/mail/vpopmail/vpopmail-5.4.12/cdb'
gmake[2]: Nothing to be done for `install'.
gmake[2]: Leaving directory
`/var/download/mail/vpopmail/vpopmail-5.4.12/cdb'
gmake[2]: Entering directory `/var/download/mail/vpopmail/vpopmail-5.4.12'
gcc  -g -O2 -Wall   -o vchkpw  vchkpw.o md5.o hmac_md5.o
ibvpopmail.a  -lcrypt
Undefined   first referenced
 symbol in file
warnlibvpopmail.a(vpopmail.o)
ld: fatal: Symbol referencing errors. No output written to vchkpw
collect2: ld returned 1 exit status
gmake[2]: *** [vchkpw] Error 1
gmake[2]: Leaving directory `/var/download/mail/vpopmail/vpopmail-5.4.12'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/var/download/mail/vpopmail/vpopmail-5.4.12'
gmake: *** [install-strip] Error 2

Done!


 
   Chris

- Original Message - 
From: Tom Collins [EMAIL PROTECTED]
To: vpopmail list vchkpw@inter7.com;
[EMAIL PROTECTED]
Sent: Tuesday, July 05, 2005 6:22 AM
Subject: [vchkpw] Vpopmail 5.4.12 released


http://vpopmail.sf.net/

5.4.12 - released 4-Jul-05

This release fixes a few bugs that cropped up in the vdelivermail
rewrite for
5.4.11.  Because of the significant changes to vdelivermail since
5.4.10, this
release should not be used on production machines until other developers
have had a chance to test it.

It also includes some minor fixes to long-time bugs -- see the ChangeLog
for details.

ChangeLog

Tom Collins
- vdelivermail: read full message, even on catchall delete/bounce
   to avoid SIGPIPE error if maildrop is calling vdelivermail.
- vdelivermail: missing declaration when QMAIL_EXT defined.
- vpopmail.h: remove declaration of crypt() and use #include
   crypt.h instead (if present).
- configure: remove enable-domainquotas option until the domain
   quota code is fixed.
- maildirquota.c: fix bug from 5.4.11 that could accidentally
   close stdin and result in a failed delivery in vdelivermail.
- vpopmail.c: better error checking in r_mkdir().





Re: [vchkpw] qmail tap patch

2005-07-12 Thread project

I just simply add *.* /dev/tty on the syslogd.conf
Kyle Wheeler wrote:


On Sunday, July 10 at 10:51 AM, quoth empf:


Hi,

When I apply the taps patch file and recompile my qmail, I can't see 
the logs in /va  r/log/maillog anymore but before I applied the taps 
patch I can see the logs in that directory.



How were the logs getting into /var/log/maillog before?

~Kyle
--
I do not feel obliged to believe that the same God who has endowed us 
with sense, reason, and intellect has intended us to forgo their use.

-- Gallileo





[vchkpw] autoresponder openbsd current

2005-07-12 Thread Sylwester S. Biernacki
Hello,

  anyone tried to compile autoresponder-2.0.5 on OpenBSD 3.7+ ?
  
biuro# make
gcc -O2 -Wall -g  autorespond.c -o autorespond
autorespond.c: In function `send_message':
autorespond.c:259: warning: passing arg 1 of `gmtime' from incompatible pointer 
type
autorespond.c: At top level:
autorespond.c:380: error: conflicting types for `strcasestr'
/usr/include/string.h:104: error: previous declaration of `strcasestr'
*** Error code 1

Stop in /usr/src/autorespond-2.0.5 (line 11 of Makefile).

  at 380 line there is declaration of strcasestr overloaded and gcc
  doesn't want to compile that file.

biuro# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd3.7/3.3.5/specs
Configured with:
Thread model: single
gcc version 3.3.5 (propolice)


-- 
regards,
Sylwester Biernacki [EMAIL PROTECTED]




Re: [vchkpw] autoresponder openbsd current

2005-07-12 Thread Sylwester S. Biernacki

On Tuesday, July 12, 2005, 4:15:26 PM, Sylwester napisaƂ(a):

 Hello,

   anyone tried to compile autoresponder-2.0.5 on OpenBSD 3.7+ ?
well.. i googled around and changed declaration os strcasestr to
strcasestr2 and I got compiled that package.

However, it doesn't work ;(

#cat .qmail
| /usr/bin/autorespond 86400 3 
/home/vpopmail/domains/domain.com.pl/postmaster/vacation/message 
/home/vpopmail/domains/pulsmedycyny.com.pl/postmaster/vacation
./postmaster/Maildir/

I send mail, can see in logs that mail comes to server, then it's
being piped to autorespond and delivered to postmaster/Maildir as it
is written in second line in  .qmail

in postmaster/vacation I see 2 files:
-rw---  1 vpopmail  vchkpw  582 Jul 12 16:28 tmp16040.1121178485
-rw---  1 vpopmail  vchkpw   15 Jul 12 16:28 A16040.1121178485

A16040.1121178485 is blank and tmp16040.1121178485 is message which
should be sent back but it doesn't happens.

Anyone knows what could happened ?

the same sources compiled binary works on linux boxes without a problem.

-- 
regards,
Sylwester Biernacki [EMAIL PROTECTED]




[vchkpw] Add and Delete work, but info, qmailadmin do not...

2005-07-12 Thread Adam Schlag
Hi, I'm having a problem here that has been baffling me for a few days now.
I've set up mail servers before using Qmail/Vpopmail/Courier-IMAP on Gentoo
boxes, and I just set up another one over the weekend.  I am running into a
strange problem though that I can't seem to figure out.

I can use vadddomain, vadduser, vdeluser, and vdeldomain just fine to add/remove
domains and users.  I also don't have problem logging in to the IMAP server. (I
haven't worked to see if I can actually send/receive mail through qmail yet,
since I don't have my domains/users working properly yet).  However, when I
install Qmailadmin, I get an Invalid Login error.  I checked my apache logs,
and this is what I see:

vmysql: sql error[3]: MySQL server has gone away, referer:
https://mydomain.net/cgi-bin/qmailadmin

So I tried a few other vpopmail commands, and I found that vdominfo and
vuserinfo were returning no output (i.e., they think that there are no users or
domains).  This seems very strange to me, since I can obviously use vpopmail to
add domains and users, as well as log in to a Courier IMAP server.

For the record, I'm currently running Vpopmail 5.4.6 and MySQL 4.1.12 on a
Gentoo Linux x86 2005.0 box.

Is there something I could possibly have wrong somewhere?  Any help anyone can
provide would be very greatly appreciated, and if there is more info I can
provide please let me know.

Adam


Re: [vchkpw] Add and Delete work, but info, qmailadmin do not...

2005-07-12 Thread Matt Brookings

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Adam Schlag wrote:
| However, when I
| install Qmailadmin, I get an Invalid Login error.  I checked my
apache logs,
| and this is what I see:
|
| vmysql: sql error[3]: MySQL server has gone away, referer:
| https://mydomain.net/cgi-bin/qmailadmin

Make sure that your MySQL socket file has permissions that the vpopmail
user can read and write to, and make sure qmailadmin is running as the
vpopmail user.

http://www.qmailwiki.org/Vpopmail#When_using_MySQL_for_authentication.2C_I_get_the_error_vmysql:_sql_error.5B3.5D_MySQL_server_has_gone_away

- --
/*
~Matt Brookings [EMAIL PROTECTED]   GnuPG Key B7B54216
~Software developer Systems technician
~Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFC1BFXhzYRRre1QhYRAvmsAJ9zAePcJ7Un0g5GgHgVNzS+4mIcGgCfUMOC
lDQMIJE4ukZ+99lK6nzfz+c=
=X9pm
-END PGP SIGNATURE-


Re: [vchkpw] Add and Delete work, but info, qmailadmin do not...

2005-07-12 Thread Adam Schlag
Sure enough, it was a socket error with the directory of the socket, not the
socket itself.  Things are working fine now.  Thanks for the help.

Matt Brookings wrote:
 Adam Schlag wrote:
 | However, when I
 | install Qmailadmin, I get an Invalid Login error.  I checked my
 apache logs,
 | and this is what I see:
 |
 | vmysql: sql error[3]: MySQL server has gone away, referer:
 | https://mydomain.net/cgi-bin/qmailadmin
 
 Make sure that your MySQL socket file has permissions that the vpopmail
 user can read and write to, and make sure qmailadmin is running as the
 vpopmail user.
 
 http://www.qmailwiki.org/Vpopmail#When_using_MySQL_for_authentication.2C_I_get_the_error_vmysql:_sql_error.5B3.5D_MySQL_server_has_gone_away
 
 
 --
 /*
 ~Matt Brookings [EMAIL PROTECTED]   GnuPG Key B7B54216
 ~Software developer Systems technician
 ~Inter7 Internet Technologies, Inc. (815)776-9465
 */