Re: [vchkpw] running sa-learn from valias

2006-11-07 Thread andrej
 So I assume I setup the aliases wrong? I tried setting the ownership of the 
 scripts to vpopmail, playing with permissions.
 
 I see the messages I send to [EMAIL PROTECTED] in the queue. (So, a related 
 qmail question: how do I tell what reason a message is in the queue?)
 
I guess this question is not really a vpopmail question so you might
consider moving it to the qmail mailinglist.anyway my 2 cents ;)

are you sure its not working (adding the mail to spam/ham)? My guess is
that the mail is still in the queue and cannot be delivered because
after running your script its stuck because it has no more instructions
on what to do with it. That should be easy to test by adding a valid
mailbox (of fiddling with the script return code, but thats behind my
qmail knowledge ;). Let me know if it works.

|/root/bin/learnham
./Maildir/

cheers
andrej




Re: [vchkpw] Troubleshooting enable-roaming-users

2006-11-02 Thread andrej

 And my IP address is found!
 

well that shows that the problem is not with vpopmail. If I remember
right your problem is that your clients cant do roaming so you will have
to check if your smtpd is checking the tcp.smtp.cdb at all. I assume you
use tcpserver... make sure that in your run script the command and path
are set correct: 
tcpserver -x /path/to/your/tcp.smtp.cdb 

cheers
andrej




Re: [vchkpw] Troubleshooting enable-roaming-users

2006-11-01 Thread andrej
 Yes!
 
then you should check if you have the 'relay' table (and whats written
there) in your vpopmail mysql table. You can also look at tcp.smtp.cdb
with cat tcp.smtp.cdb. You find the listed IPs at the end of the dump.

cheers
andrej





[vchkpw] Problem with quota update

2005-04-08 Thread Andrej
Hello List,
I'm using vpopmail-5.4.10, netqmail-1.05.
I have a problem with updating quota. All users have been created with:
vadduser [EMAIL PROTECTED] -q 5242880 -c 'comment' password
When an mail is delivered to [EMAIL PROTECTED], the usages changes, I've 
figured out that there is a maildirsize file in the Maildir. Ok..

But when [EMAIL PROTECTED] gets his mail (not leaving mails on server), 
the maildirsize is not being updated, seems that qmail-pop3d is not 
updating the maildirsize???

qmail-pop3d ist startet with tcpserver:
cat /service/qmail-pop3d/run
#!/bin/sh
exec /usr/local/bin/softlimit -d 800 -s 800 -l 800 \
   /usr/local/bin/tcpserver -v -R -H -l 0 0 110 
/var/qmail/bin/qmail-popup \
  levy.vl5.de /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d 
Maildir 21

Could somebody help me solving this problem?
Thank you,
Andrej.



[vchkpw] .dir-control

2003-10-07 Thread Andrej
how is .dir-control working?




[vchkpw] Forwarding problem by using maildrop

2003-09-24 Thread Andrej
Hello List,

I'm using qmail 1.03, vpopmail 5.2.1, SpammAssassin-2.53 with Maildrop.

Some of the mail-accounts have a forward file in their directory:

/vopmail-home/domains/problem.com/user/.qmail

If I send an email to an user who have this .qmail forward file, the 
mail will not be forwarded. This happens when the spam filter is activated:

# cat .qmail-default
| /usr/local/bin/maildrop mailfilter
The qmail log file says that everything is ok and that the email is 
delivered local - but she isn't.

Where goes the mail???

Thanks in advice!
Andrej.
# cat mailfilter
VPOP=| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
if ( $SIZE  262144 )
{
exception {
xfilter /usr/local/bin/spamc -f -u [EMAIL PROTECTED]
}
}
if (/^X-Spam-Flag: *YES/)
{
# try filtering it using user-defined rules
exception {
include $VHOME/Maildir/.mailfilter
}
# then try delivering it to a Spam folder
exception {
# to $VPOP
to $VHOME/Maildir/.Spam/
}
# ah well, I guess they'll just have to live with disappointment
exception {
to $VPOP
}
}
else
{
exception {
include $VHOME/Maildir/.mailfilter
}
exception {
to $VPOP
}
}







[vchkpw] Clear Passwords

2003-08-25 Thread Andrej Dragicevic
Hello List,

I want to get all passwords from vpopmail (ver. 5.2) accounts. If I use
vuserinfo with -p option, the function returns a crypted password. How
do I get clear password from the returned string, for example with
PHP???

TIA. 




re: [vchkpw] How to put all accounts in an alias file?

2003-06-30 Thread Andrej Dragicevic
Thanks for the script!!

I thought there could be a command for that...

 Von: David du SERRE-TELMON [mailto:[EMAIL PROTECTED]
 Gesendet: Montag, 30. Juni 2003 11:31
 An: Andrej Dragicevic
 Cc: [EMAIL PROTECTED]
 Betreff: Re: [vchkpw] How to put all accounts in an alias file?
 
 Simply a shell script ?!!
 
 Something like that :
 
 for user in `cat /home/vpopmail/domains/your_domain/vpasswd | cut -f1
-d:`
 do
 user=`echo $user | sed s/\./:/g`# Don't forget to replace . by
:
 echo what you want 
/home/vpopmail/domains/your_domain/.qmail-$name
 chown vpopmail:vchkpw
/home/vpopmail/domains/your_domain/.qmail-$name
 chmod 600 /home/vpopmail/domains/your_domain/.qmail-$name
 done
 
 - Original Message -
 From: Andrej Dragicevic [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, June 30, 2003 10:42 AM
 Subject: [vchkpw] How to put all accounts in an alias file?
 
 
  I'm using vpopmail with over 7000 accounts in one domain. Which is
  simplest way to add all the 7000 accounts to a .qmail-alias
file???
 
  Thanks for your help in advance!