Skip to navigation
Set up a relayhost for postfix
07.11.24
Bypass all mail settings and forward all server mails to another mailserver ## Add the below to the file /etc/postfix/main.cf ``` relayhost = grallator.com smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = noanonymous smtp_tls_CAfile = /etc/postfix/cacert.pem smtp_use_tls = yes ``` ## Create a password and user file and compile it: `` echo 'foomailserver.com mail@foo.com:passpass' > sasl_passwd2 postmap sasl_passwd ``
https://www.postfix.org/BASIC_CONFIGURATION_README.html
Reply
Anonymous
Information Epoch 1732181660
When in doubt, use brute force.
Home
Notebook
Contact us