Skip to content

Instantly share code, notes, and snippets.

@hyvanix
Created May 29, 2021 07:06
Show Gist options
  • Save hyvanix/df8204f343c14f9ee7d8b01f3380631e to your computer and use it in GitHub Desktop.
Save hyvanix/df8204f343c14f9ee7d8b01f3380631e to your computer and use it in GitHub Desktop.

OmniOS specific info for Postfix Configuration

logs to check:

/var/adm/messages
/var/log/syslog

location of smtpd.conf

/opt/ooce/lib/sasl2/smtpd.conf

location and permissions of sasldb for mail authentication

/var/opt/ooce/sasl2/sasldb2
chown -R root:sasl /var/opt/ooce/sasl2
chmod 770 /var/opt/ooce/sasl2
chmod 660 /var/opt/ooce/sasl2/*

location of socket

mailbox_transport = lmtp:unix:/var/opt/ooce/cyrus/socket/lmtp

command to create hash

postmap hash:vmailbox

smtp_tls_session_cache_database location

smtp_tls_session_cache_database = btree:/var/lib/postfix/smtp_scache

add smtps to /etc/services if using smtps in master.cf

vi /etc/inet/services.d/smtps
    smtps 465/tcp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment