Adam Hamer
2011-02-17 17:03:04 UTC
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 with dovecot for virtual delivery, but from the logs it appears dovecot is not instantiated when using virtual_alias_maps since the alias means its forwarded - because its an smtp task? It seems to make sense from this thread that [http://www.dovecot.org/list/dovecot/2011-January/056783.html] "postfix adds X-Original-To when delivering to a mailbox - which delivery via smtp/lmtp isn't.", and this one http://tech.groups.yahoo.com/group/postfix-users/message/231881 "Postfix will not add X-Original-To when forwarding mail."
It seems filters were suggested to be used, but it doesn't seem a common approach. I'd appreciate some guidance on this - I am a newbie trying hard not to get too lost...
Regards,adam
I have a basic postfix setup with dovecot for virtual delivery, but from the logs it appears dovecot is not instantiated when using virtual_alias_maps since the alias means its forwarded - because its an smtp task? It seems to make sense from this thread that [http://www.dovecot.org/list/dovecot/2011-January/056783.html] "postfix adds X-Original-To when delivering to a mailbox - which delivery via smtp/lmtp isn't.", and this one http://tech.groups.yahoo.com/group/postfix-users/message/231881 "Postfix will not add X-Original-To when forwarding mail."
It seems filters were suggested to be used, but it doesn't seem a common approach. I'd appreciate some guidance on this - I am a newbie trying hard not to get too lost...
Regards,adam