Thank you for your response. However you didn't answer my question. Our
server keeps mail for 14days because it is a gateway for our customer's
exchange servers. We WANT it that way so in the event of a server outage our
server can keep the mail queued for the exchange servers until they get back
up. Even with so few a day we get thousands of messages rejected for
"message refused" in the deferred queue and postfix reties to send them like
once per hour wasting our precious colo bandwidth. 

If you really want to help you can tell me if it will hurt anything, other
than thinking we'll delete "good bounces" because only the spam filter uses
this exact message and if it fails al messages are accepted by the server
not rejected, to delete these mail files because I am now using the
following script.

#!/bin/sh
# 
cd /var/spool/postfix/deferred
find * | xargs grep -l "Requested action not taken: message refused" | xargs
rm

Does it mess up Postfix if you manually delete files like this? Is there a
command we can use resynch the queues if it does?

Thanks 

Robert White
-- 
View this message in context: 
http://www.nabble.com/How-to-have-postfix-not-generate-a-bounce-message-when-an-email-is-rejected-for-a-specific-reason.-tp20702655p20735740.html
Sent from the Postfix mailing list archive at Nabble.com.

Reply via email to