[nzlug] Postfix + SASL authencation to another Postfix

Daniel Pittman daniel at rimspace.net
Sat Mar 1 13:16:22 NZDT 2008


David Hawke <David.Hawke at ppfort.net> writes:
> Chris Hodgetts wrote:
>>
>> I was wondering, if anyone knows how to do this?
>>
>> I have a machine outside my network, the ISP it's connected to blocks
>> port 25. (and has a non-static public address).
>>
>> I want the postfix instance on it to connect back to our primary postfix
>> server(on a static IP), on another port, and authenticate via sasl so
>> this box can deliver messages back to us here in the office.
>>
>> Postfix on the hostile network is only listening to 127.0.0.1, and in
>> reality the only mail from this box will be log checks, and so forth,
>> standard admin emails.
>>
>> If the remote box had a static IP I would just add that address to
>> mynetworks but as it doesn't, I thought this could be a good way to do
>> it.
>   
> Hook them up with openvpn and transfer the mail across the tunnel.
>
> Make sure that the connection is persistent and it will be fine with
> dynamic connections

Well, if you really want secure email between the two machines UUCP
(over SSL or SSH) is probably easier to configure than a VPN, SASL and
so forth -- unless you already needed the other parts.

Er, just to confirm for the OP: You do actually need the other instance
to relay, right, and not just to accept email for local delivery from
this remote system?

Regards,
        Daniel



More information about the NZLUG mailing list