[vchkpw] clear-passwd

2004-11-09 Thread Werner Amon
Hi List,
I have my Qmail+vpopmail setup for a year now and it works great.
Vpopmail is compiled is compiles with mysql-support and clear-passwd, my 
wish is to recompile vpopmail without support for clear-passwd.
Is this possible, could vpopmail have troubles to read the tables correctly?
Everyone done this before?

Werner


Re: [vchkpw] reporting on my vpopmail system

2004-10-21 Thread Werner Amon
Bill Gradwohl schrieb:
Rick Root wrote:
Hello. (echo, echo!)  is anyone out there?
Rick Root wrote:
Does anyone have a script or application or something that will view 
my vpopmail directory structure and give me a report?

I would like to know.
accounts in each domain
# of messages per account
amount of disk space per account
amount of disk space per domain
Thanks.
 - Rick

Here's a start to what you might want.
Your criteria is open to interpretation.
I didn't bother prettying it up, and you can add any code you might want.
#!/bin/bash
VIRTUALROOT='/home/vpopmail/domains'
cd ${VIRTUALROOT}
find . -type d -maxdepth 1 | sed 's#^\./##' | while read domain; do
  if [ -e ${VIRTUALROOT}/${domain}/vpasswd ]; then
 echo
 echo Domain - ${domain} - occupies $(du -hs ${domain})
 cd ${VIRTUALROOT}/${domain}
 find . -type d -maxdepth 1 | sed 's#^\./##' | while read user; do
if [ -d ${VIRTUALROOT}/${domain}/${user}/Maildir ]; then
   echo ${user}
   echoMaildir/new contains $(ls -1 
${user}/Maildir/new|wc -l) messages.
   echoAccount occupies $(du -hs ${user})
fi
 done
 cd -
  fi
done

thank you very much bill!
werner


Re: [vchkpw] qscanq with vpopmail setup

2004-09-05 Thread Werner Amon
mike schrieb:
Hi
anybody implemented qscanq with vpopmail . What are the group and user 
setup for the conf.* in qscanq .any help is appreciated . Thanks
Hi,
Yes works fine here, the group and users are Gqscanq or so, simply the 
defaults.
Note: qscanq has nothing to do with vpopmail, and there is qscanq-list also.

Werner


Re: [vchkpw] qscanq with vpopmail setup

2004-09-05 Thread Werner Amon
mike schrieb:
Thanks for answering my question .The reason I am asking is that my 
qscanq service under /service/ doesn't stay up more than 10 sec and 
restarts any idea ?
- Original Message - From: Werner Amon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 05, 2004 2:00 PM
Subject: Re: [vchkpw] qscanq with vpopmail setup


mike schrieb:
Hi
anybody implemented qscanq with vpopmail . What are the group and 
user setup for the conf.* in qscanq .any help is appreciated . 
Thanks

Hi,
Yes works fine here, the group and users are Gqscanq or so, simply 
the defaults.
Note: qscanq has nothing to do with vpopmail, and there is 
qscanq-list also.

Werner


That's absolutely normal, i think you should read www.qscanq.org [again] ;)
Please do not toppost in maillinglists, this is horrible.
Werner


Re: [vchkpw] Aliases vs. Forwards

2004-09-02 Thread Werner Amon
Greg Swift schrieb:
Is it possible to do this with remote and local delivery off the same
address?
-Greg 

 

Sure,
echo [EMAIL PROTECTED]  ~vpopmail/domains/domain.com/.qmail-aliasname
echo /home/vpopmail/domains/domain.com/user/Maildir/  
~vpopmail/domains/domain.com/.qmail-aliasname

this should work
Werner



Re: [vchkpw] quotawarn....

2004-08-22 Thread Werner Amon
shadowplay.net schrieb:
has neone else had this issue?
once again the issue is no removal of quotawarn messages 

 

I have the same 'problem'
Werner


Re: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin

2004-07-29 Thread Werner Amon
Ken Jones schrieb:
Anyone interested in trying simscan before I release it?
It is a simplified replacement for qscanq. 
We have been running it on our server for over a week and it is solid. 
Like qscanq it can call clamdscan to check for viri. 
It is invoked via the QMAILQUEUE patch.

Differences:
- uses configure ; make ; make install-strip
- automatically deletes working directories when done
- uses one program instead of qscanq's two programs per email
- optionally calls spamassassin to reject spam during smtp
- optionally blocks list of attachments
- does not require svscan
- simplified C code (one simscan.c file)
If you are interested, please email me directly and I'll send you a tar ball.
 

Hi,
I am very interested, please send it to me
Werner


Re: [vchkpw] User is over quota (whithout beeing over quota)

2004-05-29 Thread Werner Amon
Michael Bellears schrieb:
My users are reporting me they are receiving a warning message that
they are
over their user quota, but they know they are not over quota.

Which pop3 daemon do you use?
If it is qmail-pop3d, have you patched it with the qmail-maildir++.patch 
from the contrib directory? By default it does not update the 
maildirsize file afaik.

Werner


Re: [vchkpw] User is over quota (whithout beeing over quota)

2004-05-29 Thread Werner Amon
X-Istence schrieb:

I hate to do this, but did you even read the thread starters message?
X-Istence
You are right X, sorry ;)
Werner


[vchkpw] Disable pop3 and smtp for some vpopmail users

2004-04-28 Thread Werner Schalk
Hi,

is there a way to disable pop3 and smtp services for some vpopmail users?

Bye and thanks,
Werner.


Re: [vchkpw] mysql aliases

2004-04-24 Thread Werner Amon
Tom Collins schrieb:
On Apr 23, 2004, at 2:01 PM, Werner Amon wrote:

Is it possible to convert .qmail-name files automaticly in mysql tables?


Take a look at the dotqmail2valias program included in vpopmail 5.4.1 
and later.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Jau, thats it, thanks!

Werner


[vchkpw] mysql aliases

2004-04-23 Thread Werner Amon
Hi,

Is it possible to convert .qmail-name files automaticly in mysql tables?

Werner


Re: [vchkpw] Re: SMTP-Auth question

2004-04-05 Thread Werner Amon
Joel Newkirk schrieb:


- I want both method, SMTP-Auth and POP3-b4-SMTP, for allowing a client
 to relay.
- I don't want the system to /require/ SMTP-Auth when POP3-b4-SMTP
 already set RELAYCLIENT=
Hi,

I have such a setup.
I use qmail-spamcontrol+vpopmail+mysql+courier+relay-ctrl
my smtpd run file:

#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/envdir /etc/relay-ctrl \
/usr/local/bin/tcpserver -v -R -H -c $MAXSMTPD -x 
/home/vpopmail/etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp \
/usr/local/bin/relay-ctrl-check \
/usr/local/bin/rblsmtpd -b \
-r relays.ordb.org \
-r sbl-xbl.spamhaus.org \
-r opm.blitzed.org \
-r bl.spamcop.net \
-r list.dsbl.org \
-r relays.visi.com \
-r obsl.outblaze.com \
/var/qmail/bin/qmail-smtpd \
/home/vpopmail/bin/vchkpw /bin/true 21

Both auth methods work well on my system

Werner


Re: [vchkpw] SMTP AUTH with vchkpw

2004-03-28 Thread Werner Amon
Chris Miller schrieb:

Below is the run script that supervise uses for qmail-smtpd. Notice now it
uses /bin/checkpassword which is patched for MySQL support. However, I'm
moving to vchkpw, so how would I go about changing the script so that SMTP
AUTH will work?


[/var/qmail/supervise/qmail-smtpd]# cat run

#!/bin/sh



QMAILDUID=`id -u qmaild`

NOFILESGID=`id -g qmaild`

MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`

LOCAL=`head -1 /var/qmail/control/me`



if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z $LOCAL ];
then
 echo QMAILDUID $QMAILDUID, NOFILESGID $NOFILESGID, MAXSMTPD $MAXSMTPD, or
LOCAL $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 1000 /usr/local/bin/tcpserver -v -R -l
$LOCAL -u $QMAILDUID -x /etc/tcp.smtp.cdb -c $MAXSMTPD -g $NOFILESGID
0 smtp \
   /var/qmail/bin/qmail-smtpd rhost1.zfx.com /bin/checkpassword /bin/true
21




Thank you!



Thanks,



Chris Miller

Compuville
www.compuville.net
423.276.6692



 

Change

QMAILDUID and NOFILESGID from qmaild to vpopmail

and change

/var/qmail/bin/qmail-smtpd rhost1.zfx.com /bin/checkpassword /bin/true 21

to

/var/qmail/bin/qmail-smtpd rhost1.zfx.com /home/vpopmail/bin/vchkpw /bin/true 21

this should work

Werner



Re: [vchkpw] Error Make - courier imap

2004-03-27 Thread Werner Schalk
Hi Johannes,

well just take a look at the output of the make command:

gcc  -I/home/vpopmail/include/ -DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH -Wall
-I.. -I./..   -o authvchkpw  modauthvchkpw.o libauthmod.a libauth.a
../numlib/libnumlib.a ../md5/libmd5.a ../sha1/libsha1.a -L/home/vpopmail/lib
-lvpopmail -lm -lcrypt 
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld:
cannot find -lvpopmail
collect2: ld returned 1 exit status

The error message clearly says cannot find -lvpopmail which means that the 
system cannot find a library called vpopmail. Therefore copy the missing file 
into the target directory, /lib or any other directory listed 
in /etc/ld.so.conf. Or add some additional flags to the make command 
(-L/home/vpopmail/lib for instance) in order to include the directory which 
contains the vpopmail library.

Bye,
Werner.


[vchkpw] Qmail should queue every mail

2004-01-09 Thread Werner Schalk
Hi guys,

I know this is not the official qmail list but I might get the best answers on 
this list here :-)

How can I make qmail to queue every incoming mail and not sending it? I mean 
qmail should keep every mail in its queue without actually delivering it. How 
can I do that?

Bye and thanks,
Werner.



Re: [vchkpw] vchkpw and courier 2.2.1 (long)

2004-01-08 Thread Werner Amon
Andrea Riela schrieb:

Michael Bowe wrote:
 

You will need to use courier-imap-2.1.1 (rather than 2.2.1) with that
particular patch. 
   

Now I'm trying to compile the 2.1.1 version, but ...

Compiling modauthvchkpw.c
gcc  -I/home/vpopmail/include -DHAVE_OPEN_SMTP_RELAY= -Wall -I.. -I./..   -o
authvchkpw  modauthvchkpw.o libauthmod.a libauth.a ../numlib/libnumlib.a
../md5/libmd5.a ../sha1/libsha1.a -L/home/vpopmail/lib -lvpopmail -lcrypt
-lm  
ld: -lcrypt: no match
collect2: ld returned 1 exit status
*** Error code 1

Stop in /src/courier-imap-2.1.1/authlib (line 856 of Makefile).
*** Error code 1
Stop in /src/courier-imap-2.1.1/authlib (line 701 of Makefile).
*** Error code 1
Stop in /src/courier-imap-2.1.1 (line 459 of Makefile).

Make or gmake, it's the same.
My lib_deps: -L/home/vpopmail/lib -lvpopmail -lcrypt
Thanks for your support
Andrea
 

Mhhh,

I had the same Problem, and i am turn the roaming-users off and use now 
relay-ctrl that works very fine.
It works with couriers pop3d, pop3d-ssl, imapd, imapd-ssl.

http://untroubled.org/relay-ctrl/

Werner


Re: [vchkpw] Problem with max size in vpopmail

2004-01-08 Thread Werner Amon
xXx schrieb:

hi, i have a linux mailserver vpopmail+qmail. In this server i have 
configured 5 virtual domains.
I have a problem, because i want setting a max size of a single mail 
for   one of these, but don't find any suggestions in Internet. I 
would want to use this option for every account in one of these domain.

you can help me to resolve this problem?

thanx in advance...
max

Hi,

Thats a qmail question .. however

echo 1000  /var/qmail/control/databytes

then a message can only have 10MB or less

Werner


[vchkpw] quotawarn messages

2003-12-14 Thread Werner Amon
Hi,

I have customers they become a quotawarnmessage, but their boxes are empty.
When i look in their box i can see a empty file quotawarn. It seems like 
that
vpopmail not delete this file automaticly, thats a great prob.

Any hints, someone?

greets from austria
Werner



RE: [vchkpw] welcome.msg patch submitted to vpopmail.sf.net patch manager.

2003-12-01 Thread Werner Amon
 I've cleaned up my welcome.msg patch to vpopmail-5.3.30 and 
 posted it on vpopmail.sf.net.
 

Hi,

Works this patch with the stable 5.2.2?

Werner




[vchkpw] Sorry but must test something

2003-11-18 Thread Werner Amon
Sorry




[vchkpw] pop3d logging?

2003-11-15 Thread Werner Amon
Hi,

I have setup my qmail-vpopmail server with daemontools multilog, the smtpd
logs normally, but the pop3d damon does not log anything.

Any Hints?

greets
Werner




AW: [vchkpw] pop3d logging?

2003-11-15 Thread Werner Amon
 I cant take this line out, because then the users cant relay ;)

-Ursprüngliche Nachricht-
Von: Shane Chrisp [mailto:[EMAIL PROTECTED] 
Gesendet: Samstag, 15. November 2003 15:12
An: [EMAIL PROTECTED]
Betreff: RE: [vchkpw] pop3d logging?

The only difference I can see between the way your running your popd server
and the way I am is the /usr/local/bin/relay-ctrl-allow. What happens if you
take it out and restart the popd server and multilog?

Shane

-Original Message-
From: Werner Amon [mailto:[EMAIL PROTECTED] 
Sent: Saturday, 15 November 2003 9:14 PM
To: [EMAIL PROTECTED]
Subject: AW: [vchkpw] pop3d logging?


Oh sorry :-)

here it is:

thunder /var/qmail/supervise/qmail-pop3d/log $ cat run 
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
/var/log/qmail/pop3d

and

thunder /var/qmail/supervise/qmail-pop3d $ cat run
#!/bin/sh
exec env - PATH=/var/qmail/bin:/usr/local/bin \
/usr/local/bin/envdir /etc/relay-ctrl \
tcpserver -H -R 0 pop3 \
/var/qmail/bin/qmail-popup mail.plinux.de \
/home/vpopmail/bin/vchkpw /usr/local/bin/relay-ctrl-allow
/var/qmail/bin/qmail-pop3d Maildir 21

greets
Werner 

-Ursprüngliche Nachricht-
Von: Shane Chrisp [mailto:[EMAIL PROTECTED] 
Gesendet: Samstag, 15. November 2003 14:04
An: [EMAIL PROTECTED]
Betreff: RE: [vchkpw] pop3d logging?

Show us how your running the pop3d server and we might be able 
to help you.
We cant read minds :)

Shane

-Original Message-
From: Werner Amon [mailto:[EMAIL PROTECTED]
Sent: Saturday, 15 November 2003 8:56 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] pop3d logging?


Hi,

I have setup my qmail-vpopmail server with daemontools multilog, the 
smtpd logs normally, but the pop3d damon does not log anything.

Any Hints?

greets
Werner


















AW: [vchkpw] pop3d logging?

2003-11-15 Thread Werner Amon
 Never heard about it. Is this better then relay-ctrl?

greetz
Werner

-Ursprüngliche Nachricht-
Von: Shane Chrisp [mailto:[EMAIL PROTECTED] 
Gesendet: Samstag, 15. November 2003 15:30
An: [EMAIL PROTECTED]
Betreff: RE: [vchkpw] pop3d logging?

Why don’t you compile with relay in vpopmail?

-Original Message-
From: Werner Amon [mailto:[EMAIL PROTECTED]
Sent: Saturday, 15 November 2003 10:25 PM
To: [EMAIL PROTECTED]
Subject: AW: [vchkpw] pop3d logging?


 I cant take this line out, because then the users cant relay ;)

-Ursprüngliche Nachricht-
Von: Shane Chrisp [mailto:[EMAIL PROTECTED]
Gesendet: Samstag, 15. November 2003 15:12
An: [EMAIL PROTECTED]
Betreff: RE: [vchkpw] pop3d logging?

The only difference I can see between the way your running your popd 
server and the way I am is the /usr/local/bin/relay-ctrl-allow. What 
happens if you take it out and restart the popd server and multilog?

Shane





AW: [vchkpw] Re: Virtual and 'normal' users?

2003-10-15 Thread Werner Amon
Hi Peter,

Than you for your answer, but what's about the entry in
/var/qmail/supervise/qmail-pop3d/run
its like this:
#!/bin/sh
exec env - PATH=/var/qmail/bin:/usr/local/bin \
/usr/local/bin/envdir /etc/relay-ctrl \
tcpserver -H -R 0 pop3 \
/var/qmail/bin/qmail-popup server.domain.at \
/home/vpopmail/bin/vchkpw /usr/local/bin/relay-ctrl-allow
/var/qmail/bin/qmail-pop3d Maildir 21

I think there must be a line with /path/to/checkpassword ?
I ask this question because i can not do experiments with this produktiv
server, you understand ;)

Greets from Vienna
Werner


Hello Werner,

On Wednesday, October 15, 2003 at 8:10:50 PM you wrote (at least in
part):

 Can vpopmail handle virtual user accounts and real user accounts at 
 the same time?

Yes, it can.
You'll have to '--enable-passwd=y' at compile time.

 I have a working qmail-vpopmail-mysql server, but i want to handle a 
 normal user account also, is this possible?

You'll have to recompile vpopmail, the rest shouldn't be a problem at all.
-- 
Best regards
Peter Palmreuther

Do not follow in the footsteps of men of old; seek what they sought.







[vchkpw] vpopmail and learn passwords

2003-08-26 Thread Werner Schalk
Hi,

I am using the latest release of vpopmail and I can't find a documentation on 
this learn passwords option. How must I use it? I mean I have compiled 
vpopmail including --enable-learn-passwords but how must I add a new user 
that his or her password will be learned when he or she logs in?

Bye and thanks,
Werner.




Re: [vchkpw] vpopmail and learn passwords

2003-08-26 Thread Werner Schalk
Hi,

where do I find this table if I am not using mysql?
Could you provide an example?

Bye and thanks,
Werner.




Re: [vchkpw] vpopmail and learn passwords

2003-08-26 Thread Werner Schalk
Hi,

ok maybe for the archives:

# vadduser -n [EMAIL PROTECTED]

So a user [EMAIL PROTECTED] will be created (as Tom said). Now when that user logs 
in, the passwords gets learned.

Bye and thanks,
Werner.




[vchkpw] Migrating to a new server

2003-07-04 Thread Werner Schalk
Hi,

has someone ever successfully migrated to a new server?
I have installed my current server with MySQL support and now my question is 
what I must do to migrate to a new server? I wanted to install the new server 
with MySQL support and then dump the databases? What else must I do?
Do I need the learn passwords option?

Thanks and bye,
Werner.




[vchkpw] vpopmail and chroot

2003-07-04 Thread Werner Schalk
Hi,

has anyone ever installed vpopmail and/or qmail in a chroot environment? Has 
anyone got a howto or something?

Bye and thanks,
Werner.




[vchkpw] welcome message

2003-01-07 Thread Werner
Hi,

Is there a way to set a welcome message that is sent when a postmaster
creates an e-mail account?

thanks in advance

Werner





[vchkpw] how to disable quota

2002-11-28 Thread Werner Schalk
Hello,

I have compiled vpopmail with
(soft) quota in it, is there a way
to disable this feature globally
without re-installing everything?

Bye and thanks,
Werner.





RE: [vchkpw] vconvert

2002-11-04 Thread Werner Schalk
Hello,

if such a tool does not exist,
I would like to code it.

Bye,
Werner.





RE: [vchkpw] Qmail AntiSpaming

2002-10-16 Thread Werner Schalk

Hello,

what about spam filtering methods or programs
that work with vpopmail and qmail without
compiling qmail completly new? Has anyone
got spamassassin or anything like that
to work?

Bye and thanks,
Werner.





RE: [vchkpw] possibly dumb question

2002-10-09 Thread Werner Schalk

Hello,

I do have exactly the same problem
because after I installed vpopmail completly
new it still has this damn quota.

Any hints?

Bye and thanks,
Werner.




[vchkpw] learn passwords

2002-09-24 Thread Werner Schalk

Hello,

I re-compiled vpopmail and installed
using the --enable-learn-passwords option.
How can I migrate the users from another
server to it now? Must I create each user
which existed on the old server on the new
one without a password or what must I do?

Bye and thanks,
Werner.




[vchkpw] quota problems

2002-09-23 Thread Werner Schalk

Hello,

I have compiled vpopmail and
after I added some domains and
users the traffic is just too high
I get user is over quota errors,
how can I increase the default quota per
user after compiling vpopmail?

Bye and thanks,
Werner.




[vchkpw] server migration, password issues (again)

2002-09-22 Thread Werner Schalk

Hello,

it's me again.
My question is quite the same:
Is there a way to get the passwords
of local users as I am the admin
and want to migrate all users to
another server (which already IS setup
up)? 

At least some domains
should be set up on my new server
and therefor I need the passwords
of the users to create them...
otherwise each user must re-create
him- or herself. Is there a way to
do this? Which method is used to encrypt
the user's passwords?

Bye and thanks,
Werner.




[vchkpw] file permission error

2002-09-22 Thread Werner Schalk

Hello,

when I try to login using qmailadmin
I get the following error message:

file permission error
/home/vpopmail/domains/mydomain.com/postmaster/Maildir/1032672395.qw

Now the permissions of that directory look
like this:
server1:/home/vpopmail/domains/mydomain.com/postmaster/Maildir# ls -la
total 20
drwx--5 vpopmail vchkpw   4096 Aug 12 20:36 .
drwx--3 vpopmail vchkpw   4096 Aug  6 14:26 ..
drwx--2 vpopmail vchkpw   4096 Aug  6 14:26 cur
drwx--2 vpopmail vchkpw   4096 Aug  6 14:26 new
drwx--2 vpopmail vchkpw   4096 Aug  6 14:26 tmp

That's exactly how the other directories
look like...

What is messed up here?

Bye and thanks,
Werner.




[vchkpw] server migration, password issue

2002-09-21 Thread Werner Schalk

Hello,

is there a way to get the passwords
of local users as I am the admin
and want to migrate all users to
another server? At least some domains
should be set up on my new server
and therefor I need the passwords
of the users to create them...
otherwise each user must re-create
him- or herself. Is there a way to
do this?

Bye and thanks,
Werner.