[nzlug] Regarding: Postfix + SASL authen............
graham dixon
stercusoft at yahoo.co.nz
Sat Mar 1 15:36:09 NZDT 2008
It is a strange ISP that doesn't allow emails !
Why not just send the email through normal internet email ?
(K.I.S.)
cheers
Graham
=======================================
Message: 5
Date: Thu, 28 Feb 2008 20:42:07 +1300
From: Philip Murray <pmurray at nevada.net.nz>
Subject: Re: [nzlug] Postfix + SASL authencation to another Postfix
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <DB811EEE-7DB8-4644-8B67-3BB6DF82B047 at nevada.net.nz>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
On 28/02/2008, at 5:59 PM, Chris Hodgetts wrote:
> Hey,
>
> 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.
>
> Unless anyone has any other suggestions...
>
My other suggestion is to do it with an SSL client certificate. On
your primary postfix, add another smtp transport (in master.cf, on
whatever port is appropriate) and use the option
smtpd_client_restrictions = check_ccert_access, ...etc...
And add the certificate fingerprint to whatever access(5) table you
want to use.
On the client postfix, just configure it to send outbound email with
your shiny new SSL cert.
Digging around postconf(5) should give you all the options you need
Cheers
Send instant messages to your online friends http://au.messenger.yahoo.com
More information about the NZLUG
mailing list