|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
queue instead of bounce
From: Aleksander (aleksander
krediidiinfo.ee)
Date: Mon Mar 13 2006 - 01:26:15 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
Sometimes the local delivery fails be cause dspam (antispam daemon) died
under load. This is not a postfix issue and I'm working to fix this.
Meanwhile and as a failsafe, is it possible to tell postfix instead of
bouncing the mail which fails to queue it and try to send it in a few
minutes? Dspam is automatically started in case of a failure within a
minute so it should work then.
The error that postfix gets when dspam is down:
--- (I stopped dspam manually this time.) ---
Mar 13 09:06:28 alfa postfix/smtpd[5772]: connect from WHATEVER
Mar 13 09:06:28 alfa postfix/smtpd[5772]: E3CFFAAB2: client=WHATEVER
Mar 13 09:06:28 alfa postfix/cleanup[5774]: E3CFFAAB2:
message-id=<441519F0.3020600
WHATEVER>
Mar 13 09:06:28 alfa postfix/qmgr[22710]: E3CFFAAB2:
from=<aleksander
krediidiinfo.ee>, size=1518, nrcpt=1 (queue active)
Mar 13 09:06:28 alfa postfix/smtpd[5772]: disconnect from WHATEVER
Mar 13 09:06:28 alfa dspam[5776]: Connection to socket /tmp/dspam.sock
failed: No such file or directory
Mar 13 09:06:28 alfa dspam[5776]: Unable to connect to server
Mar 13 09:06:29 alfa postfix/pipe[5775]: E3CFFAAB2: to=<user
WHATEVER>,
relay=dspam, delay=1, status=bounced (Command died with status 251:
"/usr/local/bin/dspamc". Command output: 5776: [03/13/2006 09:06:28]
Connection to socket /tmp/dspam.sock failed: No such file or directory
5776: [03/13/2006 09:06:28] Unable to connect to server )
Mar 13 09:06:29 alfa postfix/cleanup[5774]: 0469E1918D:
message-id=<20060313070629.0469E1918D
WHATEVER>
Mar 13 09:06:29 alfa postfix/qmgr[22710]: 0469E1918D: from=<>,
size=3551, nrcpt=1 (queue active)
Mar 13 09:06:29 alfa postfix/qmgr[22710]: E3CFFAAB2: removed
Mar 13 09:06:29 alfa postfix/smtp[5778]: 0469E1918D:
to=<aleksander
krediidiinfo.ee>, relay=krediidiinfo.ee[213.180.27.226],
delay=0, status=sent (250 Ok: queued as F35A925F54)
Mar 13 09:06:29 alfa postfix/qmgr[22710]: 0469E1918D: removed
--- (That's it, I now started dspam again and everything works.) ---
Postfix has dspamc (the dspam thin client) configured in master.cf.
dspamc connects to the dspam daemon via socket.
If the daemon is down, dspamc fails and postfix gets dspamc's error. It
then bounces the mail. I want postfix to queue it and try to resend it
later.
Is that possible?
Thanks in advance,
Alex
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]