John Simpson ([EMAIL PROTECTED]) wrote:
> 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

Thanks, I thought I was going nuts, but thats how I understood it would
process them too.

[snip]

> 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.

Thanks for your assistance with this, i'll list those details below.

jedi padawan.org # cat /var/qmail/users/assign
+andycoates.com-:andycoates.com:89:89:/var/vpopmail/domains/andycoates.com:-::
+padawan.org-:padawan.org:89:89:/var/vpopmail/domains/padawan.org:-::
.

jedi padawan.org # ls -l /var/qmail/users/assign
-rw-r--r-- 1 root root 151 Oct  3 09:39 /var/qmail/users/assign

The domain is padawan.org:
jedi padawan.org # pwd
/var/vpopmail/domains/padawan.org

"bob" is "kindred" in my actual setup, as show below:

-rw------- 1 vpopmail vpopmail   34 Oct  2 13:08 .dir-control
-rw-r--r-- 1 vpopmail vpopmail   20 Jun 28  2006 .qmail-andy
-rw------- 1 vpopmail vpopmail   43 Nov 13  2006 .qmail-default
-rw------- 1 vpopmail vpopmail   43 Sep 27 15:49 .qmail-kindred-clamav
-rw------- 1 vpopmail vpopmail   21 Sep 24 10:15 .qmail-kindred-default
--wx--S--- 1 vpopmail vpopmail    0 Oct  2 13:07 .vpasswd.lock
drwx------ 3 vpopmail vpopmail   96 Oct  2 13:09 kindred
drwx------ 3 vpopmail vpopmail   72 Feb 10  2006 postmaster
-rw------- 1 vpopmail vpopmail  105 Oct  2 13:08 vpasswd
-rw------- 1 vpopmail vpopmail 2175 Oct  2 13:08 vpasswd.cdb

.dir-control and the vpasswd* files appeared after I turned mysql
(thinking it was to do with vlias).

jedi padawan.org # cat .qmail-kindred-clamav
| /var/vpopmail/bin/vdelivermail '' delete

jedi padawan.org # cat .qmail-kindred-default
&[EMAIL PROTECTED]

jedi padawan.org # cat .qmail-default
| /var/vpopmail/bin/vdelivermail '' delete


This is the result of:
jedi padawan.org # echo testing | mail [EMAIL PROTECTED]

qmail-send log:

2007-10-03 09:45:52.617451500 new msg 13863
2007-10-03 09:45:52.617783500 info msg 13863: bytes 224 from
<[EMAIL PROTECTED]> qp 11452 uid 0
2007-10-03 09:45:52.719201500 starting delivery 542: msg 13863 to local
[EMAIL PROTECTED]
2007-10-03 09:45:52.719231500 status: local 1/10 remote 0/20
2007-10-03 09:45:52.808711500 delivery 542: success: did_0+0+1/
2007-10-03 09:45:52.809486500 status: local 0/10 remote 0/20
2007-10-03 09:45:52.809681500 end msg 13863

Headers from that email:

Return-Path: <[EMAIL PROTECTED]>
Delivered-To: kindred padawan.org
Received: (qmail 11452 invoked by uid 0); 3 Oct 2007 08:45:52 -0000
Date: 3 Oct 2007 08:45:52 -0000
Message-ID: <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

The only thing I deleted above was the @ on the Delivered-To line, as
thats the address i'm trying not to get spammed and don't want any web
crawlers picking it up.

Thanks again for any help, much appreciated.

Andy.

Reply via email to