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 [2021/04/02 13:21] – juckins | gmail_as_a_relay_on_linux [2023/06/23 10:14] – juckins | ||
---|---|---|---|
Line 17: | Line 17: | ||
CentOS 8 Notes: | CentOS 8 Notes: | ||
* (Nothing special noted) | * (Nothing special noted) | ||
+ | |||
+ | RockyLinux 9 Notes: | ||
+ | * ? | ||
Directions [[http:// | Directions [[http:// | ||
Line 86: | Line 89: | ||
</ | </ | ||
- | 9. Edit ~/.muttrc for each user as appropriate: \\ | + | 9. Add these lines to the global |
< | < | ||
- | #set from = $USER@$HOSTNAME | + | set from = "`whoami`@`hostname`" |
- | #set from = username@HOSTNAME_OR_ALIAS.domain | + | set realname = "`whoami`@`hostname`" |
- | #set realname="juckins@lightning" | + | |
- | set realname=" | + | |
</ | </ | ||
Line 103: | Line 103: | ||
< | < | ||
echo 'It works' | mailx -s 'Test message' | echo 'It works' | mailx -s 'Test message' | ||
+ | </ | ||
+ | or | ||
+ | < | ||
+ | mailx -a test.txt -s "test subject" | ||
</ | </ | ||
gmail_as_a_relay_on_linux.txt · Last modified: 2024/01/01 12:40 by juckins