Re: virtual_alias_maps and X-Original-To

2011-03-01 Thread Charles Marcus
On 2011-03-01 3:35 PM, Wietse Venema wrote: > Charles Marcus: >> Currently, using virtual for deliver, I'm getting these X-Original-To >> headers, which I have gotten very used to and rely on - but if/when we >> switch to dovecot+LMTP, we will lose them? > You can fake it in the SMTP server with

Re: virtual_alias_maps and X-Original-To

2011-03-01 Thread Wietse Venema
Charles Marcus: > On 2011-02-17 1:16 PM, Victor Duchovni wrote: > > On Thu, Feb 17, 2011 at 05:03:04PM +, Adam Hamer wrote: > >> "Postfix will not add X-Original-To when forwarding mail." > > > Yes, really when not using a delivery agent that is typically used > > for outbound or relay email.

Re: virtual_alias_maps and X-Original-To

2011-03-01 Thread Charles Marcus
On 2011-02-17 1:16 PM, Victor Duchovni wrote: > On Thu, Feb 17, 2011 at 05:03:04PM +, Adam Hamer wrote: >> "Postfix will not add X-Original-To when forwarding mail." > Yes, really when not using a delivery agent that is typically used > for outbound or relay email. In the case of lmtp(8) this

RE: virtual_alias_maps and X-Original-To

2011-02-20 Thread Adam Hamer
> Wietse Venema:>> If it is only for one special case, > > /etc/postfix/main.cf > smtpd_recipient_restrictions = > permit_mynetworks > ... > reject_unauth_destination > ... > check_recipient_access hash:/etc/postfix/recipient_access > > /etc/postfix/recipient_access: > u...@example.com PREPEND: X

Re: virtual_alias_maps and X-Original-To

2011-02-18 Thread Wietse Venema
Wietse Venema: > > ??Thanks again Viktor. > > It sounds a bit more in depth than I was hoping for. Given the _only_ func > >-tion for this alias is to forward to one address, would it be possible to do > >- a simpler approach?? > > If it is only for one special case, > > /etc/postfix/main.cf >

Re: virtual_alias_maps and X-Original-To

2011-02-18 Thread Wietse Venema
Adam Hamer: [ Charset ISO-8859-1 unsupported, converting... ] > > > > > Aliasing via virtual(5) is brutally efficient. No content modification, > > just message routing, so the header is not added. > > > > To add an X-Original-Recipient header, messages to multiple recipients > > have to be spli

RE: virtual_alias_maps and X-Original-To

2011-02-18 Thread Adam Hamer
> Aliasing via virtual(5) is brutally efficient. No content modification, > just message routing, so the header is not added. > > To add an X-Original-Recipient header, messages to multiple recipients > have to be split into one copy per-recipient since the header you want > is recipient-specifi

Re: virtual_alias_maps and X-Original-To

2011-02-17 Thread Victor Duchovni
On Thu, Feb 17, 2011 at 09:43:05PM +, Adam Hamer wrote: > > Are you in fact forwarding email off-site or are you using lmtp(8) to > > deliver email into a Dovecot IMAP store? > > Off-site. Any ideas for which way to go to make those aliases have > the X-Original-To? Aliasing via virtual(5) is

RE: virtual_alias_maps and X-Original-To

2011-02-17 Thread Adam Hamer
> On Thu, Feb 17, 2011 at 05:03:04PM +, Adam Hamer wrote: > > > I have an entry in the virtual_alias_maps for a few users to be > > redirected to zendesk.com. zendesk requires a X-Original-To header set > > for some stuff to work, but it isn't added in my postfix setup. > > > I have a basic

Re: virtual_alias_maps and X-Original-To

2011-02-17 Thread Victor Duchovni
On Thu, Feb 17, 2011 at 05:03:04PM +, Adam Hamer wrote: > I have an entry in the virtual_alias_maps for a few users to be > redirected to zendesk.com. zendesk requires a X-Original-To header set > for some stuff to work, but it isn't added in my postfix setup. > I have a basic postfix setup w