A Postfix configuration question

David Fletcher dave at thefletchers.net
Mon Nov 23 21:39:17 UTC 2015

On Mon, 2015-11-23 at 21:08 +0000, Colin Law wrote:
> I have set up Postfix for the first time, on a server, setting
> mynetworks = [::ffff:]/104 [::1]/128
> smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated
> defer_unauth_destination

I edited mine thus:-
#mynetworks = [::ffff:]/104 [::1]/128
mynetworks = localhost

Because, if I remember correctly, my LAN address needs to be included
because I'm using the server as an outgoing email relay, and localhost
needs to be included because I'm using the sendemail utility on the
server to email myself from a program I wrote for myself.

Virgin Media does not yet provide IPv6 so what's the point in having an
IPv6 network address in mynetworks?

BTW I'm using SASL (I don't understand what I'm doing but found a
how-to) to relay outgoing mail via a 1&1 authenticated SMTP box.


More information about the ubuntu-users mailing list