Differences between revisions 1 and 2
Revision 1 as of 2020-01-06 00:26:21
Size: 190
Editor: PieterSmit
Comment:
Revision 2 as of 2020-05-02 11:11:51
Size: 573
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:

== Setup postfix so gmail can send email through your server to use your own domain ==
 * add entries to /etc/postfix/sasl_passwd
   * then compile to db with # postmap sasl_passwd

 * Test with {{{
$ echo "<user>" | base64 ; echo "<password>" | base64
$ openssl s_client -connect vigor.nz:25 -starttls smtp
EHLO test.com
AUTH LOGIN
<user|base64>

<pass|base64>

}}}

Notes on Linux PostFix email server

  • Aliases configured in

    /etc/postfix/virtual
  • compile file in to *.db with postmap

    /usr/sbin/postmap /etc/postfix/virtual

Setup postfix so gmail can send email through your server to use your own domain

  • add entries to /etc/postfix/sasl_passwd
    • then compile to db with # postmap sasl_passwd
  • Test with

    $ echo "<user>" | base64 ; echo "<password>" | base64
    $ openssl s_client -connect vigor.nz:25 -starttls smtp
    EHLO test.com
    AUTH LOGIN
    <user|base64>
    
    <pass|base64>

linux/PostFixEmail (last edited 2023-01-21 07:37:26 by PieterSmit)