Thought I'd try a second problem.

In our eval we are running the MIMEDefang milter under postfix.

I've now got the milter working and postfix invoking it with all the permissions.

However, when the milter returns "action_bounce" for a failure, it seems that postfix and/or zimbra don't know what to do with it.

In the mail log I see

Aug 23 01:00:46 mail postfix/smtpd[26825]: C024B7A14A:[]
Aug 23 01:00:46 mail postfix/cleanup[26831]: C024B7A14A: message-id=<>
Aug 23 01:00:46 mail[9836]: filter: C024B7A14A: bounce=1
Aug 23 01:00:46 mail mimedefang[5108]: C024B7A14A: Bouncing because filter instructed us to
Aug 23 01:00:46 mail postfix/cleanup[26831]: C024B7A14A: milter-reject: END-OF-MESSAGE from[]: 5.7.1 You cannot send email from the plans account. Please select your own email account and try again; from=<> to=<> proto=ESMTP helo=<localhost.localdomain>
Aug 23 01:00:46 mail postfix/smtpd[26825]: disconnect from[]
Whereas in the Zimbra web client I get "Could not send message: mail.SEND_FAILURE"

If I click "Show Details" I get a call back that looks like this:

Could not send message: mail.SEND_FAILURE


msg: SMTP server reported: MESSAGE_NOT_DELIVERED
code: mail.SEND_FAILURE
method: [unknown]
detail: soap:Sender
trace: com.zimbra.cs.mailbox.MailServiceException: SMTP server reported: MESSAGE_NOT_DELIVERED ExceptionId:btpool0-12:// Code:mail.SEND_FAILURE at com.zimbra.cs.mailbox.MailServiceException.interna l_SEND_FAILURE( at com.zimbra.cs.mailbox.MailServiceException.SEND_FA ILURE( at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M at com.zimbra.cs.service.mail.SendMsg.doSendMessage(S at com.zimbra.cs.service.mail.SendMsg.handle(SendMsg. java:154) at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:287) at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:158) at com.zimbra.soap.SoapServlet.doWork(SoapServlet.jav a:294) at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:215) at javax.servlet.http.HttpServlet.service(HttpServlet .java:725) at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra at javax.servlet.http.HttpServlet.service(HttpServlet .java:814) at org.mortbay.jetty.servlet.ServletHolder.handle(Ser at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter( at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(Set at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter( at org.mortbay.servlet.UserAgentFilter.doFilter(UserA at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter .java:132) at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter( at org.mortbay.jetty.servlet.ServletHandler.handle(Se at at org.mortbay.jetty.servlet.SessionHandler.handle(Se at org.mortbay.jetty.handler.ContextHandler.handle(Co at org.mortbay.jetty.webapp.WebAppContext.handle(WebA at org.mortbay.jetty.handler.ContextHandlerCollection .handle( at org.mortbay.jetty.handler.HandlerCollection.handle ( at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha at org.mortbay.jetty.handler.rewrite.RewriteHandler.h andle( at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha at org.mortbay.jetty.handler.DebugHandler.handle(Debu at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha at org.mortbay.jetty.Server.handle( at org.mortbay.jetty.HttpConnection.handleRequest(Htt at org.mortbay.jetty.HttpConnection$ ntent( at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:756) at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa at org.mortbay.jetty.HttpConnection.handle(HttpConnec at at org.mortbay.thread.BoundedThreadPool$ n( Caused by: com.zimbra.cs.mailbox.MailSender$SafeSendFailedExc eption: MESSAGE_NOT_DELIVERED; chained exception is: com.zimbra.cs.mailclient.CommandFailedException: MAIL failed: 451 4.7.1 Service unavailable - try again later at com.zimbra.cs.mailclient.smtp.SmtpTransport.notify ( at com.zimbra.cs.mailclient.smtp.SmtpTransport.sendMe ssage( at com.zimbra.cs.mailbox.MailSender.sendMessageToHost ( at com.zimbra.cs.mailbox.MailSender.sendMessage(MailS at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ... 39 more
request: Body: { SendMsgRequest: { _jsns: "urn:zimbraMail", m: { e: { 0: { a: "", p: "Aidan Malley", t: "t" }, 1: { a: "", t: "f" } }, idnt: "f99033f5-94c4-4fe8-b271-1dd71c8abc8e", mp: { 0: { ct: "multipart/alternative", mp: { 0: { content: { _content: " 3 3 3 " }, ct: "text/plain" }, 1: { content: { _content: "<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><P>3</P> <P>3</P> <P>3</P> <P><BR>&nbsp;</P></div></body></html>" }, ct: "text/html" } } } }, su: { _content: "Test Three" } }, suid: 1314052680479 } }, Header: { context: { _jsns: "urn:zimbra", account: { _content: "", by: "name" }, authToken: "(removed)", session: { _content: 13, id: 13 }, userAgent: { name: "ZimbraWebClient - IE8 (Win)", version: "7.1.1_GA_3196" } } }
What I expected to get was the message shown in the mail.log.

In outlook, trying the same thing I get the usual detailed diagnostics:

Error: This message could not be sent.
Subject: Test From Outlook

Note: Soap Fault. Please recreate and resend the message. Details below:
Error Code: mail.SEND_FAILURE
Error Text: SMTP server reported: MESSAGE_NOT_DELIVERED
How on earth can I get Postfix and/or Zimbra to relay the bounce message back to the mail client?

Any suggestions, short of taxidermy would be gratefully accepted.

Thanks and Regards from Sunny Sydney