This is a discussion on RE: Address Rewriting question within the mailing.postfix.users forums, part of the Mail Servers and Related category; Hi Viktor and thanks for your help. I will rephrase my question, because what you proposed I think does not ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi Viktor and thanks for your help.
I will rephrase my question, because what you proposed I think does not apply to my case: I need that the recipient's address of every email sent to: <any user>@test.larnaca.cy To be rewritten with: <any user>/type=3DPLMN@testing.larnaca.cy What shall I enter in the file /etc/postfix/virtual regexp:/etc/postfix/virtual and what should be the value of the virtual_alias_map in the /etc/postfix/virtual. Thanks in advance. Best Regards Ioannis Michaelides -----Original Message----- From: owner-postfix-users@postfix.org [mailto:owner-postfix-users@postfix.org] On Behalf Of Victor Duchovni Sent: 21 January 2005 16:13 To: postfix-users@postfix.org Subject: Re: Address Rewriting question On Fri, Jan 21, 2005 at 09:39:36AM +0200, Ioannis Michaelides wrote: > =20 > Hi! >=20 > I am new in PostFix, so your help would be very appreciated. >=20 > I have an email server, running Postfix 2.1.1. on a Mandrake Corporate > serve r 3.0. >=20 > The server has one registered domain with it's IP, which is=20 > testc.larnaca.cy , and therefore every email sent to that domain are=20 > received by my email ser ver. >=20 > The email server has been already configured to forward the received=20 > emails=3D20 for this domain to a second server in the local network. = The > problem is that this second server accepts only emails for the domain > test.larnaca.cy (one=3D20 c is missing) and in addition requires a=20 > prefix "/type=3D3DPLMN" before =3D the @ si gn. >=20 > Is there a mapping that can rewrite the recipients address from=3D20 >=20 > any_user@testc.larnaca.cy >=20 > to >=20 > any_user/type=3D3DPLMN@test.larnaca.cy >=20 http://www.postfix.org/ADDRESS_REWRI...E.html#virtual virtual_alias_maps =3D ${default_database_type}:${config_directory}/virtual virtual: user1@test.larnaca.cy user1/type=3D3DPLMN@test.larnaca.cy user2@test.larnaca.cy user2/type=3D3DPLMN@test.larnaca.cy This can also be done once for all users with regexp virtual table, but that breaks recipient validation and so is strongly discouraged. --=20 Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majordomo@postfix.org?body=3Dunsubscribe%2 0postfix-users> |