On 2007-10-02, at 1928, Christopher Chan wrote:


Am I missing something obvious? I always thought -default was checked
last and I can't see why its not using the exact match on
.qmail-bob-clamav

There was some discussion of enabling such support in vpopmail.

i'm not sure, but i suspect the "discussion" you're thinking of had to do with ".qmail" files within the MAILBOX (i.e. siblings of the "Maildir" folder) rather than in the domain's directory (i.e. one level "up" from the mailbox.) those would have to be processed by vdelivermail, while the .qmail files in the domain directory itself are processed by qmail-local, before vdelivermail is ever executed.

If you look in your assign file, you will find that your address will become domain-bob and qmail-local will be told to look for dot files in /home/vpopmail/domains/domain. You are missing the effect of the virtual domains in qmail and vpopmail's assign entries.

for messages sent to "bob-clamav@", qmail-local looks for the following files in the domain's directory:

        .qmail-bob-clamav
        .qmail-bob-default
        .qmail-default
        .qmail

as for the original question, i'd have to look at things by hand to tell for sure, but it sounds like qmail is "skipping" the .qmail-bob- clamav file for some reason. and knowing qmail like i do, i suspect there's nothing wrong with qmail-local except maybe some error or warning condition that it's silently ignoring, where we might wish it would complain about, so we know what's happening and can fix it. maybe the filename is wrong, the .qmail-bob-clamav file isn't readable to the vpopmail user, or something... i would need to see the UN-EDITED contents, ownerships, and permissions of the users/ assign, .qmail-bob-clamav, .qmail-bob-default, and .qmail-default files, along with the actual headers (again not edited, hiding domain names doesn't serve any purpose) of a message which was incorrectly delivered.

----------------------------------------------------------------
| John M. Simpson    ---   KG4ZOW   ---    Programmer At Large |
| http://www.jms1.net/                         <[EMAIL PROTECTED]> |
----------------------------------------------------------------
| http://video.google.com/videoplay?docid=-1656880303867390173 |
----------------------------------------------------------------


Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to