|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: about special relay due to earthquake from Taiwan
From: Dogz (kusoit
gmail.com)
Date: Sat Dec 30 2006 - 09:51:08 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, Mouss,
2006/12/30, mouss <usebsd
free.fr>:
>
> Dogz wrote:
> > Hi Magnus,
> >
> > Thank you for your soon reply.
> > I hope I did not misunderstand what you said.
>
> >>do not top post.
I don't get it, I don't understand what you meant.
I followed what Magnus said to do these following steps, I think you may not
read his post.
>> for example, I assume thess special email address called "
>> dogz.hk
example.com" for relaying to Hong Kong and
>> "dogz.cn
example.com" for relaying to China. If my colleagues want to
>> send out the email to Hong Kong or China and so on ... My server will
>> forward these message to those special email address.
>That's easy enough with a couple of virtual aliases, but you will lose
>the envelope information. How is the site managing example.com going to
>know which recipients you really wanted to reach?
>> But how can I set up these to make sure my mail server to decide which
>> mails should forward to dogz.hk
example.com or dogz.cn
example.com ?
>If you know what domains to route where it's easy with the transport table.
>cn dogz.cn
example.com
>hk dogz.hk
example.com
>known-chinese-domain.example.com
<http://known-chinese-domain.example.com/>
dogs.cn
example.com
In this case, we found the one of ISP can help us to relay it to send out
emails to China, Hong Kong and so on. He just give us one email account to
relay. Therefore we need to forward some domains belonged to China NIC, Hong
Kong NIc and so on to this ISP, so that we can send out the email to China,
HK domains.
>
> >so you relay mail for test.com.anydomain.example ?
NO, relay the relative mails to the specific email address.
>the .test.com entry is subject to parent_domain_matches_subdomain setting.
Yes, I know this. thank you for your reminding.
>> # vi /etc/postfix/transport
> >> /test\.com/ dogz
gmail.com
> >no. this is a (risky) virtual alias entry. (it's risky because it breaks
> recipient validation).
> I know what you meant, but I just test by following what he said.
>
> >for transports, use something like (hash, not pcre here):
> >test.example smtp:[earthquake.relay.example]:587
> what is the different if I use relay_domains map ? and I don't need to ask
> them to open the port.
>
--
Best Regards,
Dogz
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]