- Note: Software versions
- Ubuntu 9.10 Karmic Kola
- Postfix 2.6.5
- Note: Please substitute your values for:
- smtp server: smtp.broadband.rogers.com
- Port: 587
- Username: juser
- Password: seekrit
- Host name: gordonturner.ca
- Install postfix:
- To setup Postfix:
- Explaination:
| relayhost = [smtp.broadband.rogers.com]:25 | Rogers smtp server and port |
| smtp_sasl_auth_enable = yes | Enables sasl |
| smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd | Location of password file |
| smtp_sasl_security_options = | Forces the use of plaintext connection |
| myhostname = gordonturner.ca | Sets the from server name |
- Print out configuration:
- Edit /etc/postfix/sasl/sasl_passwd and add server, username and password:
- After editing sasl_passwd, rebuild the sasl_passwd db:
- Ensure that "[smtp.broadband.rogers.com]:25" is used in your "relayhost" and "sasl_passwd" file:
- If you do not see "juser:seekrit" printed out, then something is wrong.
- Restart postfix:
- If you are using Rogers, you will have to add the 'from user' you are sending mail as to their web ui.
- Login to Rogers
- Top right corner Click on Options > Mail Options
- In the left hand pane click on Accounts
- Add a new account that corresponds to the 'from user'
- Respond to confirmation email that will be sent.
- Reference:
https://help.ubuntu.com/9.10/serverguide/C/postfix.html
http://www.clarkconnect.com/wiki/index.php?title=Howtos_-_SMTP_Authentication_to_ISP
Labels:
None
