My setup is near what you want to achieve, but i used procmail/RT CLI instead of CommandBymail.
With ExchangeServer (mine is Office365) I configured postfix to send all the outgoing mails with From field same as the user who logs on exchange. Since apache user send mail the exchange server may block because you log as [email protected] and the mail arrives as [email protected]. Look for smtp_generic_maps for postfix, for msmtp I dont know how to do. -----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Alberto Villanueva Enviada em: quarta-feira, 11 de julho de 2012 12:46 Para: [email protected] Assunto: [rt-users] Help to configure incoming e-mails Hi all, I'm configuring RT to a customer. It runs all enabled features except the creation of defects using an e-mail. I have installed CommandByMail and it was installed successfully. I'm going to describe the problem: - Machine_A -> Unix -> RT installation (4.0.5) -> msmstp - Machine_B -> Windows -> Exchange server When I send an email from Machine_A (or Machine_B) to RT to create the ticket in a specific queue, the mail log indicates the next message: "status = sent (205 2.0.6): Queued mail for delivery", and the ticket is not created logically. But RT sends the e-mail when someone comments in a ticket. When I send the e-mail from Machine_A, I get the next e-mail address: "aliases@machine_a.com" but I want to send it to "[email protected]". I think the problem is in the mail configuration or on the connection between the machines. But I don't :-( Could you help me? Thank you very much!! Best regards, -- Alberto VILLANUEVA DEL VAL Consultor Altran España, Industria ___________________________________________ ALTRAN: talento generando innovación Parque Empresarial Las Mercedes, Edificio 1 C/ Campezo, 1 28022 Madrid Spain Tel. : + 34 917 44 46 00 Fax : + 34 914 15 24 57 [email protected] www.altran.es www.altran360.es Síguenos en: www.linkedin.com/company/altran-espana www.twitter.com/altran_es www.facebook.com/altranespana Antes de imprimir este mensaje, asegúrate de que es necesario. Proteger el medio ambiente está también en tu mano. En cumplimiento de la Ley Orgánica 15/1999, con fecha 13 de diciembre, de Protección de Datos de Carácter Personal, y la Ley 34/2002, con fecha 11 de julio, de Servicios de la Sociedad de la Información y de comercio electrónico, le comunicamos que su dirección de correo electrónico forma parte de un fichero del que es responsable Altran España, y que garantiza la confidencialidad y seguridad de sus datos. Tiene usted derecho al acceso, rectificación y cancelación de sus datos en los términos establecidos en la Ley Orgánica 15/1999 de Protección de Datos de Carácter Personal y demás normativa concordante, dirigiéndose a nuestra dirección anteriormente señalada o por medio de correo electrónico: [email protected]. AVISO LEGAL: Este mensaje, junto con cualquier fichero adjunto, está dirigido a su destinatario y es confidencial. Cualquier distribución, uso o reproducción sin consentimiento del remitente está estrictamente prohibido. Si ha recibido este mensaje por error, por favor proceda a ponerlo en conocimiento del remitente por e-mail y a borrarlo de su sistema sin realizar copias.
