| Contributions by |
Ray Mitchell and his Howto |
| Created/Updated | 18-02-2004 |
| Versions Supported | 5.6 & 6.0 |
When someone sends email from an non-existing account (usually Spam) to an non-existing account on your SME server you get double bounce messages to your postmaster account. You will receive emails with the text "Hi. This is the qmail-send program at "xxxxxxx". I tried to deliver a bounce message to this address, but the bounce bounced!"
By default such messages are sent to the postmaster account (admin) but can be automatically deleted if you do the following:
[root@e-smith]# mkdir -p /etc/e-smith/templates-custom/var/qmail/alias/
[root@e-smith]# touch /etc/e-smith/templates-custom/var/qmail/alias/.qmail-oblivion
[root@e-smith]# echo "#" > /etc/e-smith/templates-custom/var/qmail/alias/.qmail-oblivion
[root@e-smith]# mkdir -p /etc/e-smith/templates-custom/var/qmail/control/
[root@e-smith]# touch /etc/e-smith/templates-custom/var/qmail/control/doublebounceto
[root@e-smith]# echo "oblivion" > /etc/e-smith/templates-custom/var/qmail/control/doublebounceto
[root@e-smith]# /sbin/e-smith/expand-template /var/qmail/alias/.qmail-oblivion
[root@e-smith]# /sbin/e-smith/expand-template /var/qmail/control/doublebounceto
[root@e-smith]# service qmail restart