From 91ecac47f52ebecf3560598efaed40688492e5aa Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Sat, 11 Aug 2012 16:04:58 -0400 Subject: beginning the information sanitizing --- chapter_16.xml | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/chapter_16.xml b/chapter_16.xml index 05a32e0..d51e5d7 100644 --- a/chapter_16.xml +++ b/chapter_16.xml @@ -377,7 +377,7 @@ co-workers. darkstar:~# finger alan@cardinal.lizella.net [cardinal.lizella.net] Login: alan Name: Alan Hicks -Directory: /home/alan Shell: /bin/bash +Directory: /home/alan Shell: /bin/bash Office: 478 808 9919, 478 935 8133 On since Wed Apr 13 17:43 (UTC) on pts/9 from 75-150-12-113-atlanta.hfc.comcastbusiness.net @@ -585,7 +585,7 @@ O OTHER CMDS > [ListFldrs] N NextCmd K KBLock Your mail server. The server itself is often something like mail.example.com (although it may not be; check with your host to be sure), but if that server requires login information then you - may need to set it to something like alan@mail.slackermedia.info + may need to set it to something like bob@mail.example.com or similar. @@ -742,9 +742,9 @@ for that, muttrc(5). You might want to read up on it. - darkstar:~$ 'poll pop.slackermedia.info with proto pop3: user -"klaatu@slackermedia.info" there has password "secretpassword" is klaatu -here and wants mds "/usr/bin/procmail"' >> ~/.fetchmailrc + darkstar:~$ cat ~/.fetchmailrc +poll pop.example.com with proto pop3 + user "bob@example.com" there has password "secretpassword" is bdobbs here and wants mds "/usr/bin/procmail" @@ -787,7 +787,8 @@ here and wants mds "/usr/bin/procmail"' >> ~/.fetchmailrc Your email password. This is entered as plaintext into your config file, but since this is in your home directory, it is only - readable by you. + readable by you. For good measure though, it is safe to + chmod 0600 ~/.fetchmailrc @@ -798,10 +799,10 @@ here and wants mds "/usr/bin/procmail"' >> ~/.fetchmailrc Defines which user on your local computer this email account actually belongs to. For instance, if my email account is - notklaatu@slackermedia.info but my username on my Slackware box - is klaatu, then obviously there would be no way for + bob@example.com, but my username on my Slackware box + is bdobbs, then obviously there would be no way for fetchmail to know who - notklaatu@slackermedia.info is. This defines it. + bob@example.com is. This defines it. @@ -866,15 +867,15 @@ here and wants mds "/usr/bin/procmail"' >> ~/.fetchmailrc darkstar:~$ cat ~/.mutt/.muttrc - set realname="klaatu" - set from="notklaatu@slackermedia.info" - set spoolfile=/home/klaatu/Mail/Inbox - set mbox=/home/klaatu/Mail/mbox - set record=/home/klaatu/Mail/sent - set postponed=/home/klaatu/Mail/postponed + set realname="Bob Dobbs" + set from="bob@example.com" + set spoolfile=/home/bdobbs/Mail/Inbox + set mbox=/home/bdobbs/Mail/mbox + set record=/home/bdobbs/Mail/sent + set postponed=/home/bdobbs/Mail/postponed set sort=reverse-date set editor=emacs - set smtp_url="smtp://notklaatu:secretpassword@smtp.slackermedia.info:465" + set smtp_url="smtp://bob:secretpassword@smtp.example.com:465" @@ -977,7 +978,7 @@ client that isn't menu-driven? Thankfully -root@darkstar:/home/klaatu# mail +root@darkstar:/home/bdobbs# mail Heirloom mailx version 12.4 7/29/08. Type ? for help. "/var/spool/mail/root": 2 messages 2 new >N 1 To root Thu Mar 10 23:33 52/1902 Register with the Linux counter project @@ -1049,8 +1050,8 @@ Heirloom mailx version 12.4 7/29/08. Type ? for help. darkstar:~$ env MAILRC=/dev/null - from="klaatu@slackermedia.info (Klaatu)" - smtp=relay.slackermedia.info mail -n -s "Test message" alan@lizella.net < ~/message.txt + from="bob@example.com (Bob Dobbs)" + smtp=relay.example.com mail -n -s "Test message" connie@example.com < ~/message.txt -- cgit v1.2.3