Difference between revisions of "Email delete double-bounce messages"

From SME Server
Jump to navigationJump to search
(New page: == Introduction == If you get a tons of MAILER-DAEMON@mydomain.xx emails, then you want apply this HowTo. Extracted from: http://forums.contribs.org/index.php?topic=34164.0 == Procedure == *To...)
 
m (Replaced Template:drawBox* (deprecated) with Template:* box)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
 
== Introduction ==
 
== Introduction ==
  
Line 35: Line 34:
 
or
 
or
 
  /etc/init.d/qmail restart
 
  /etc/init.d/qmail restart
 
  
 
== Qmail Handle ==
 
== Qmail Handle ==
Some post indicate to use qmHandle from Saco, but you are adviced there is a bug  
+
{{Warning box|Some posts indicate to use qmHandle from Saco, but you are advised there is a bug ([[bugzilla:2020|bug 2020]]).}}
  
install qmHandle
+
*Install qmHandle
http://www.saco-support.de/index.php?_m=downloads&_a=view&parentcategoryid=3&pcid=0&nav=0
+
Download and install [http://www.saco-support.de/index.php?_m=downloads&_a=view&parentcategoryid=3&pcid=0&nav=0 smeserver-saco-qmHandle]:
On my system, the following command will remove existing double-bounces from the queue:
+
cd /tmp
qmHandle -Sfailure\ notice
+
wget http://www.saco-support.de/index.php?_m=downloads&_a=view&parentcategoryid=3&pcid=0&nav=0
 +
yum localinstall /path/to/downloaded/rpm
  
And then I run this, to make sure qmHandle hasn't left qmail unstable:
+
*The following command will remove existing double-bounces from the queue:
/etc/init.d/qmail restart
+
qmHandle -Sfailure\ notice
  
 
+
*And then run this, to make sure qmHandle hasn't left qmail unstable:
http://bugs.contribs.org/show_bug.cgi?id=2020
+
/etc/init.d/qmail restart

Latest revision as of 12:22, 29 September 2007

Introduction

If you get a tons of MAILER-DAEMON@mydomain.xx emails, then you want apply this HowTo.

Extracted from: http://forums.contribs.org/index.php?topic=34164.0

Procedure

  • To stop getting double bounce messages-
config setprop qmail DoubleBounceTo devnull
signal-event email-update
  • If you really geeky Smile You can check the database if you like...
config show qmail
qmail=service
DoubleBounceTo=devnull
MaxMessageSize=15000000
status=enabled
  • Expand only the doublebounceto template....
expand-template /var/qmail/control/doublebounceto
  • Check /var/qmail/control/doublebounceto is set to devnull.....
cat /var/qmail/control/doublebounceto
devnull
  • And restart qmail 'manually'....
svc -t /service/qmail 

or

/etc/init.d/qmail restart

Qmail Handle

Warning.png Warning:
Some posts indicate to use qmHandle from Saco, but you are advised there is a bug (bug 2020).


  • Install qmHandle

Download and install smeserver-saco-qmHandle:

cd /tmp
wget http://www.saco-support.de/index.php?_m=downloads&_a=view&parentcategoryid=3&pcid=0&nav=0
yum localinstall /path/to/downloaded/rpm
  • The following command will remove existing double-bounces from the queue:
qmHandle -Sfailure\ notice
  • And then run this, to make sure qmHandle hasn't left qmail unstable:
/etc/init.d/qmail restart