Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Neririn on February 03, 2004, 07:10:23 PM
-
Particularly with MyDoom, my inbox is being flooded with all kinds of variations on randomname@mydomain.com. Then SME tries to bounce it, and my admin account gets thousands of "the bounce bounced" emails. Is there no way to just drop/delete all emails addressed to non-existant email addresses?
There must be a way. Maybe an expanded template or something?
Thanks in advance for any help.
-
I have a similar problem as you, but maybe not as many as you seem to be getting. For me, I could solve this if I could get procmail to work with the admin account. Is there an easy way to setup procmail for the admin?
-
To ChrisB
Just forward the admin mail to a specified user account and then use procmail.
The setting is in server manager I think under Email.
Regs
Ray
-
To Nererin
A search on double bounce would have found the answer.
Try this
By default double bounced messages are sent to postmaster.
This little modification should take care of that.
/bin/echo "oblivion" > /var/qmail/control/doublebounceto
/bin/echo "#" > /var/qmail/alias/.qmail-oblivion
service qmail restart
or do a reboot
If you want to permanently keep the changes you need to do this:
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
(As I type this the commands are wrapping onto the next line, make sure the whole command is on one line)
Regs
Ray
-
Thanks to all. I guess I need to think through my searches a little better before I post. But again, thanks to all for the help.