What is the definition of a locally originating connection please?

It would appear that

        accept from local for any relay

is not the same as

        table myself { localhost }

        accept from source <myself> for any relay

I was trying to create a tighter version of the following 'smtpd.conf' which seems to work

        table mylan { 10.10.1.0/24, 10.10.10.0/24 }

        listen on 127.0.0.1
        listen on 10.10.10.1

        accept from source <mylan> for any relay
        accept from local for any relay

This allows this host (10.10.10.1) running OpenSMTPD to send email that originates on either itself, or any system on the 10.10.10.0/24 physical internal network, or any system on the 10.10.1.0/24 virtual internal network as is specified by NPPPD which is also running on this same machine.

I was trying to have a tighter file and define 'mylan' as

        table mylan { 10.10.1.0/24, 10.10.10.0/24, localhost }

which should let me drop the last line. It fails. Hence my first question.

There are other places, e.g.

        for local virtual <vmap>

where the word 'local' does mean localhost and the default server name.

Thanks - Damian

Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037
Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
Views & opinions here are mine and not those of any past or present employer

--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to