On Oct 3, 2007, at 1:53 AM, Andy wrote:
jedi padawan.org # cat .qmail-kindred-clamav
| /var/vpopmail/bin/vdelivermail '' delete

There's your mistake.

What's happening is qmail-local hands the message off to vdelivermail (because you told it to), which looks for an account kindred-clamav (which it does not find), then an account named kindred (which it does) and then delivers to kindred.

domain.com/.qmail-alias files are only read/processed by qmail- local. vdelivermail only looks at accounts (in whatever backend you're using) and possibly valias entries in a database.

Rick, can you put this somewhere in the documentation:

VDELIVERMAIL SHOULD ONLY APPEAR IN YOUR .qmail-default FILE. IF YOU PUT IT ELSEWHERE, IT WILL NOT DO WHAT YOU EXPECT IT TO DO.

Solution:

echo "#" > .qmail-kindred-clamav

Or to bounce the email:

echo "|/var/qmail/bin/bouncesaying 'Invalid account'" > .qmail- kindred-clamav

--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/


Reply via email to