strredwolf: (Default)
[personal profile] strredwolf
A short guide, actually. Replace obvious parts with valid names and info.

In /etc/postfix/main.cf:
relayhost = [smtpserver.yourisp.com]
canonical_maps=regexp:/etc/postfix/canonical


Then create /etc/postfix/canonical with the following and run postmap on it:
/(.+)@yourboxdomain/ user+$1@yourisp.com

If you need SASL support (SMTP AUTH) add this to your /etc/postfix/main.cf:
smtp_sasl_auth_enable = yes
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/saslpass


And then edit /etc/postfix/saslpass, putting in a line like this, and rerun postmap on that:
smtpserver.yourisp.com yourispusername:yourisppassword

It works for me! :)

Profile

strredwolf: (Default)
STrRedWolf

May 2020

S M T W T F S
     12
3456789
10111213141516
1718 1920212223
24252627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 1st, 2025 10:04 am
Powered by Dreamwidth Studios