GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
Email Smarthost Using Postfix SMTP |
20201109 Postfix is a standard SMTP server that is easy to setup for sending email via a smarthost SMTP server. It can also be set up to send email directly from the server as covered in Section 24.2.
$ wajig install postfix Internet with smarthost System mail name: crisp.net.au SMTP relay host: smtp.outlook.com Root and postmaster mail recipient: support@crisp.net.au Accept mail: .... crisp.net.au Synchronous updates: No Local networks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 Mailbox size limit: 0 Local address extension character: + Internet protocols to use: all |
Typical settings for a local host to send email using SMTP, as stored in /etc/postfix/main.cf is created using the reconfigure command:
$ wajig reconfigure postfix |