postfix non open relay setting
i've changed from sendmail to postfix on my install of Ubuntu on my linode and am confused as to how best configure it.
the only way I can find to get it to relay mail for me without becoming an open relay is to use the following line in the local networks section of webmin control panel general module…
FQDNofclient_pc.com
smtpdsaslauth_enable = yes
smtpdrecipientrestrictions =
permit_mynetworks,
permitsaslauthenticated,
checkrelaydomains
the problem with this is that my adsl ip address is dynamic so i will have to update the FQDNofclient_pc.com each time it changes. this isn't a big problem but it's not very elegant.
I have to admin also to not really understanding how postfix organises itself. I did a couple of googles on this and the man pages weren't really helpful. they are more focused on a server physically connected to the network it is serving and not our set-up of a remote mail relay.
when i first installed postfix, i selected the internet option (just in case this makes a difference!)
any advice appreciated.
regards,
Ross