- Note: Software versions
- Ubuntu 9.10 Karmic Kola
- Postfix 2.6.5
- Note: Please substitute your values for:
- smtp server: smtp.teksavvy.com
- Port: 25
- Host name: gordonturner.ca
- Install postfix:
- To setup Postfix:
- Explaination:
| relayhost = [smtp.teksavvy.com]:25 | Teksavvy's smtp server and port |
| myhostname = gordonturner.ca | Sets the from server name |
| smtp_use_tls = yes | Use TLS encryption |
| smtp_tls_note_starttls_offer = yes | Offer to use TLS |
| smtp_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem | Use this cert |
| smtp_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key | Use this key |
- Print out configuration:
- Restart postfix:
- Reference:
http://www.marksanborn.net/linux/send-mail-postfix-through-gmails-smtp-on-a-ubuntu-lts-server/
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
