Koozali.org: home of the SME Server

Delete double bounce messages not working correctly

Offline ddougan

  • *
  • 155
  • +0/-0
    • http://www.DouganConsulting.com
Delete double bounce messages not working correctly
« on: June 22, 2005, 08:15:06 AM »
I've set up my server to delete double bounce messages per Ray Mitchell's how-to.

I'm still seeing the failure notices, however, though it seems (as far as I can see at present) only for one of my virtual domains, per the header snippet below:

Hi. This is the qmail-send program at douganconsulting.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<john@jeeves.douganconsulting.com>:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is a copy of the message.

Return-Path: <info@virtualdomain.com>
Received: (qmail 17514 invoked by alias); 22 Jun 2005 06:04:39 -0000
Delivered-To: alias-localdelivery-john@virtualdomain.com
Received: (qmail 17511 invoked from network); 22 Jun 2005 06:04:39 -0000
X-Virus-Scanned: by amavis-ng-0.1.6.4-03dc on mail.douganconsulting.com
Received: from centru.lnk.telstra.net (HELO virtualdomain.com) (165.228.232.54)
  by jeeves.douganconsulting.com (24.86.0.246) with ESMTP; 22 Jun 2005 06:04:16 -0000
From: info@virtualdomain.com
To: john@virtualdomain.com
Subject: [SPAM 6.4 of 4.0] Warning Message: Your services near to be closed.


Does the double bounce deletion process work only for the primary domain, or have I missed a step along the way?

Thanks,

Des
Des Dougan

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Delete double bounce messages not working correctly
« Reply #1 on: June 22, 2005, 11:58:07 AM »
ddougan

I believe this is how doublebounces & deletion work, does this help you.

Message is sent to any domain on your server which accepts it, qmail decides it cannot be delivered as it is a non existant user address and gives up trying after 7 days in the queue. The message is returned to sender as undeliverable. The sender happens to be a fake address and qmail cannot deliver it so the "message undeliverable" message is sent to your admin account. It's at that stage that the message is deleted rather than being delivered to you, it's garbage anyway.

Incidently, the dungog-mailblocking rpm will reject all email sent to invalid addresses, thus reducing greatly this type of traffic.
...

Offline ddougan

  • *
  • 155
  • +0/-0
    • http://www.DouganConsulting.com
Delete double bounce messages not working correctly
« Reply #2 on: June 23, 2005, 05:16:24 AM »
Ray,

Thanks for your reply. I understand how the process works - I was querying the fact that it doesn't seem to be working for virtual domains, only the primary one. I'll check the dungog.net contrib.

Des
Des Dougan

Offline raem

  • *
  • 3,972
  • +4/-0
Delete double bounce messages not working correctly
« Reply #3 on: June 23, 2005, 07:23:13 AM »
ddougan

> ...I was querying the fact that it doesn't seem to > be working for virtual domains, only the primary one.

I don't see that as such from what you have  shown or said. What makes you think that.

Quoting my comment
"Message is sent to ANY domain on your server which accepts it, qmail decides it cannot be delivered....."

If your server is not accepting messages for other virtual domains then that's another problem.

(Just edited this, I was thinking of the doublebounce rpm as I was typing)
The dungog (doublebounce) contrib is the same, it just saves having to manually enter the doublebounce config steps that are in the HOWTO. That's what Stephen told me and you can see that that is what is in the rpm.

The dungog-mailblocking rpm is a very useful add on which allows further control of all domain email.
...

Offline ddougan

  • *
  • 155
  • +0/-0
    • http://www.DouganConsulting.com
Delete double bounce messages not working correctly
« Reply #4 on: June 24, 2005, 07:37:31 AM »
Ray,

What makes me think that is that when I applied the template fragment, I stopped getting the double bounces on my primary domain as anticipated, but continued to receive them of the virtual account, per the mail message fragment I pasted.

I've applied Steven Noble's mailblocking RPM and it's stopping the spam hitting the virtual domain.

Des
Des Dougan