I'm using the zmlmtpinject method to release quarantined incoming messages successfully.
Is there a method for using zmlmtpinject on outgoing messages that are quarantined?
I try it and receive an error
Code:
Injecting 1 message(s) to 1 recipient(s). Server localhost, port 7025, using 1 thread(s).
[warn] Recipient `recipient@emaildomain.com' rejected
[] WARN: Delivery failed for /opt/zimbra/data/amavisd/quarantine/banned-tumLvfjD0A4G:
com.zimbra.cs.lmtpserver.LmtpProtocolException: 503 5.5.1 No recipients
at com.zimbra.cs.lmtpserver.utils.LmtpClient.sendMessage(LmtpClient.java:195)
at com.zimbra.cs.lmtpserver.utils.LmtpInject$LmtpInjectTask.run(LmtpInject.java:227)
at java.lang.Thread.run(Thread.java:619) Seems to only work on inbound mail. Its only very occasionally that we send firmware updates out that trigger the attachment policy. At the moment I have to remove exe from the banned attachments get the user to send email, and reenable the exe as a banned attachment.