-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tim Legant wrote:

|>I've been looking at my pending directory and found a number of
|>tmda-users posts in there that shouldn't have been.  I subscribed with
|>the address [EMAIL PROTECTED]  I've got a
|>.qmail-list-default file in the vmailmgr directory that is supposed to
|>hand list messages without using tmda (spamassassin only).
|
| Wouldn't ~vmail/.qmail-list-default handle addresses of the form
| vmail-list-XXX?  The message you include below was delivered to the
| vmail user.
|
|>Delivered-To: [EMAIL PROTECTED]
|
| If you want to catch this list address, you'd want to use
| ~vmail/.qmail-chris_berry-list-default.

This is starting to get off topic, so if you guys know a better place
for the discussion please point me in the right direction.

Ok, when I did this

.qmail-chris_berry-list-default
| /etc/kludge/mailquotacheck.sh $LOCAL
| preline spamc -f | /usr/bin/vdeliver

I got the following error message in my logs:

2004-01-29 11:32:30.229798500 delivery 1738: failure:
vdeliver:_Invalid_or_unknown_virtual_user_'chris_berry-list-tmda-users'/

When i tried this

.qmail-chris_berry-list-default
| /etc/kludge/mailquotacheck.sh $LOCAL
| preline spamc -f
/home/virtual/users/chris_berry/Maildir/

it dumped the whole email into the /var/log/qmail/current log file

If I knew what variable vdeliver was using I might be able to do
something like this:

#!/bin/bash
TEMP=$VARIABLE
VARIABLE=(echo $TEMP | sed -e s/-list-.*//)
export VARIABLE

Then change my file to this:

.qmail-chris_berry-list-default
| /etc/kludge/mailquotacheck.sh $LOCAL
| preline spamc -f | /etc/kludge/stripvariable.sh | /usr/bin/vdeliver

The vdeliver man page says this:

vdeliver expects to be run by qmail-local as it requires several of the
environment variables that it sets.  See the qmail-command(8) manual
page for full details on these variables.  In particular, it requires
DTLINE, EXT, HOST, RPLINE, SENDER, UFLINE, and USER.

But none of those look like what I'd need to change.

I'm not sure what to do, can I buy a vowel?

- --
Chris Berry
[EMAIL PROTECTED]
Systems Administrator
JM Associates & Coast Business Service

"Some days you fix the multi-million dollar machine, other days the $12
stapler kicks your ass."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAGXP7kAS13ByzgbsRAt+yAJ9Nh+g6dG/6tUBR/H9bXv03+dHvDACfSyiV
ogKjT0LyPxV7BnIXjjUdHXc=
=ctgb
-----END PGP SIGNATURE-----
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to