[vchkpw] vpopmail/qmail doublebounce issue

2004-09-06 Thread Tom Harrison
First time poster Have mercy on the neophyte!
Can anyone point me to the right documentation source for properly 
configuring vpopmail+qmail so that doublebounces don't hang in the queue?

My son had been managing this system, but got too busy, so I have to come 
up to speed just as Comcast decided that all the SPAM bouncing back out of 
our system was SPAM originating from our system, and quit allowing us to 
relay through their server.

Originally, to mollify the ISPs that refuse mail from floating IPs, we had 
smtproutes set thusly:

:SMTP.Comcast.Net
Fine, until they got tired of processing the SPAM bounces.
So, I peeled smtproutes back to:
AOL.Com:SMTP.Comcast.Net
...so that at least the AOL mail from us would get delivered.
Our server hosts several very small domains: TS5.Com, TS4.Com, and 
Christy9.Com. The system ME is mail.ts5.com.

I noticed after removing Comcast as the relay that the queue began filling 
with doublebounces, addressed to [EMAIL PROTECTED], and the log 
indicated tons of entries like this:

@400041372d553b41077c new msg 3794941
@400041372d553b410b64 info msg 3794941: bytes 11149 from [EMAIL PROTECTED] qp 
13481 uid 507
@400041372d5601445164 starting delivery 81338: msg 3794941 to remote 
[EMAIL PROTECTED]
@400041372d5601446cbc status: local 0/10 remote 2/20
@400041372d560fc141ac delivery 81338: deferral: 
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@400041372d560fc160ec status: local 0/10 remote 1/20
@400041372d580f829a9c starting delivery 81339: msg 3794751 to remote 
[EMAIL PROTECTED]
@400041372d580f82b5f4 status: local 0/10 remote 2/20
@400041372d581900bfcc delivery 81339: deferral: 
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@400041372d581900db24 status: local 0/10 remote 1/20
@

So, vpopmail knows that ts5.com is a local domain, but when the 
doublebounce is generated, it is treating [EMAIL PROTECTED] as a 
remote address. Am I reading that right?

(below: I have redacted the name of the relay server we are using, not 
because it is in any way an open relay -- it isn't, we run it, too -- but 
because the customer wants to remain private)

I temporarily worked around the problem by adding first the entry 
TS5.Com:SMTP.*.Net to smtproutes: no effect.
Then I added mail.TS5.Com:SMTP.*.Net, and the queue began to empty, 
but sent all the doublebounces to the default account [EMAIL PROTECTED] 
instead of to postmaster.

Obviously I don't understand all the flow here, but would sure appreciate 
it if someone could point me to (1) the right documentation to cover this, 
and (2) an appropriate patch to vpopmail+qmail to avoid such heavy SPAM 
issues, like a SMTP-time bounce that works with vpopmail, or other 
technique that works more effectively than receiving all the bad mail, then 
generating bounce messages for them.

'Cause I know sending doublebounces out to another qmail server, and back 
again, ain't the way it should be done!

Tom Harrison
* qmail-showctl *
[EMAIL PROTECTED] bin]# ./qmail-showctl -?
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 501, 502, 503, 0, 504, 505, 506, 507.
group ids: 501, 502.
badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is mail.ts5.com.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: (Default.) Remote concurrency is 20.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: Default domain name is mail.ts5.com.
defaulthost: (Default.) Default host name is mail.ts5.com.
doublebouncehost: (Default.) 2B recipient host: mail.ts5.com.
doublebounceto: (Default.) 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is mail.ts5.com.
helohost: (Default.) SMTP client HELO host name is mail.ts5.com.
idhost: (Default.) Message-ID host name is mail.ts5.com.
localiphost: (Default.) Local IP address becomes mail.ts5.com.
locals:
me: My name is mail.ts5.com.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: Plus domain name is mail.ts5.com.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: Message lifetime in the queue is 86400 seconds.
rcpthosts:
SMTP clients may send messages to recipients at ts5.com.
SMTP clients may send messages to recipients at ts4.com.
SMTP clients may send messages to recipients at christy9.com.
morercpthosts: (Default.) No effect.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: (Default.) SMTP greeting: 220 mail.ts5.com.
smtproutes:
SMTP route: aol.com:SMTP.*.Net
SMTP route: ts5.com:SMTP.*.Net
SMTP route: mail.ts5.com:SMTP.*.Net
timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds

Re: [vchkpw] vpopmail/qmail doublebounce issue

2004-09-07 Thread Tom Harrison
At 9/7/2004 08:10 AM, you wrote:
On Monday 06 September 2004 05:48 pm, Tom Harrison wrote:
 First time poster Have mercy on the neophyte!
welcome.
Thanks, Jeremy, for responding.

 I noticed after removing Comcast as the relay that the queue began filling
 with doublebounces, addressed to [EMAIL PROTECTED], and the log
 indicated tons of entries like this:

 [...]  to remote [EMAIL PROTECTED]
 [...] vpopmail knows that ts5.com is a local domain [...]
put mail.ts5.com into locals, or alias it to your ts5.com virtualdomain.
OK. I put mail.ts5.com into locals. Should all the local domains be 
there? I note that the vpopmail instructions say that vadddomain will 
modify locals, but on our system locals remained empty. New result of 
qmail-showctl is below.

Anyway, now I am getting different error messages:
@4000413decc0139cd9e4 new msg 3794106
@4000413decc0139ced6c info msg 3794106: bytes 3103 from [EMAIL PROTECTED] qp 16401 
uid507
@4000413decc0152edbf4 starting delivery 24: msg 3794106 to local 
[EMAIL PROTECTED]
@4000413decc015300ca4 status: local 1/10 remote 1/20
@4000413decc015d08a94 delivery 24: failure: 
user_does_not_exist,_but_will_deliver_to_/home/vpopmail/domains/ts5.com/postmaster/Maildir//can_not_open_new_email_file_errno=13_file=/home/vpopmail/domains/ts5.com/postmaster/Maildir/tmp/1094577334.16404.mail.ts5.com,S=3103/system_error/
@4000413decc015d0b1a4 status: local 0/10 remote 1/20
@4000413decc015d0b974 triple bounce: discarding bounce/3794106
@4000413decc015d0bd5c end msg 3794106

...so something must still be amiss. Permissions, perhaps? I did try adding 
mail.ts5.com to virtualdomains before posting the question to this forum, 
and it seemed to have no effect. As you can see from the first recitation 
of qmail-showctl, and this current one, the entry for mail.ts5.com is still 
there.

Could you perchance explain the flow of process control in the generation 
of a doublebounce message?

* qmail-showctl result *
[EMAIL PROTECTED] bin]# ./qmail-showctl
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 501, 502, 503, 0, 504, 505, 506, 507.
group ids: 501, 502.
badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is mail.ts5.com.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: (Default.) Remote concurrency is 20.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: Default domain name is mail.ts5.com.
defaulthost: (Default.) Default host name is mail.ts5.com.
doublebouncehost: (Default.) 2B recipient host: mail.ts5.com.
doublebounceto: (Default.) 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is mail.ts5.com.
helohost: (Default.) SMTP client HELO host name is mail.ts5.com.
idhost: (Default.) Message-ID host name is mail.ts5.com.
localiphost: (Default.) Local IP address becomes mail.ts5.com.
locals:
Messages for mail.ts5.com are delivered locally.
me: My name is mail.ts5.com.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: Plus domain name is mail.ts5.com.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: Message lifetime in the queue is 86400 seconds.
rcpthosts:
SMTP clients may send messages to recipients at ts5.com.
SMTP clients may send messages to recipients at ts4.com.
SMTP clients may send messages to recipients at christy9.com.
morercpthosts: (Default.) No effect.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: (Default.) SMTP greeting: 220 mail.ts5.com.
smtproutes:
SMTP route: aol.com:SMTP.HealtheTouch.Net
timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
virtualdomains:
Virtual domain: ts5.com:ts5.com
Virtual domain: ts4.com:ts4.com
Virtual domain: christy9.com:christy9.com
Virtual domain: mail.ts5.com:ts5.com
defaultdelivery: I have no idea what this file does.
concurrencyincoming: I have no idea what this file does.
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.

-Jeremy
--
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



Re: [vchkpw] vpopmail/qmail doublebounce issue

2004-09-07 Thread Tom Harrison
At 9/7/2004 10:40 AM, you wrote:
On Tuesday 07 September 2004 12:37 pm, Tom Harrison wrote:
   I noticed after removing Comcast as the relay that the queue began
   filling with doublebounces, addressed to [EMAIL PROTECTED], and
   the log indicated tons of entries like this:
  
   [...]  to remote [EMAIL PROTECTED]
  
   [...] vpopmail knows that ts5.com is a local domain [...]
 
 put mail.ts5.com into locals, or alias it to your ts5.com virtualdomain.

 OK. I put mail.ts5.com into locals. Should all the local domains be
 there? I note that the vpopmail instructions say that vadddomain will
 modify locals, but on our system locals remained empty. New result of
 qmail-showctl is below.
man qmail-send.  understand the roles of the locals and virtualdomains files.
I had read it, and now have read it again. Your first advice (above) told 
me to violate those instructions, which I did. I have undone that change 
and added what I think should be the correct definitions for doublebounce 
(see qmail-showctl result below)

In short, if the domain is handled by vpopmail, you don't want it in locals.
OK, agreed. Just curious, why did you suggest it the first time? Please 
forgive me if I somehow unconsciously misled you in my first posting, 
though I thought I disclosed everything needed

So, the problem persists, though it has changed slightly, which I think 
means that the virtualdomains entry mail.ts5.com:ts5.com is at least 
directing the mail to the local processing. Error messages now are of the form:

@4000413e45e20f52c484 new msg 3794192
@4000413e45e20f52dbf4 info msg 3794192: bytes 3104 from [EMAIL PROTECTED] qp 24395 
uid507
@4000413e45e210eeb58c starting delivery 1277: msg 3794192 to local 
[EMAIL PROTECTED]
@4000413e45e210eed0e4 status: local 1/10 remote 3/20
@4000413e45e2116de80c delivery 1277: success: 
user_does_not_exist,_but_will_deliver_to_/home/vpopmail/domains/ts5.com/other/Maildir//did_0+0+1/
@4000413e45e2116e074c status: local 0/10 remote 3/20
@4000413e45e2116e0b34 end msg 3794192

postmaster does indeed exist as a user folder in the domain ts5.com, of 
course.

What am I missing?
Tom Harrison
* qmail-showctl results *
[EMAIL PROTECTED] bin]# ./qmail-showctl
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 501, 502, 503, 0, 504, 505, 506, 507.
group ids: 501, 502.
badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is mail.ts5.com.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: (Default.) Remote concurrency is 20.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: Default domain name is mail.ts5.com.
defaulthost: (Default.) Default host name is mail.ts5.com.
doublebouncehost: (Default.) 2B recipient host: mail.ts5.com.
doublebounceto: 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is mail.ts5.com.
helohost: (Default.) SMTP client HELO host name is mail.ts5.com.
idhost: (Default.) Message-ID host name is mail.ts5.com.
localiphost: (Default.) Local IP address becomes mail.ts5.com.
locals:
me: My name is mail.ts5.com.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: Plus domain name is mail.ts5.com.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: Message lifetime in the queue is 86400 seconds.
rcpthosts:
SMTP clients may send messages to recipients at ts5.com.
SMTP clients may send messages to recipients at ts4.com.
SMTP clients may send messages to recipients at christy9.com.
morercpthosts: (Default.) No effect.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: (Default.) SMTP greeting: 220 mail.ts5.com.
smtproutes:
SMTP route: aol.com:SMTP.*.Net
timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
virtualdomains:
Virtual domain: ts5.com:ts5.com
Virtual domain: ts4.com:ts4.com
Virtual domain: christy9.com:christy9.com
Virtual domain: mail.ts5.com:ts5.com
defaultdelivery: I have no idea what this file does.
concurrencyincoming: I have no idea what this file does.
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.

-Jeremy
--
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



Re: [vchkpw] vpopmail/qmail doublebounce issue

2004-09-07 Thread Tom Harrison
At 9/7/2004 05:25 PM, you wrote:
Tom Harrison wrote:
At 9/7/2004 10:40 AM, you wrote:
On Tuesday 07 September 2004 12:37 pm, Tom Harrison wrote:
   I noticed after removing Comcast as the relay that the queue began
   filling with doublebounces, addressed to 
[EMAIL PROTECTED], and
   the log indicated tons of entries like this:
  
   [...]  to remote [EMAIL PROTECTED]
  
   [...] vpopmail knows that ts5.com is a local domain [...]
 
 put mail.ts5.com into locals, or alias it to your ts5.com virtualdomain.

 OK. I put mail.ts5.com into locals. Should all the local domains be
 there? I note that the vpopmail instructions say that vadddomain will
 modify locals, but on our system locals remained empty. New result of
 qmail-showctl is below.

man qmail-send.  understand the roles of the locals and virtualdomains 
files.

I had read it, and now have read it again. Your first advice (above) told 
me to violate those instructions, which I did. I have undone that change 
and added what I think should be the correct definitions for doublebounce 
(see qmail-showctl result below)

In short, if the domain is handled by vpopmail, you don't want it in locals.

OK, agreed. Just curious, why did you suggest it the first time? Please 
forgive me if I somehow unconsciously misled you in my first posting, 
though I thought I disclosed everything needed

So, the problem persists, though it has changed slightly, which I think 
means that the virtualdomains entry mail.ts5.com:ts5.com is at least 
directing the mail to the local processing. Error messages now are of the form:

@4000413e45e20f52c484 new msg 3794192
@4000413e45e20f52dbf4 info msg 3794192: bytes 3104 from [EMAIL PROTECTED] qp 
24395 uid507
@4000413e45e210eeb58c starting delivery 1277: msg 3794192 to local 
[EMAIL PROTECTED]
@4000413e45e210eed0e4 status: local 1/10 remote 3/20
@4000413e45e2116de80c delivery 1277: success: 
user_does_not_exist,_but_will_deliver_to_/home/vpopmail/domains/ts5.com/other/Maildir//did_0+0+1/ 

@4000413e45e2116e074c status: local 0/10 remote 3/20
@4000413e45e2116e0b34 end msg 3794192
postmaster does indeed exist as a user folder in the domain ts5.com, of 
course.

What am I missing?
Tom Harrison
* qmail-showctl results *
[EMAIL PROTECTED] bin]# ./qmail-showctl
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 501, 502, 503, 0, 504, 505, 506, 507.
group ids: 501, 502.
badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is mail.ts5.com.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: (Default.) Remote concurrency is 20.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: Default domain name is mail.ts5.com.
defaulthost: (Default.) Default host name is mail.ts5.com.
doublebouncehost: (Default.) 2B recipient host: mail.ts5.com.
doublebounceto: 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is mail.ts5.com.
helohost: (Default.) SMTP client HELO host name is mail.ts5.com.
idhost: (Default.) Message-ID host name is mail.ts5.com.
localiphost: (Default.) Local IP address becomes mail.ts5.com.
locals:
me: My name is mail.ts5.com.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: Plus domain name is mail.ts5.com.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: Message lifetime in the queue is 86400 seconds.
rcpthosts:
SMTP clients may send messages to recipients at ts5.com.
SMTP clients may send messages to recipients at ts4.com.
SMTP clients may send messages to recipients at christy9.com.
morercpthosts: (Default.) No effect.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: (Default.) SMTP greeting: 220 mail.ts5.com.
smtproutes:
SMTP route: aol.com:SMTP.*.Net
timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
virtualdomains:
Virtual domain: ts5.com:ts5.com
Virtual domain: ts4.com:ts4.com
Virtual domain: christy9.com:christy9.com
Virtual domain: mail.ts5.com:ts5.com
defaultdelivery: I have no idea what this file does.
concurrencyincoming: I have no idea what this file does.
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.

-Jeremy
--
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, 
Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail

Based on Virtual domain: mail.ts5.com:ts5.com  it would appear that you 
created an alias for [EMAIL PROTECTED] to go to t5.com?  Curious that 
mail.t5.com does not show up in your RCPTHOSTS file

Re: [vchkpw] vpopmail/qmail doublebounce issue

2004-09-08 Thread Tom Harrison
At 9/8/2004 08:38 AM, you wrote:
on tuesday 07 september 2004 07:11 pm, tom harrison wrote:
 in short, if the domain is handled by vpopmail, you don't want it in
  locals.

 ok, agreed. just curious, why did you suggest it the first time? please
 forgive me if i somehow unconsciously misled you in my first posting,
 though i thought i disclosed everything needed
i suggested you put mail.ts5.com (which is not ts5.com) into locals, or to 
set
it as an alias to ts5.com.
That's what I did. If you recall from my earlier post, the following part 
of qmail-showctl's output:

*
locals:
Messages for mail.ts5.com are delivered locally.
*
That resulted in error messages of the form:
*
@4000413decc0152edbf4 starting delivery 24: msg 3794106 to local 
[EMAIL PROTECTED]
@4000413decc015300ca4 status: local 1/10 remote 1/20
@4000413decc015d08a94 delivery 24: failure: 
user_does_not_exist,_but_will_deliver_to_/home/vpopmail/domains/ts5.com/postmaster/Maildir//can_not_open_new_email_file_errno=13_file=/home/vpopmail/domains/ts5.com/postmaster/Maildir/tmp/1094577334.16404.mail.ts5.com,S=3103/system_error/
@4000413decc015d0b1a4 status: local 0/10 remote 1/20
@4000413decc015d0b974 triple bounce: discarding bounce/3794106
*

So, I removed the entry in locals, and depended instead on the entry in 
virtualdomains, and now I get messages of the form:

*
@4000413f3cc3253fed44 new msg 3794133
@4000413f3cc3254000cc info msg 3794133: bytes 9559 from [EMAIL PROTECTED] qp 13638 
uid507
@4000413f3cc326d99074 starting delivery 9721: msg 3794133 to local 
[EMAIL PROTECTED]
@4000413f3cc326d9abcc status: local 1/10 remote 5/20
@4000413f3cc3275aa36c delivery 9721: success: 
user_does_not_exist,_but_will_deliver_to_/home/vpopmail/domains/ts5.com/other/Maildir//did_0+0+1/
@4000413f3cc3275ac694 status: local 0/10 remote 5/20
@4000413f3cc3275aca7c end msg 3794133
*


  you could optionally create another completely
separate virtualdomain for the domain.. i was just mentioning what i would
do.  putting mail.ts5.com into locals would not affect the functionality of
the ts5.com virtualdomain.
Correct. It did not affect the delivery of mail addressed to [EMAIL PROTECTED]
...snip...

try sending mail to [EMAIL PROTECTED]  i bet it will give you the same
message.
-jeremy
OK, I did that. Mail sent from one user in the TS4.Com domain also hosted 
on the same server yields a correct delivery to the mailbox for 
[EMAIL PROTECTED]:

*
X-Persona: TS5 Postmaster
Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 10291 invoked from network); 8 Sep 2004 16:29:24 -
Received: from unknown (HELO tomivxp.TS4.Com) (192.168.1.51)
  by 0 with SMTP; 8 Sep 2004 16:29:24 -
Message-Id: [EMAIL PROTECTED]
X-Sender: [EMAIL PROTECTED]@mail.ts4.com
X-Mailer: QUALCOMM Windows Eudora Version 5.2.1
Date: Wed, 08 Sep 2004 09:28:05 -0700
To: [EMAIL PROTECTED]
From: Tom Harrison [EMAIL PROTECTED]
Subject: test virtual domain
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
*
And mail sent from outside the system to [EMAIL PROTECTED] also results 
in a correct delivery to the mailbox for [EMAIL PROTECTED]:

*
X-Persona: TS5 Postmaster
Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 11767 invoked from network); 8 Sep 2004 16:38:10 -
Received: from webmail-outgoing.us4.outblaze.com (205.158.62.67)
  by 0 with SMTP; 8 Sep 2004 16:38:10 -
Received: from wfilter.us4.outblaze.com (wfilter.us4.outblaze.com 
[205.158.62.180])
by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id 
AA4251801935
for [EMAIL PROTECTED]; Wed,  8 Sep 2004 16:37:04 + (GMT)
X-OB-Received: from unknown (208.36.123.31)
  by wfilter.us4.outblaze.com; 8 Sep 2004 16:33:17 -
Received: by ws7-2.us4.outblaze.com (Postfix, from userid 1001)
id 40F63E5BCA; Wed,  8 Sep 2004 16:33:11 + (GMT)
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
X-Mailer: MIME-tools 5.41 (Entity 5.404)
Received: from [24.20.77.41] by ws7-2.us4.outblaze.com with http for
[EMAIL PROTECTED]; Wed, 08 Sep 2004 11:33:11 -0500
From: Tom Harrison [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Wed, 08 Sep 2004 11:33:11 -0500
Subject: test from the outside
X-Originating-Ip: 24.20.77.41
X-Originating-Server: ws7-2.us4.outblaze.com
Message-Id: [EMAIL PROTECTED]
*

So, delivery of normal mail still works just fine. It is only the internal 
mail generated as a double-bounce that fails. I stand confused, still. 
Thanks in advance for helping me see the light on this.

By the way, I still have the open question regarding a recommendation for a 
construct similar to the realrcptto patch, to operate with vpopmail and 
bounce all this crud BEFORE it crawls into the sytem.

Tom Harrison
--
jeremy kitchen ++ systems administrator ++ inter7 internet technologies

Re: [vchkpw] vpopmail/qmail doublebounce issue

2004-09-09 Thread Tom Harrison
At 9/8/2004 11:14 AM, you wrote:
on sep 8, 2004, at 10:24 am, tom harrison wrote:
*
locals:
messages for mail.ts5.com are delivered locally.
*
that resulted in error messages of the form:
*
@4000413decc0152edbf4 starting delivery 24: msg 3794106 to local
[EMAIL PROTECTED]
@4000413decc015300ca4 status: local 1/10 remote 1/20
@4000413decc015d08a94 delivery 24: failure:
user_does_not_exist,_but_will_deliver_to_/home/vpopmail/domains/ 
ts5.com/postmaster/maildir// 
can_not_open_new_email_file_errno=13_file=/home/vpopmail/domains/ 
ts5.com/postmaster/maildir/tmp/1094577334.16404.mail.ts5.com,s=3103/ 
system_error/
@4000413decc015d0b1a4 status: local 0/10 remote 1/20
@4000413decc015d0b974 triple bounce: discarding bounce/3794106
*
what does /var/qmail/alias/.qmail-postmaster (or .qmail-default) look
like?  if mail.ts5.com is in locals, then qmail looks at the files in
/var/qmail/alias if there isn't a system account with the name
'postmaster'.
you could avoid a lot of this mess by putting ts5.com in
/var/qmail/control/doublebouncehost.  or, do what i do and set
doublebounceto to 'doublebounce' and set
/var/qmail/alias/.qmail-doublebounce to '#'.  in other words, ignore
double bounces.  imho, they are 99.999% spam-related and not worth
reading.
Well, duh: now that you say it, it makes perfect sense. Thank you so much 
for putting an end to my confusion. I was under the misimpression that it 
was because qmail was internally doing something odd. Your solution neatly 
drug me out of the mythological deception I was laboring under. Thanks 
again, Tom

Tom Harrison
...snip...
--
tom collins  -  [EMAIL PROTECTED]
qmailadmin: http://qmailadmin.sf.net/  vpopmail: http://vpopmail.sf.net/
info on the sniffter hand-held network tester: http://sniffter.com/