gmail_as_a_relay_on_linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
gmail_as_a_relay_on_linux [2016/04/13 21:11] – juckins | gmail_as_a_relay_on_linux [2018/01/27 16:16] – juckins | ||
---|---|---|---|
Line 5: | Line 5: | ||
* ca-certificates.noarch (tested version 2015.2.4-65.0.1.el6_6) | * ca-certificates.noarch (tested version 2015.2.4-65.0.1.el6_6) | ||
- | Required packages if CentOS7 7.1.1503: \\ | + | Required packages if CentOS7 7.2.1511: \\ |
- | * postfix (tested version | + | * postfix (tested version 2.10.1-6.el7 ) |
* ca-certificates.noarch (tested version 2015.2.4-70.0.el7_1) | * ca-certificates.noarch (tested version 2015.2.4-70.0.el7_1) | ||
+ | * cyrus-sasl-plain (tested version 2015.2.6-70.1.el7_2) | ||
+ | * Got hint that this is needed from [[http:// | ||
+ | * cyrus-sasl-lib (tested version 2.1.26-20.el7_2) | ||
Other CentOS 7 Notes: | Other CentOS 7 Notes: | ||
Line 14: | Line 17: | ||
Directions [[http:// | Directions [[http:// | ||
- | 1. If installed, make sure / | + | 1. If installed, make sure / |
2. Make a backup copy of / | 2. Make a backup copy of / | ||
Line 68: | Line 71: | ||
8. Restart postfix: \\ | 8. Restart postfix: \\ | ||
< | < | ||
- | # / | + | # / |
</ | </ | ||
or | or | ||
Line 84: | Line 87: | ||
#set from = $USER@$HOSTNAME | #set from = $USER@$HOSTNAME | ||
#set from = username@HOSTNAME_OR_ALIAS.domain | #set from = username@HOSTNAME_OR_ALIAS.domain | ||
- | #set realname=$USER@$HOSTNAME - doesn' | + | #set realname=" |
- | set realname=" | + | set realname=" |
</ | </ | ||
Line 93: | Line 96: | ||
mutt -s " | mutt -s " | ||
</ | </ | ||
- | or | + | or to send a message without using a separate file: |
< | < | ||
echo 'It works' | mailx -s 'Test message' | echo 'It works' | mailx -s 'Test message' |
gmail_as_a_relay_on_linux.txt · Last modified: 2024/01/01 12:40 by juckins