Just my two cents,

  On sendmail when you rewrite you need to setup MASQUERADE and GENERICSTABLE 
options, some mailservers block when the field "from" mismatch (Gmail doesn't 
but Office365 will).

  BTW I prefer postfix for this work, you should be good only with 
smtp_generic_maps.



-----Mensagem original-----
De: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] Em nome de Tim Cutts
Enviada em: terça-feira, 9 de abril de 2013 10:03
Para: Craig Ringer
Cc: rt-users@lists.bestpractical.com
Assunto: Re: [rt-users] Creating tickets on behalf of users via email


On 9 Apr 2013, at 08:18, Craig Ringer <cr...@2ndquadrant.com> wrote:

> Hi all
> 
> I'm increasingly finding it desirable to open correspondence with a client by 
> email and have the conversation tracked in RT. This is cumbersome enough to 
> do that I wonder if I'm missing something obvious.
> 
> I can create a ticket in their name via the web ui, but that results in an 
> auto-acknowledgement email to them and doesn't send them a copy of the 
> request its self since they're presumed to have sent it.
> 
> I can create it with me as requestor, add them as Cc, save, then delete them 
> from Cc and add them as requestor afterwards. That seems awfully convoluted, 
> though, and doesn't allow me to create a ticket in their name by email.

Remember it's trivially easy to write scripts which forge email headers, in 
most environments.  All you need to do is set the From: header to the user's 
email address, and RT will do the right thing with it.  You can do this 
trivially using sendmail on the UNIX command line:

$ /usr/lib/sendmail -t << EOF
From: Barack Obama <presid...@whitehouse.gov>
To: t...@example.com
Subject: Fake email

This email is not really from Barack Obama...
EOF

Tim

--
 The Wellcome Trust Sanger Institute is operated by Genome Research  Limited, a 
charity registered in England with number 1021457 and a  company registered in 
England with number 2742969, whose registered  office is 215 Euston Road, 
London, NW1 2BE. 


Reply via email to