I'm trying to set up postfix as a null client, that is, I just want local linux users to be able to send mails outside using postfix's sendmail binary.
No reception of emails, no relaying for other hosts, no local mail delivery to users (I don't see any use for it). I just want to allow sending emails outside.
I have set these parameters in /etc/postfix/main.cf:
myhostname = mail.thisisadomain.com inet_interfaces = loopack-only mydestination =
Should I set other parameters or change anything else in the configuration ?
I'm particularly interested in knowing what to do with the
relayhost parameter, since I don't understand what it does.
I've read the doc here http://www.postfix.org/STANDARD_CONFIGURATION_README.html#null_client but I still don't understand what the
relayhost parameter does, and if it matters for a null client.
Thanks for your help.