[vchkpw] password encryption
what style of encryption does vpopmail implement on the passwords that it stores in the sql db? thanks! :Patrick Lahni [EMAIL PROTECTED] - This mail sent through IMP: http://horde.org/imp/
Re: [vchkpw] different per user quotas on a single domain
Quoting Justin Heesemann [EMAIL PROTECTED]: On Saturday 11 October 2003 13:47, Animesh Bansriyar wrote: Hi All, Is it possible to implement per user level per domain based quotas with vpopmail. Suppose I have a virtual domain using vpopmail and want some users to have 2 MB quotas, some to have 5 MB quotas and some say, 10 MB quotas. What do I do. I have searched the Mailing List Archives, Google extensively but was unable to come up triumphs. I would be really grateful if somebody could send me some pointers on this. With Warm Regards, Animesh domain quotas need vlimits, so you have to use the -devel branch. --enable-domainquotas=y is the config switch. then it should be fine. user quotas get checked first, domain quotas afterwards (so you can even do things like: user1 2mb, user2 10mb and domain 10mb = when user1 has reached his quota, user2 can only use 8mb.. -- Mit internetten Grüßen / Best Regards --- Justin Heesemannionium Technologies [EMAIL PROTECTED]www.ionium.org I don't believe thats entirely what he's asking. I wanted to implement a similar system I believe Justin is trying to describe: Say, during setup of vpopmail initially, I setup a default quota of 10m. I use the latest vpopmail/qmailadmin and don't allow domain postmasters to change quotas (must be done through commandline only). Now, let's say I add 3 domains: domain1.com, domain2.com, and domain3.com. domain1.com is to have all their subsequent users to have 10m quotas - no big deal. Everytime their postmaster logs in and creats a new user, it gets assigned a 10m quota. Now, I want all the users of domain2.com to have a 20m quota. Is there a way to automate this? Initially, when [EMAIL PROTECTED] is created it is automatically assigned a 10m quota and I would have to change that myself. NOTE: I am not talking about domain quotas (since that is always the response I get)! I'm talking about per user domain quotas aside from the set quota during initial configuration. So with that in mind, I want domain2.com's users to EACH have a 20m quota now. Since I am not the one adding the users (their postmaster is through qmailadmin and he doesn't have the ability to modify quotas...as how can you trust that he'll put 20m each time, heh? Does this make sense? I believe this is what Justin was trying to describe and what I've been trying to find an answer to for months now. If this currently isn't possible, does anyone else think this would be a great feature to add? Take care all, :Patrick Lahni [EMAIL PROTECTED] - This mail sent through IMP: http://horde.org/imp/
Re: [vchkpw] different per user quotas on a single domain
Quoting Jochen Schug [EMAIL PROTECTED]: Alexander Bruns wrote: I am traying to get quota work for my installation og vpopmail stable (5.2.1) I don't know how reliable the quota support in vpopmail-5.2.1 is, in the developement branch it's working pretty good. One big improvement is the per-domain quota, and not just on a per-user basis (I don't want my users to create 100 accounts per domain that take up 20 megs each). I tried to reproduce the behaviour you mentioned in your other mail, but I have vpopmail compiled with a default quota size, so the maildirsize file is created automatically when I add a user. Unless I'm not getting this right, vmoddomlimits should be exactly what you need: vmoddomlimits: usage: [options] domain options: -v ( display the vpopmail version number ) -S ( show current settings ) -Q quota ( set domain quota ) -q quota ( set default user quota ) So a one-time vmoddomlimits -q 20971520 domain2.com, together with a vmoduser -q 20971520 [EMAIL PROTECTED] for the postmaster account, and you're done. I do not have the command /home/vpopmail/bin/vmoddomlimits. Is this a feature of the develment versions of vpopmail? Yes, it is indeed. I'm currently running 5.3.27. Regards Jochen If I understand vmoddomlimits correctly, that sets a TOTAL quota on the domain. Say I set the domain quota for domain2.com to 20m, that means that the entire domain can only use 20m to be split between all their users. So for domain2.com, I need a way to set vmoduser for each user created under domain2. However, you must remember that this needs to be entirely automated for that domain. The admins cannot constantly be overlooking that domain to vmoduser that account manually. Perhaps the authors of vpopmail could add another column to mysql for per-domain USER quota. domain1 - each user created gets a 10m quota domain2 - each user created gets a 15m quota etc etc Does this seem to clarify at all? :Patrick Lahni [EMAIL PROTECTED] - This mail sent through IMP: http://horde.org/imp/
[vchkpw] qmailadmin-1.0.27 error on rh7.3
I'm trying to compile qmailadmin-1.0.27 and I'm getting the following error: gcc -I. -I/usr/local/vpopmail/include -g -O2 -c qmailadmin.c qmailadmin.c:32:21: vlimits.h: No such file or directory qmailadmin.c:67: error: storage size of `Limits' isn't known make: *** [qmailadmin.o] Error 1 I'm using gcc 3.3.1 on a redhat 7.3 box. Here are my configure options: ./configure --enable-vpopmaildir=/usr/local/vpopmail --enable-htmldir=/usr/local/www/webapps/qmailadmin --enable-cgibindir=/usr/local/www/webapps/qmailadmin/cgi-bin --enable-qmaildir=/var/qmail --enable-cgipath=/cgi-bin/qmailadmin --enable-imagedir=/usr/local/www/webapps/qmailadmin/images --enable-imageurl=/images --enable-autoresponder-bin --enable-ezmlmdir=/usr/bin --enable-domain-autofill=Y --enable-modify-spam=Y --enable-spam-command=|/usr/local/bin/maildrop /usr/local/vpopmail/spamfilter Btw, I can compile 1.0.6 just fine, but I wanted the spam-command option. Any ideas? Patrick Lahni [EMAIL PROTECTED] - This mail sent through IMP: http://horde.org/imp/
[vchkpw] upgrade problems from 5.3.8 to 5.3.24
Upon upgrading from vpopmail-5.3.8 to vpopmail-5.3.24, I had problems with mail getting delivered properly. In my qmail logs, all I see is the following: @40003f47a6c2147432cc new msg 4480001 @40003f47a6c2149ab244 info msg 4480001: bytes 1341 from [EMAIL PROTECTED] qp 24631 uid 85 @40003f47a6c218297e54 starting delivery 1: msg 4480001 to local cykotix.com- [EMAIL PROTECTED] @40003f47a6c21834e834 status: local 1/15 remote 0/50 @40003f47a6c2226e6a3c delivery 1: deferral: @40003f47a6c22275bd3c status: local 0/15 remote 0/50 @40003f47a7272316ac74 starting delivery 2: msg 4480001 to local cykotix.com- [EMAIL PROTECTED] @40003f47a72723204d4c status: local 1/15 remote 0/50 @40003f47a72725bb33dc delivery 2: deferral: Just a simple deferral, with no reason why. The mail simply goes back into queue for some reason. After restoring my 5.3.8 backup and restarted qmail, the mail that was sent was delivered right away with no problems. I'm at a loss as to why these emails are being deferred rather than delivered as 5.3.8 allows, but 5.3.24 doesn't. Any ideas on what to check or where to look? -Patrick Lahni [EMAIL PROTECTED] - This mail sent through IMP: http://horde.org/imp/
Re: [vchkpw] Problems Upgrading from 5.3.20 to 5.3.24
Quoting [EMAIL PROTECTED] [EMAIL PROTECTED]: I was successfully running vpopmail-5.3.20. I decided to upgrade to vpopmail-5.3.24 and now I'm getting the following bounce messages: [snip] [EMAIL PROTECTED]: vmysql: sql error[3]: Sorry, no mailbox here by that name. vpopmail (#5.1.1) [/snip] I used the following parameters to configure vpopmail: ./configure --enable-mysql=y --enable-roaming-users=y \ --enable-defaultquota=1S,1C --enable-learn-passwords=y \ --enable-mysql-replication=y --enable-logging=p --enable-mysql-logging=y Before I did my make install, I made sure to edit vmysql.h with the proper database settings. The user and password is identical to my old vmysql.h. The user [EMAIL PROTECTED] does still exist in vpopmail's database as well as its mailbox exists in vpopmail's directory. What baffles me is that I thought vdominfo also reads from the database to pull out information as well. Upon doing a vdominfo for perfectservers (or any other domain on the box), I get this: [EMAIL PROTECTED]:/usr/local/vpopmail/bin# ./vdominfo perfectservers.com domain: perfectservers.com uid:89 gid:89 dir:/usr/local/vpopmail/domains/perfectservers.com users: 4 But doing a vuserinfo, I get: [EMAIL PROTECTED]:/usr/local/vpopmail/bin# ./vuserinfo [EMAIL PROTECTED] vmysql: sql error[3]: no such user [EMAIL PROTECTED] I couldn't even begin to guess what is wrong, but it has something obviously to do with vpopmail reading the mysql db. I've double and triple checked the user/pass in vmysql.h And just to show I have, I diff'ed the two vmyqsl.h files and this is the output difference: --- vmysql.hMon Aug 18 10:20:43 2003 +++ ../vpopmail-5.3.20/vmysql.h Fri Jul 11 20:44:29 2003 @@ -48,11 +48,11 @@ primary key (pw_name, pw_domain ) #else #define TABLE_LAYOUT pw_name char(32) not null, \ -pw_domain char(64) not null, \ +pw_domain char(64) not null, pw_passwd char(40), \ pw_uid int, pw_gid int, \ pw_gecos char(48), \ -pw_dir char(160), \ +pw_dir char(160), pw_shell char(20), \ primary key (pw_name, pw_domain ) #endif Everything I've googled for seems to show that the 'mysql server has gone away'. But the mysql server is running just fine for everything else. I can connect as the vpopmail user and query the vpopmail db just fine as well. Does anyone have any suggestions? Thank you for your time. -Patrick Lahni - This mail sent through IMP: http://horde.org/imp/ I'd also like to add that qmailadmin does continue to work. I can still log into qmailadmin and it shows all the proper users. I can also still log in as the user via imap/pop3. This is totally got me crazed, heh. -Patrick - This mail sent through IMP: http://horde.org/imp/
RE: [vchkpw] Problems Upgrading from 5.3.20 to 5.3.24
Quoting Tom Walsh [EMAIL PROTECTED]: ::I think I may have found the problem. Was there a structural ::change from 5.3.20 ::to 5.3.24 in the mysql database? :: ::Just to see if I could create a new domain and have it work, I did the ::following: :: ::[EMAIL PROTECTED]:/usr/local/vpopmail/bin# ./vadddomain blah.com ::Please enter password for postmaster: ::enter password again: ::vmysql: sql error[3]: Table 'vpopmail' already exists ::vmysql: sql error[3]: ::vmysql: sql error[2]: Unknown column 'pw_clear_passwd' in 'field list' ::Error: Unable to chdir to vpopmail/users directory It sounds like you have clear passwords enabled in your vpopmail config, which I think is defautled to enabled. Reconfig and recompile vpopmail with the option --enable-clear-passwd=n and that should fix the error above. Some where (I forget which version) that option became enabled by default. This breaks upgrades from versions where it wasn't enabled by default (5.2.x). Tom Walsh Network Administrator http://www.ala.net/ Yup, doing --enable-clear-passwd=n cleared up the problem. Thanks! -Patrick - This mail sent through IMP: http://horde.org/imp/
[vchkpw] Similar to per-domain quotas
I've looked through the docs and googled and I didn't see anything in regards to this topic. I've set a default-quota 1or 20m, thus any user created gets set a 10m quota unless I change it manually. Now, I want to be able to (maybe upon vadddomain) to set a domain quota. By this, I mean if I create a domain (example.com), I want all its subsequent users to have a default-quota of 20m instead of the 10m quota. As you can see, this is different than using a system quota on the whole domain. So [EMAIL PROTECTED] would get a 20m quota, [EMAIL PROTECTED] would have a 20m quota, but [EMAIL PROTECTED] would still have the 10m quota. The users would in example.com, when created using qmailadmin, will always be created with a 20m quota. Or I could even set the domain quota manually, it doesn't really matter. I'd prefer something like this, rather than changing each person manually, since I want all this to be dynamically done due to the number of virtual users we have. Is this at all possible? Has someone thought of adding this option into vpopmail? Or is this already available and I'm overlooking something? Thanks for the help! -Patrick - This mail sent through IMP: http://horde.org/imp/
Re: [vchkpw] qmail+SMTP auth
Here is the bottom part of my qmail-smtpd/run script: exec /usr/local/bin/softlimit -m 500 \ /usr/local/bin/tcpserver -v -R -l $LOCAL -x /etc/tcp.smtp.cdb -c $MAXSMTPD \ -u $QMAILDUID -g $NOFILESGID 0 smtp rblsmtpd \ -r sbl.spamhaus.org \ -r relays.ordb.org \ /var/qmail/bin/qmail-smtpd revelation.perfectservers.com /usr/local/vpopmail/bin/vchkpw \ /usr/bin/true 21 Notice the /var/qmail/bin/qmail-smtpd hostname /usr/local/vpopmail/bin/vchkpw. That is very important. On your setup, its thinking that the vchkpw path is your hostname and /usr/bin/true is your authentication method, in which case making everything a valid login (or should). This makes you an open relay. I'm also using qmail-smtpd-auth-0.31. -Patrick Lahni Quoting Rick Macdougall [EMAIL PROTECTED]: Hi, Check your version of smtpd-auth patch. The newer versions require hostname /usr/local/vpopmail/bin/vchkpw /usr/bin/true Not just /usr/local/vpopmail/bin/vchkpw /usr/bin/true Regards, Rick eLgino wrote: hi folks, i know its the false maillinglist but i will not join the real one, because the traffic is to small. Now my Problem: i have installed qmail with SMTP-Auth, and all works fine with Outlook Express of MS!, but when i try to connect via telnet telnet host 25 and do a auth login and enter my username (VALID!) and password (VALID!) it comes: user invalid ªï-Ö½-z 235 auth failure, but go ahead, is use it with vpopmail my startscript: /var/qmail/supervise/qmail-smtpd/run #!/bin/sh exec /usr/local/bin/softlimit -m 4000 /usr/local/bin/tcpserver -H -l0 -R -c 512 -DUHR -ln3rd.at -c200 0 25 /var/qmail/bin/qmail-smtpd /usr/local/vpopmail/bin/vchkpw /usr/bin/true 21 and, yes the /usr/local/vpopmail/bin/vchkpw is SUIDED and GUIDED to vpopmail:vchkpw thanks in advance and sry if i send a html-mail - This mail sent through IMP: http://horde.org/imp/
Re: [vchkpw] make install error (v5.3.20)
I tried using gmake and I received the following output (same result essentially): [EMAIL PROTECTED]:/usr/local/src/vpopmail-5.3.20# gmake install Making install in cdb gmake[1]: Entering directory `/usr/local/src/vpopmail-5.3.20/cdb' gmake[1]: Nothing to be done for `install'. gmake[1]: Leaving directory `/usr/local/src/vpopmail-5.3.20/cdb' gmake[1]: Entering directory `/usr/local/src/vpopmail-5.3.20' gcc -I. -I/usr/local/include/mysql -g -O2 -Wall -c vpopmail.c gcc -I. -I/usr/local/include/mysql -g -O2 -Wall -c md5.c gcc -I. -I/usr/local/include/mysql -g -O2 -Wall -c bigdir.c gcc -I. -I/usr/local/include/mysql -g -O2 -Wall -c vauth.c gcc -I. -I/usr/local/include/mysql -g -O2 -Wall -c file_lock.c gcc -I. -I/usr/local/include/mysql -g -O2 -Wall -c vpalias.c gcc -I. -I/usr/local/include/mysql -g -O2 -Wall -c seek.c gcc -I. -I/usr/local/include/mysql -g -O2 -Wall -c vlimits.c gcc -I. -I/usr/local/include/mysql -g -O2 -Wall -c maildirquota.c maildirquota.c: In function `readuserquota': maildirquota.c:188: warning: passing arg 3 of `countcurnew' from incompatible pointer type maildirquota.c:196: warning: passing arg 4 of `countsubdir' from incompatible pointer type gmake[1]: *** No rule to make target `cdb/*.o', needed by `libvpopmail.a'. Stop. gmake[1]: Leaving directory `/usr/local/src/vpopmail-5.3.20' gmake: *** [install-recursive] Error 1 -Patrick Quoting Charles Sprickman [EMAIL PROTECTED]: I think in general you'll have better luck using gmake (/usr/ports/devel/gmake). Charles On Fri, 11 Jul 2003 [EMAIL PROTECTED] wrote: Quoting [EMAIL PROTECTED] [EMAIL PROTECTED]: I'm trying to install vpopmail-5.3.20 on a freebsd4.8 machine. I'm receiving the following errors: [EMAIL PROTECTED]:/usr/local/src/vpopmail-5.3.20# make install Making install in cdb rm -f libvpopmail.a ar cru libvpopmail.a vpopmail.o md5.o bigdir.o vauth.o file_lock.o vpalias.o seek.o vlimits.o maildirquota.o cdb/*.o /usr/libexec/elf/ar: cdb/*.o: No such file or directory *** Error code 1 Stop in /usr/local/src/vpopmail-5.3.20. *** Error code 1 Stop in /usr/local/src/vpopmail-5.3.20. Any ideas or suggestions as to how to resolve this? -Patrick Lahni Just to follow up on this to provide more information, my cdb folder contents are as follows: [EMAIL PROTECTED]:/usr/local/src/vpopmail-5.3.20/cdb$ ls Makefilecdb_hash.c cdbmake_hash.c find-systype.sh uint32.h1 README cdb_seek.c cdbmake_pack.c loaduint32.h2 THANKS cdb_unpack.ccompile makelib warn-auto.sh VERSION cdbmake.h conf-cc trycpp.c cdb.h cdbmake_add.c conf-ld tryulong32.c Obviously, no *.o files like it was anticipating. I've tried deleting the vpopmail-5.3.20 directory entirely and unpacking from the tarball again -- same result. I'm using the following configure: ./configure --enable-mysql=y --enable-roaming-users=y --enable-defaultquota=1S,1C --enable-learn-passwords=y --enable-mysql-replication=y --enable-logging=p --enable-mysql-logging=y (pardon the line wrapping -- if it does -- this is all one line of course) -Patrick Lahni - This mail sent through IMP: http://horde.org/imp/ - This mail sent through IMP: http://horde.org/imp/
[vchkpw] make install error (v5.3.20)
I'm trying to install vpopmail-5.3.20 on a freebsd4.8 machine. I'm receiving the following errors: [EMAIL PROTECTED]:/usr/local/src/vpopmail-5.3.20# make install Making install in cdb rm -f libvpopmail.a ar cru libvpopmail.a vpopmail.o md5.o bigdir.o vauth.o file_lock.o vpalias.o seek.o vlimits.o maildirquota.o cdb/*.o /usr/libexec/elf/ar: cdb/*.o: No such file or directory *** Error code 1 Stop in /usr/local/src/vpopmail-5.3.20. *** Error code 1 Stop in /usr/local/src/vpopmail-5.3.20. Any ideas or suggestions as to how to resolve this? -Patrick Lahni - This mail sent through IMP: http://horde.org/imp/
Re: [vchkpw] make install error (v5.3.20)
Quoting [EMAIL PROTECTED] [EMAIL PROTECTED]: I'm trying to install vpopmail-5.3.20 on a freebsd4.8 machine. I'm receiving the following errors: [EMAIL PROTECTED]:/usr/local/src/vpopmail-5.3.20# make install Making install in cdb rm -f libvpopmail.a ar cru libvpopmail.a vpopmail.o md5.o bigdir.o vauth.o file_lock.o vpalias.o seek.o vlimits.o maildirquota.o cdb/*.o /usr/libexec/elf/ar: cdb/*.o: No such file or directory *** Error code 1 Stop in /usr/local/src/vpopmail-5.3.20. *** Error code 1 Stop in /usr/local/src/vpopmail-5.3.20. Any ideas or suggestions as to how to resolve this? -Patrick Lahni Just to follow up on this to provide more information, my cdb folder contents are as follows: [EMAIL PROTECTED]:/usr/local/src/vpopmail-5.3.20/cdb$ ls Makefilecdb_hash.c cdbmake_hash.c find-systype.sh uint32.h1 README cdb_seek.c cdbmake_pack.c loaduint32.h2 THANKS cdb_unpack.ccompile makelib warn-auto.sh VERSION cdbmake.h conf-cc trycpp.c cdb.h cdbmake_add.c conf-ld tryulong32.c Obviously, no *.o files like it was anticipating. I've tried deleting the vpopmail-5.3.20 directory entirely and unpacking from the tarball again -- same result. I'm using the following configure: ./configure --enable-mysql=y --enable-roaming-users=y --enable-defaultquota=1S,1C --enable-learn-passwords=y --enable-mysql-replication=y --enable-logging=p --enable-mysql-logging=y (pardon the line wrapping -- if it does -- this is all one line of course) -Patrick Lahni - This mail sent through IMP: http://horde.org/imp/
Re: [vchkpw] Qmail looking into wrong Maildir
Quoting John Morrow [EMAIL PROTECTED]: Here is the output of qmail-showctl: [...] locals: Messages for smtp.clanmorrow.com are delivered locally. me: My name is smtp.clanmorrow.com. [...] rcpthosts: SMTP clients may send messages to recipients at smtp.clanmorrow.com. [...] virtualdomains: Virtual domain: clanmorrow.com:clanmorrow.com [...] rcpthosts.lock: I have no idea what this file does. virtualdomains.lock: I have no idea what this file does. locals.lock: I have no idea what this file does. rcpthosts~: I have no idea what this file does. ^ what's up with the tilda? virtualdomains~: I have no idea what this file does. ^ here too? locals~: I have no idea what this file does. ^ and here? me~: I have no idea what this file does. ^ and here? I have tried everything that I can find. Qmail works but I can't get it to put the messages in the vpopmail directory, it insists on putting them in the users directories. I even deleted clanmorrow.com form the local file with no results. John Morrow Check you /var/qmail/users/assign file to make sure that the virtual domain's path is correct. Did you look at your logs at all to see if it says anything? Did you try restarting qmail (not sure if it necessary, but just in case)? How did you setup the virtual domain with vpopail (did you use vadddomainr?)? -Patrick - This mail sent through IMP: http://horde.org/imp/
RE: [vchkpw] maildrop and vpopmail/spamassassin
vpopmail vchkpw 92 May 30 18:01 .qmail-default In /usr/local/vpopmail/domains/realirc.org/cyko: ./Maildir: total 22 drwx-- 8 vpopmail vchkpw 512 May 30 17:46 . drwx-- 4 vpopmail vchkpw 512 Apr 18 21:59 .. drwx-- 5 vpopmail vchkpw 512 May 30 17:46 .SPAM (**manually created**) drwx-- 5 vpopmail vchkpw 512 May 1 22:37 .Trash drwx-- 5 vpopmail vchkpw 512 May 30 17:30 .sent-mail -rw-r--r-- 1 vpopmail vchkpw 241 May 30 16:57 courierimapuiddb drwx-- 2 vpopmail vchkpw 1024 May 30 16:57 cur -rw--- 1 vpopmail vchkpw 3054 May 30 16:56 maildirsize drwx-- 2 vpopmail vchkpw 512 May 30 16:56 new drwx-- 2 vpopmail vchkpw 512 May 30 17:33 tmp ./Maildir/.SPAM: total 10 drwx-- 5 vpopmail vchkpw 512 May 30 17:46 . drwx-- 8 vpopmail vchkpw 512 May 30 17:46 .. drwx-- 2 vpopmail vchkpw 512 May 30 17:46 cur drwx-- 2 vpopmail vchkpw 512 May 30 17:46 new drwx-- 2 vpopmail vchkpw 512 May 30 17:46 tmp Any ideas are appreciated. Sorry for the immense amount of information. I just wanted to make sure I covered everything so I can resolve this quickly. Thanks, -Patrick Lahni [EMAIL PROTECTED] - This mail sent through IMP: http://horde.org/imp/ - This mail sent through IMP: http://horde.org/imp/
[vchkpw] maildrop and vpopmail/spamassassin
I'm running vpopmail 5.3.8 with spamassassin 2.55 (mysql for prefs). I'm having problems with maildrop performing a mailfilter I found on the vpopmail mailling list. I am also using courier-imap in conjunction with qmail. [see http://bluedot.net/mail/archive/read.php?f=2i=10377t=10377] The .SPAM folder is not created, and I am left with the following error message: 2003-05-30 17:44:28.190244500 delivery 359: deferral: /usr/local/bin/maildrop:_Invalid_home_directory_permissions_-_world_writable./preline:_fatal:_unable_to_copy_input:_broken_pipe/ If I manually perform the maildirmake .SPAM, then chown -R vpopmail:vchkpw .SPAM, I get the same error. In my ~vpopmail/domains/realirc.org/.qmail-default I have: |preline /usr/local/bin/maildrop |/usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox I'm doing it like this so I can just test it on one domain right now, so I don't break the whole box, heh. I had to slightly modify the script to fit my proper paths. I renamed it to maildroprc and placed it in /usr/local/etc (on a FreeBSD 5.0 machine) so it reads it by default as stated by maildrop's man page. Below is my maildroprc file: import EXT import HOST import HOME VHOME=`/usr/local/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED] if ((/^X-Spam-Flag:.*YES/)) { `test -d $VHOME/Maildir/.SPAM` if( $RETURNCODE == 1 ) { `maildirmake $VHOME/Maildir/.SPAM; chown -R vpopmail:vchkpw $VHOME/Maildir/.SPAM` } to $VHOME/Maildir/.SPAM/ } The VPOP was omitted because of my previous statement of how vdelivermail is called. Below are the permissions for the files/dirs in question: -rwxr-xr-x 1 root mail 152696 May 29 00:44 /usr/local/bin/maildrop -rw-r--r-- 1 root wheel 388 May 30 17:42 /usr/local/etc/maildroprc In /usr/local/vpopmail/domains: drwx-- 9 vpopmail vchkpw 512 May 30 18:01 realirc.org In /usr/local/vpopmail/domains/realirc.org: -rw--- 1 vpopmail vchkpw 92 May 30 18:01 .qmail-default In /usr/local/vpopmail/domains/realirc.org/cyko: ./Maildir: total 22 drwx-- 8 vpopmail vchkpw 512 May 30 17:46 . drwx-- 4 vpopmail vchkpw 512 Apr 18 21:59 .. drwx-- 5 vpopmail vchkpw 512 May 30 17:46 .SPAM (**manually created**) drwx-- 5 vpopmail vchkpw 512 May 1 22:37 .Trash drwx-- 5 vpopmail vchkpw 512 May 30 17:30 .sent-mail -rw-r--r-- 1 vpopmail vchkpw 241 May 30 16:57 courierimapuiddb drwx-- 2 vpopmail vchkpw 1024 May 30 16:57 cur -rw--- 1 vpopmail vchkpw 3054 May 30 16:56 maildirsize drwx-- 2 vpopmail vchkpw 512 May 30 16:56 new drwx-- 2 vpopmail vchkpw 512 May 30 17:33 tmp ./Maildir/.SPAM: total 10 drwx-- 5 vpopmail vchkpw 512 May 30 17:46 . drwx-- 8 vpopmail vchkpw 512 May 30 17:46 .. drwx-- 2 vpopmail vchkpw 512 May 30 17:46 cur drwx-- 2 vpopmail vchkpw 512 May 30 17:46 new drwx-- 2 vpopmail vchkpw 512 May 30 17:46 tmp Any ideas are appreciated. Sorry for the immense amount of information. I just wanted to make sure I covered everything so I can resolve this quickly. Thanks, -Patrick Lahni [EMAIL PROTECTED] - This mail sent through IMP: http://horde.org/imp/