This is a discussion on RE: Address Rewriting question within the mailing.postfix.users forums, part of the Mail Servers and Related category; Dear Victor, I have just created the mapping in /etc/postfix/virtual: /(..*)@test\.com.cy$/ ${1}/type=3DPLMN@testing.com....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Dear Victor,
I have just created the mapping in /etc/postfix/virtual: /(..*)@test\.com.cy$/ ${1}/type=3DPLMN@testing.com.cy And I sent an email to helo@test.com.cy ,but the email is sent to my internal server with the recipient's address unchanged. The virtual_alias_maps is equal to /etc/postfix/virtual What could be the problem? BR/Ioannis -----Original Message----- From: owner-postfix-users@postfix.org [mailto:owner-postfix-users@postfix.org] On Behalf Of Victor Duchovni Sent: 21 January 2005 18:27 To: postfix-users@postfix.org Subject: Re: Address Rewriting question On Fri, Jan 21, 2005 at 06:20:58PM +0200, Ioannis Michaelides wrote: > The problem is that I do not know my recipients, as the number grows=20 > 200-300 per day, because the messages are delivered to mobile=20 > subscribers (I am working for a mobile operator). Implement a suitable query mechanism (LDAP, MySQL, PGSQL, TCP map, ...) to obtain the valid user list on the fly... > The actual server that > receive the email and transforms it to an MMS knows the recipients and > reject the email in case the recipient is wrong. This creates bounces back to joe-job victims when your domain is dictionary attacked. Not only does this create a serious problem for others, it also saturates your queue. Don't do this. /(..*)@example\.com$/ ${1}suffix@example.com will add "suffix" to every address, but once again this is not a good idea, you really must implement recipient validation... --=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> |