Differences between revisions 3 and 4
Revision 3 as of 2020-05-02 11:16:57
Size: 654
Editor: PieterSmit
Comment:
Revision 4 as of 2020-05-02 11:19:38
Size: 734
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
334 VXNlcm5hbWU6 >> = "Username:" in base64
Line 21: Line 22:
334 <xxxxxx> 334 UGFzc3dvcmQ6 >> = "Password:" in 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 -n "<user>" | base64
    $ echo -n "<password>" | base64
    $ openssl s_client -connect vigor.nz:25 -starttls smtp
    EHLO test.com
    AUTH LOGIN
    334 VXNlcm5hbWU6   >> = "Username:" in base64
    <user|base64>
    334 UGFzc3dvcmQ6   >> = "Password:" in base64
    <pass|base64>
    535 5.7.8 Error: authentication failed: authentication failure

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