This is a discussion on Re: keeping X-Original-To from mail-gw --> local-delivery server within the mailing.postfix.users forums, part of the Mail Servers and Related category; lars@levonline.com: > On Fri, 3 Jun 2005, Wietse Venema wrote: > > The X-Original-To message header ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
lars@levonline.com:
> On Fri, 3 Jun 2005, Wietse Venema wrote: > > The X-Original-To message header records the content of the SMTP > > MAIL FROM address, and Postfix up to 2.2 has no way to pass other > > original recipient information via SMTP. If you really must have > > user@virtual.com in the X-Original-To message header, you will have > > to move virtual aliasing to the mailbox delivery host. > > > > I'm adding support for what may solve your problem in Postfix 2.3, > > as part of RFC 3461..4 support. > > The support for this in Postfix 2.3 is great. Is there any other simple > way for me to have my smtp-gateways route e-mails to my local-delivery > machines and keeping the following specifications: > > - All e-mail adress and dynamic postfix configuration on the > mail-gateways. Define "dynamic". > - Local-delivery servers delivering mail to unix-accounts, simple > config, static. Define "static". > - All servers running postfix 2.2 > - Keeping the original recipient information untouuched ( account@virtualdomain instead of > account@localdelivery-server ). As mentioned before Postfix 2.2 can't send both the rewritten AND the original recipient from one machine to the next. You'd have to use atrocities such as appending the original recipient to the rewritten one: vuser@virtual.example -> realuser+vuser.virtual.example@isp.example Where realuser@isp.example is the actual ISP account. Wietse |
![]() |
| Thread Tools | |
| Display Modes | |
|
|