May 2, 2023 at 4:42 PM, "pripercat--- via Postfix-users" <[email protected]> wrote:
> > Hi, my hosting Njal.la don't permit send email from my postfix server port > number 25 to prevent spam. > > But they say that i can use this setup > https://njal.la/docs/postfix-smarthost/ > > with; > relayhost = [emailserver.tld]:submission > in /etc/postfix/main.cf > > Hi You can use the following configuration for sending mail with external smtp relay. # sending options with external smtp relay smtp_sasl_auth_enable = yes smtp_sasl_password_maps = static:[email protected]:yourPasswd smtp_sasl_security_options = noanonymous header_size_limit = 4096000 relayhost = [mail.domain.com]:587 Replace creditials and relay hostname with yours. -- https://kenpeng.pages.dev/ _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
