Koozali.org: home of the SME Server

Processing Unwanted Emails

stevo

Re: Processing Unwanted Emails
« Reply #15 on: November 04, 2003, 03:48:24 AM »
It didn't do anything for me at first either. But since a reboot, (restarting qmail would probably do the same thing) I haven't had a single doublebounce message to admin.

Ray Mitchell

Re: Processing Unwanted Emails
« Reply #16 on: November 04, 2003, 10:58:50 AM »
>........But since a reboot, (restarting qmail would probably do the same thing)

I did
service qmail restart
and then sent a few test messages

I do not receive any doublebounce messages now.

Thanks Stevo
Regs
Ray

Brent

Re: Processing Unwanted Emails
« Reply #17 on: December 03, 2003, 06:03:20 AM »
I had a similar problem.  Some infected spam was coming to our machine, to an account which does not exist (ie john@mycompany.com.)  To make matters worse, the address was spoofed as if it was coming from that same account (ie john@mycompany.com.)

When the antivirus found the mail, it sent a warning to the sender, to the recipient and to the admin!!  Two of the three warnings were redirected to admin as unknown accounts are, and the third was already destined for the admin account.  I was receiving 3 identical emails every 2 minutes!!

(I happened to be at home at the time, so luckily our VPN and PuTTY allowed me access to make changes.  This was a godsend since if I'd left it till morning, I'd have had thousands of bounced bounces in my inbox.)

This is what I did:

1.  Under the RAV configuration page, for warning messags, I set all three options (warn_admin, warn_receivers, warn_sender) to "never."  This prevented the message from bouncing around internally as it was the warnings that were double-bouncing.

2.  Under the RAV RBL/WBL lists page, I created a WBL entry for john@mycompany.com as a wbl_discard.  This will prevent any further emails sent from the spoofed john@mycompany.com from getting into our system, thus preventing significant bouncing.

3.  I rebooted the server.

Messages stopped immediately.  It was interesting to note that the messages continued despite restarting qmail - only the reboot was adequate to stop the bouncing.

Hope maybe this helps anybody else!

Offline raem

  • *
  • 3,972
  • +4/-0
Processing Unwanted Emails
« Reply #18 on: February 05, 2004, 03:59:13 PM »
For the benefit of other readers the double bounce message deletion issue was resolved this way.

mkdir -p /etc/e-smith/templates-custom/var/qmail/alias/

touch /etc/e-smith/templates-custom/var/qmail/alias/.qmail-oblivion

/bin/echo "#" > /etc/e-smith/templates-custom/var/qmail/alias/.qmail-oblivion


mkdir -p /etc/e-smith/templates-custom/var/qmail/control/

touch /etc/e-smith/templates-custom/var/qmail/control/doublebounceto

/bin/echo "oblivion" > /etc/e-smith/templates-custom/var/qmail/control/doublebounceto


/sbin/e-smith/expand-template /var/qmail/alias/.qmail-oblivion

/sbin/e-smith/expand-template /var/qmail/control/doublebounceto

service qmail restart
...

Offline robwellesley

  • *
  • 92
  • +0/-0
Processing Unwanted Emails
« Reply #19 on: March 17, 2004, 10:07:10 PM »
sme6 has a devnull=alias entry in the accounts database. and a "pre-set" .qmail-devnull in /var/qmail/alias containing our friendly # character :)

So all that is need is...
# mkdir -p /etc/e-smith/templates-custom/var/qmail/control
# echo devnull > /etc/e-smith/templates-custom/var/qmail/control/doublebounceto
# /sbin/e-smith/signal-event email-update

Lada

Top 20 Wealthiest Soccer clubs
« Reply #20 on: June 19, 2004, 01:37:54 AM »
Saw that this morning. I've said it before....for all you want to talk about United and their international profile http://download-audio.b0x.com, they really seem to do business the right way. I'm interested to see just how much Kenyon had to do with these results, so next year will be interesting.