[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


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] 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.