question

2001-03-21 Thread Ciprian Iftode

Hi,
Is there any solution to have a copy of all emails that the server
process, I mean all the emails that users send thru this server, and all the
emails the server receives, and the emails the server routes?
   I tried with the option recordio of tcpserver who starts qmail-send, but
I want a human readable and still useful copy of that emails, not some io
logging; even the attachemnts are fully logged.

PS: qmail + vpopmai + courier-imap

   Ciprian Iftode,

Professional Systems Romania
str. Moara de Foc, nr.35, et.5, Iasi, 6600
tel/fax: +40-32-219907

Privileged/Confidential Information may be contained in this message. If
you are not the addressee indicated in this message (or responsible for
delivery of the message to such person), you may not copy or deliver this
message to anyone. In such a case, you should destroy this message and
kindly notify the sender by reply e-mail.





problems compiling qmailadmin 0.42

2001-03-21 Thread Jonas Pasche

hi guys,

am i the only one with this problem while you all don't have any problems 
compiling that stuff? :)

okay, i extract the qmailadmin tarball an do "./configure". everything 
works fine, but i notice these lines:

...
cat: /home/vpopmail/etc/inc_deps: No such file or directory
cat: /home/vpopmail/etc/lib_deps: No such file or directory
...

these files are obviously not there, dunno why. now i do a make:

[root@dogbert qmailadmin-0.42]# make
make  all-recursive
make[1]: Entering directory `/usr/local/src/qmailadmin-0.42'
make[2]: Entering directory `/usr/local/src/qmailadmin-0.42'
gcc -I.   -g -O2 -c qmailadmin.c
qmailadmin.c:30: vpopmail.h: No such file or directory
qmailadmin.c:31: vauth.h: No such file or directory
make[2]: *** [qmailadmin.o] Error 1
make[2]: Leaving directory `/usr/local/src/qmailadmin-0.42'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/qmailadmin-0.42'
make: *** [all-recursive-am] Error 2

that's understandable because these header files are in 
/home/vpopmail/include, and there is "-I." as the only include path.

i dived into the makefile and found that there are no values for 
"auth_incs" and "auth_libs" because of the errors in configure. but that 
shouldn't matter as these values are never used elsewhere in this 
makefile..?! i edited the "DEFS = -I." line in the makefile to match the 
location of the include files: "DEFS = -I. -I/home/vpopmail/include". now 
it can find the header files, and i get the following:

[root@dogbert qmailadmin-0.42]# make
make  all-recursive
make[1]: Entering directory `/usr/local/src/qmailadmin-0.42'
make[2]: Entering directory `/usr/local/src/qmailadmin-0.42'
gcc  -g -O2  -o qmailadmin  qmailadmin.o alias.o autorespond.o forward.o 
mailinglist.o sysadmin.o user.o util.o auth.o template.o command.o show.o 
cgi.o limits.o dotqmail.o  -lnsl -lm -lcrypt
qmailadmin.o: In function `main':
/usr/local/src/qmailadmin-0.42/qmailadmin.c:122: undefined reference to 
`vauth_getpw'
/usr/local/src/qmailadmin-0.42/qmailadmin.c:125: undefined reference to 
`vget_assign'
/usr/local/src/qmailadmin-0.42/qmailadmin.c:164: undefined reference to 
`vget_assign'
/usr/local/src/qmailadmin-0.42/qmailadmin.c:194: undefined reference to 
`vget_assign'
/usr/local/src/qmailadmin-0.42/qmailadmin.c:210: undefined reference to 
`vauth_user'
/usr/local/src/qmailadmin-0.42/qmailadmin.c:229: undefined reference to 
`vget_assign'
alias.o: In function `show_redirect_lines':
/usr/local/src/qmailadmin-0.42/alias.c:295: undefined reference to 
`vauth_getpw'
/usr/local/src/qmailadmin-0.42/alias.c:301: undefined reference to `slen'
/usr/local/src/qmailadmin-0.42/alias.c:303: undefined reference to `scopy'
/usr/local/src/qmailadmin-0.42/alias.c:304: undefined reference to `scat'
alias.o: In function `doredirect':
/usr/local/src/qmailadmin-0.42/alias.c:326: undefined reference to 
`vauth_getpw'
/usr/local/src/qmailadmin-0.42/alias.c:333: undefined reference to `slen'
/usr/local/src/qmailadmin-0.42/alias.c:335: undefined reference to `scopy'
/usr/local/src/qmailadmin-0.42/alias.c:336: undefined reference to `scat'
alias.o: In function `moddotqmailnow':
/usr/local/src/qmailadmin-0.42/alias.c:404: undefined reference to 
`vauth_getpw'
/usr/local/src/qmailadmin-0.42/alias.c:409: undefined reference to 
`vauth_getpw'
alias.o: In function `adddotqmailnow':
/usr/local/src/qmailadmin-0.42/alias.c:476: undefined reference to 
`vauth_getpw'
/usr/local/src/qmailadmin-0.42/alias.c:501: undefined reference to 
`vauth_getpw'
alias.o: In function `delredirectnow':
/usr/local/src/qmailadmin-0.42/alias.c:582: undefined reference to 
`vauth_getpw'
/usr/local/src/qmailadmin-0.42/alias.c:587: undefined reference to `slen'
/usr/local/src/qmailadmin-0.42/alias.c:589: undefined reference to `scopy'
/usr/local/src/qmailadmin-0.42/alias.c:590: undefined reference to `scat'
autorespond.o: In function `delautorespondnow':
/usr/local/src/qmailadmin-0.42/autorespond.c:236: undefined reference to 
`vdelfiles'
mailinglist.o: In function `delmailinglistnow':
/usr/local/src/qmailadmin-0.42/mailinglist.c:277: undefined reference to `slen'
/usr/local/src/qmailadmin-0.42/mailinglist.c:287: undefined reference to 
`vdelfiles'
mailinglist.o: In function `showlistusers':
/usr/local/src/qmailadmin-0.42/mailinglist.c:439: undefined reference to 
`lowerit'
mailinglist.o: In function `showlistmod':
/usr/local/src/qmailadmin-0.42/mailinglist.c:484: undefined reference to 
`lowerit'
mailinglist.o: In function `addlistusernow':
/usr/local/src/qmailadmin-0.42/mailinglist.c:539: undefined reference to 
`lowerit'
mailinglist.o: In function `addlistmodnow':
/usr/local/src/qmailadmin-0.42/mailinglist.c:573: undefined reference to 
`lowerit'
mailinglist.o: In function `dellistusernow':
/usr/local/src/qmailadmin-0.42/mailinglist.c:676: undefined reference to 
`lowerit'
mailinglist.o:/usr/local/src/qmailadmin-0.42/mailinglist.c:706: more 
undefined references to `lowerit' follow
user.o: In function 

filter

2001-03-21 Thread Matthias Henze

hi ken,

i'm thinking about adding vpop auth support to maildrop - i've reviewed the 
maildrop source and it should mot be t difficult. with this, maildrop 
can replace vdelivermail ... my first thougt was to use sieve filters in 
vpopmail but i think adding vpopauth to maildrop is easier than adding 
sieve filters to vdelivermail.

do not urge me :-) i will do that, when i've some time ... but i will do it.

cheers

Matthias Henze MH458-RIPE
[EMAIL PROTECTED]

Use PGP!! http://www.mhcsoftware.de/MatthiasHenze.asc
-
MHC SoftWare GmbH  voice: +49-(0)9533-92006-0
Fichtera 17  fax: +49-(0)9533-92006-6
96274 Itzgrund/Germanye-Mail: [EMAIL PROTECTED]
-




Re: problems compiling qmailadmin 0.42

2001-03-21 Thread fox

What version of vpopmail are you using?  Sounds like you need to upgrade.

Cheers,

Tren.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Tren Blackburn - Ownermailto:[EMAIL PROTECTED]  =
= End of Time Networks  http://www.theendoftime.net  -
- (403) 269-2122 =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

On Wed, 21 Mar 2001, Jonas Pasche wrote:

 hi guys,

 am i the only one with this problem while you all don't have any problems
 compiling that stuff? :)

 okay, i extract the qmailadmin tarball an do "./configure". everything
 works fine, but i notice these lines:

 ...
 cat: /home/vpopmail/etc/inc_deps: No such file or directory
 cat: /home/vpopmail/etc/lib_deps: No such file or directory
 ...

 these files are obviously not there, dunno why. now i do a make:

 [root@dogbert qmailadmin-0.42]# make
 make  all-recursive
 make[1]: Entering directory `/usr/local/src/qmailadmin-0.42'
 make[2]: Entering directory `/usr/local/src/qmailadmin-0.42'
 gcc -I.   -g -O2 -c qmailadmin.c
 qmailadmin.c:30: vpopmail.h: No such file or directory
 qmailadmin.c:31: vauth.h: No such file or directory
 make[2]: *** [qmailadmin.o] Error 1
 make[2]: Leaving directory `/usr/local/src/qmailadmin-0.42'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/usr/local/src/qmailadmin-0.42'
 make: *** [all-recursive-am] Error 2

 that's understandable because these header files are in
 /home/vpopmail/include, and there is "-I." as the only include path.

 i dived into the makefile and found that there are no values for
 "auth_incs" and "auth_libs" because of the errors in configure. but that
 shouldn't matter as these values are never used elsewhere in this
 makefile..?! i edited the "DEFS = -I." line in the makefile to match the
 location of the include files: "DEFS = -I. -I/home/vpopmail/include". now
 it can find the header files, and i get the following:

 [root@dogbert qmailadmin-0.42]# make
 make  all-recursive
 make[1]: Entering directory `/usr/local/src/qmailadmin-0.42'
 make[2]: Entering directory `/usr/local/src/qmailadmin-0.42'
 gcc  -g -O2  -o qmailadmin  qmailadmin.o alias.o autorespond.o forward.o
 mailinglist.o sysadmin.o user.o util.o auth.o template.o command.o show.o
 cgi.o limits.o dotqmail.o  -lnsl -lm -lcrypt
 qmailadmin.o: In function `main':
 /usr/local/src/qmailadmin-0.42/qmailadmin.c:122: undefined reference to
 `vauth_getpw'
 /usr/local/src/qmailadmin-0.42/qmailadmin.c:125: undefined reference to
 `vget_assign'
 /usr/local/src/qmailadmin-0.42/qmailadmin.c:164: undefined reference to
 `vget_assign'
 /usr/local/src/qmailadmin-0.42/qmailadmin.c:194: undefined reference to
 `vget_assign'
 /usr/local/src/qmailadmin-0.42/qmailadmin.c:210: undefined reference to
 `vauth_user'
 /usr/local/src/qmailadmin-0.42/qmailadmin.c:229: undefined reference to
 `vget_assign'
 alias.o: In function `show_redirect_lines':
 /usr/local/src/qmailadmin-0.42/alias.c:295: undefined reference to
 `vauth_getpw'
 /usr/local/src/qmailadmin-0.42/alias.c:301: undefined reference to `slen'
 /usr/local/src/qmailadmin-0.42/alias.c:303: undefined reference to `scopy'
 /usr/local/src/qmailadmin-0.42/alias.c:304: undefined reference to `scat'
 alias.o: In function `doredirect':
 /usr/local/src/qmailadmin-0.42/alias.c:326: undefined reference to
 `vauth_getpw'
 /usr/local/src/qmailadmin-0.42/alias.c:333: undefined reference to `slen'
 /usr/local/src/qmailadmin-0.42/alias.c:335: undefined reference to `scopy'
 /usr/local/src/qmailadmin-0.42/alias.c:336: undefined reference to `scat'
 alias.o: In function `moddotqmailnow':
 /usr/local/src/qmailadmin-0.42/alias.c:404: undefined reference to
 `vauth_getpw'
 /usr/local/src/qmailadmin-0.42/alias.c:409: undefined reference to
 `vauth_getpw'
 alias.o: In function `adddotqmailnow':
 /usr/local/src/qmailadmin-0.42/alias.c:476: undefined reference to
 `vauth_getpw'
 /usr/local/src/qmailadmin-0.42/alias.c:501: undefined reference to
 `vauth_getpw'
 alias.o: In function `delredirectnow':
 /usr/local/src/qmailadmin-0.42/alias.c:582: undefined reference to
 `vauth_getpw'
 /usr/local/src/qmailadmin-0.42/alias.c:587: undefined reference to `slen'
 /usr/local/src/qmailadmin-0.42/alias.c:589: undefined reference to `scopy'
 /usr/local/src/qmailadmin-0.42/alias.c:590: undefined reference to `scat'
 autorespond.o: In function `delautorespondnow':
 /usr/local/src/qmailadmin-0.42/autorespond.c:236: undefined reference to
 `vdelfiles'
 mailinglist.o: In function `delmailinglistnow':
 /usr/local/src/qmailadmin-0.42/mailinglist.c:277: undefined reference to `slen'
 /usr/local/src/qmailadmin-0.42/mailinglist.c:287: undefined reference to
 `vdelfiles'
 mailinglist.o: In function `showlistusers':
 /usr/local/src/qmailadmin-0.42/mailinglist.c:439: undefined reference to
 `lowerit'
 mailinglist.o: In function `showlistmod':
 /usr/local/src/qmailadmin-0.42/mailinglist.c:484: 

Re: proxy solution for vpopmail?

2001-03-21 Thread Sean P. Scanlon

short of a proxy solution, you could use sslwrap http://www.rickk.com/sslwrap/


Einar Bordewich wrote:

 Have anyone a solution ready for polling of e-mails through pop3 from f.ex.
 a exchange server, leaving the mail in maildirs on the vpopmail/sqwebmail
 server. In other words, has anyone made support for a pop3 proxy solution
 for vpopmail?

 The customers regular mail goes to a qmail mail-relay server routing the
 mail through a firewall to an exchange server (or an other popular company
 mailserver).

 When the user logs on to the sqwebmail web interface, "the proxy" will pull
 the mail from the exchange server via pop3 (could also be imap), using the
 the user of user@exhcangeserver and the password as authentification, and
 the exchangeserver as server to pull from.

 We have had a few situations where a solution like this would help us out,
 since the clients usually wants to use their existing mailserver solution,
 but still wants to read the mail through a webbrowser when out traveling.
 Allowing everyone through the firewall on port 110 or another port for
 direct webaccess to an exchange server or it's like is not a solution.

 Any ideas?

 --
 
 IDG New MediaEinar Bordewich
 Development Manager  Phone: +47 2336 1420
 E-Mail:  eibo(at)newmedia.no
 Lat: 59.91144 N  Lon: 10.76097 E
 




Borring logging on vpopmail

2001-03-21 Thread Claudiu Costin

Hello friends,

 Even I upgraded to vpopmail 4.9.8, 
still I have in logs something like:

Mar 21 10:24:30 x vpopmail[20969]: vchkpw: password fail 
[EMAIL PROTECTED]:192.xx.xx.xx

And this for to server wich use vpopmail. I was 
compiled with reporting errors (e).

I use qmail and to following script for POP3 server:

#!/bin/sh
env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver -H -R 0 pop-3 \
/var/qmail/bin/qmail-popup fooo.oo \
/raid/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir


What can be made? Locking problem?

kind regards,
-- 
Claudiu Costin
[EMAIL PROTECTED]



vpopmail and smtp-after-pop

2001-03-21 Thread usenet_only


Hello,

I'm using qmail 1.03 in combination with vpopmail 4.9.8-1. So far 
it works good.  The only problem is smtp-after-pop. I enabled
the support with the --enable-roaming-users=y option. Remark:
I'm running vpopmail with MySQL support. (--enable-mysql option)
OS Is SuSE Linux 6.3 Kernel 2.2.13.
The POP-Server and the SMTP-Server (qmail) are startet with tcpserver.

...

env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver -H -R -x /home/vpopmail/etc/tcp.smtp.cdb \
-c20 -u510 -g101 0 smtp \
/var/qmail/bin/qmail-smtpd 21  /dev/null 

env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver 0 pop-3 /var/qmail/bin/qmail-popup pc.domain.com \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 

When somebody gets mails with POP3 an entry with the current IP of the
POP-User is added to the 'relay' MySQL table. The problem ist that
EVERYBODY is able to send mails through my SMTP server even if his
IP is NOT in the 'relay'-table. 
What's wrong?

Regards

Peter Baecker

MfG

Peter Baecker


-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.de

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.de




Re: problems compiling qmailadmin 0.42

2001-03-21 Thread Theircop
I had this problem, make sure u set the include dir to ur vpopmail dir dp 
./configure --help for more info on this


vpopmail 4.9.9 update?

2001-03-21 Thread Brad Dameron


I thought there was going to be a vpopmail update put on the webpage? I
would like to get the update with Bill's patch added to it.

---
Brad Dameron[EMAIL PROTECTED]
Network Account Executive   877-663-4349
TSCNet Online Services  www.tscnet.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001




vpopmail/mysql/courierimap/sqwebmail

2001-03-21 Thread Daniel Hardaker

Its getting asked more and more often now, and something that I completely
do not understand.

Why is it that whenever a vpopmail mysql user tries to compile
sqwebmail/courier imap with the vchkpw module it gives loads of errors about
not having the mysql libs.

Why is this a problem?  Who is to blame for this, should the vpopmail libs
be compiled with the mysql libs?  I dont see why they should, it would make
them too big, but why doesnt somebody fix the configure scripts and
Makefiles for sqwebmail/courier imap to work with vpopmail +mysql?!

It all seems crazy to me, so many people are being confused by this
one...who is doing it wrong, vpopmail coders or sqwebmail coders?

---
www.iv2.co.uk





Problem after upgrading to SuSE 7.1

2001-03-21 Thread Einar Bordewich

After upgrading to SuSE 7.1 and recompiling vpopmail-4.9.9 I get this error
when authenticating through POP or sqwebmail.
If anyone have a clue, please respond direct to this address, since I'm not
operative on the list right now.

/home/vpopmail/bin/vchkpw: error while loading shared libraries: libc.so.6:
failed to map segment from shared object: Cannot allocate memory
-ERR authorization failed
Connection closed by foreign host.

--

IDG New MediaEinar Bordewich
Development Manager  Phone: +47 2336 1420
E-Mail:  eibo(at)newmedia.no
Lat: 59.91144 N  Lon: 10.76097 E






Aliasing issue.

2001-03-21 Thread Brad Dameron


We put a .qmail-test in our domain directory. We have a user of test and
test1. In that file is:

test@domain
test1@domain

How can we have it deliver mail to both mailbox's? It seems to create a
weird loop because of the alias of test matching the user of test. Is there
a way to get it to deliver to both even when the alias is the same as the
first user?

---
Brad Dameron[EMAIL PROTECTED]
Network Account Executive   877-663-4349
TSCNet Online Services  www.tscnet.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001




Re: Aliasing issue.

2001-03-21 Thread Le Van Chi

Just have .qmail-test look like this:

/home/vpopmail/domains/yourdomain/test/Maildir/
test1@domain




- Original Message -
From: "Brad Dameron" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 22, 2001 6:48 AM
Subject: Aliasing issue.



 We put a .qmail-test in our domain directory. We have a user of test and
 test1. In that file is:

 test@domain
 test1@domain

 How can we have it deliver mail to both mailbox's? It seems to create a
 weird loop because of the alias of test matching the user of test. Is
there
 a way to get it to deliver to both even when the alias is the same as the
 first user?

 ---
 Brad Dameron [EMAIL PROTECTED]
 Network Account Executive 877-663-4349
 TSCNet Online Services www.tscnet.com
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001






How to setup a mail gateway

2001-03-21 Thread Le Van Chi



Hi all

How to set up a mail gateway? Is there any 
specialized software for this purpose? 

Thanks,