OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Solution for Store in Virtual then Transport

From: Noel Jones (njonesmegan.vbhcs.org)
Date: Wed May 01 2013 - 08:54:15 CDT


Use smtp_generic_maps to rewrite mobile.example.com to example.com
during delivery to the second server.
http://www.postfix.org/ADDRESS_REWRITING_README.html#generic

On 5/1/2013 8:37 AM, Newton Pasqualini Filho wrote:
> Tks for the reply!
>
> But in my case I have the same domain and 2 servers to store the same messages.
>
> There is no way to do that?
>
> Best Regards!
> Newton Pasqualini Filho
> newtonpasqualinigmail.com
>
>
>
> Em 01/05/2013, ās 00:59, Noel Jones <njonesmegan.vbhcs.org> escreveu:
>
>> On 4/30/2013 7:20 PM, Newton Pasqualini Filho wrote:
>>> Dear List,
>>>
>>> I am facing some trouble to find a way to get a solution running.
>>>
>>> We have here two mail servers, one to serve PCs and another to serve
>>> Mobile devices.
>>>
>>> The first is the primary and setter as MX for the domain, the second
>>> in only a secondary store server, that will give mobile devices work.
>>>
>>> I am facing some difficult to get this running, I tried to make an
>>> entry into "transport" file, over the first server, like this:
>>> domain.com <http://domain.com/>:
>>> smtp:mobile.domain.com
>>>
>>> The desire is to postfix store the message into maildir then,
>>> transport that to the secondary server.
>>
>> Each recipient is delivered exactly once. For multiple deliveries,
>> add more recipients.
>>
>> Add entries to virtual_alias_maps.
>>
>> # virtual_alias_maps
>> user1example.com user1example.com user1mobile.example.com
>> user2example.com user2example.com user2mobile.example.com
>> ... new entry for each user ...
>>
>>
>>
>> -- Noel Jones
>>
>>
>>
>>
>>>
>>> But it is not transporting to secondary server, only store local,
>>> and I could not find another way to do that.
>>>
>>> Appreciate any help!
>>>
>>> Best regards!
>>> Newton Pasqualini Filho
>>> newtonpasqualinigmail.com <mailto:newtonpasqualinigmail.com>
>>>
>>>
>>>
>>
>