1
00:00:00,000 --> 00:00:18,320
Hey everyone and welcome back. Now in the previous nugget we had just installed Postfix

2
00:00:18,320 --> 00:00:24,359
for our basic email server configuration. Now understand this, with respect to Postfix

3
00:00:24,359 --> 00:00:31,000
we can actually read local mail as we just saw. But quite honestly the way Postfix handles this

4
00:00:31,000 --> 00:00:35,719
is a little bit clunky, a little bit cumbersome, we can definitely do better and that is what we

5
00:00:35,719 --> 00:00:40,759
hope to do within this skill right here or rather within this nugget right here should I say.

6
00:00:40,759 --> 00:00:46,120
Okay so like I say Postfix is going to hold local mail. Now the way Postfix is actually going to

7
00:00:46,120 --> 00:00:52,120
store this information, it's going to store it in this rather cluttered way. What you might see

8
00:00:52,119 --> 00:00:58,759
is it is stored in var, bool and then mail and then the username will have a particular little

9
00:00:58,759 --> 00:01:04,840
file here. So in my case it would be ipv0 and for the record sometimes it may actually miss out,

10
00:01:04,840 --> 00:01:11,879
spool it may just be var, mail, ipv0 but the point is here is that this is a system wide

11
00:01:11,879 --> 00:01:17,479
configuration meaning that we have all the files pretty much in the same location within the var

12
00:01:17,480 --> 00:01:25,800
directory, one file per user and when that user gets a new email those files happen to be appended

13
00:01:25,800 --> 00:01:31,240
to that same file so check this out. If I happen to do a little example here, in fact you know what

14
00:01:31,240 --> 00:01:37,640
I'll do I'll go into my aliases so can you remember the location it's the aliases let's go in here

15
00:01:37,640 --> 00:01:44,920
and I will remove the root ipv0 binding and I will write this out and I will say sudo new aliases

16
00:01:44,920 --> 00:01:51,320
to reload the configuration what I will now do is say mail and I'll just say test one and this can

17
00:01:51,320 --> 00:01:58,760
go to the root account at localhost and the message will just be this is test one and I'll say control

18
00:01:58,760 --> 00:02:06,359
shift d and then I will say mail test two and again at localhost and I'll just say this is test two

19
00:02:06,359 --> 00:02:12,520
control shift d okay so two different emails have been sent to the root account if I say sudo su

20
00:02:12,520 --> 00:02:18,120
who am I I am the root account if I say mail you can actually see where we're reading from in this

21
00:02:18,120 --> 00:02:24,280
case it's var mail and then the name of the user which is root and all the messages are all within

22
00:02:24,280 --> 00:02:31,640
this file if I happen to hit enter we can see the first message here and if I hit enter again we can

23
00:02:31,640 --> 00:02:37,800
see further down within the same file appended to it we have the second email so notice what is going

24
00:02:37,880 --> 00:02:45,000
on here we go into this directory here and we have one big file that just keeps appending

25
00:02:45,000 --> 00:02:50,520
storing all of the user's emails together so you can imagine if we have lots and lots of different

26
00:02:50,520 --> 00:02:56,920
users this is not the most manageable way to handle this now what we do have if I just press q and hit

27
00:02:56,920 --> 00:03:05,560
enter clear the screen so if I just say mail s and just say hello ipv0 one and I'll send this to ipv0

28
00:03:05,640 --> 00:03:13,719
at local host I'll just say this is first message to ipv0 and control shift d and do similar thing

29
00:03:13,719 --> 00:03:24,439
hello ipv0 to at ipv0 local host again this is second to ipv0 so control shift d if I now say mail

30
00:03:25,000 --> 00:03:33,319
check the location right here now we can see we are in var mail this time it's ipv0 as opposed to

31
00:03:33,319 --> 00:03:39,799
roots but notice again all the messages are just being concatenated within this file right here if I

32
00:03:39,799 --> 00:03:45,159
hit enter we can see the first message if I hit enter again we can see the second message and if I

33
00:03:45,159 --> 00:03:51,159
sent a third message to ipv0 this file would just be getting larger and larger and larger so we can

34
00:03:51,159 --> 00:03:56,039
see here this is not optimal let's try to solve this issue then so what I will do here I'll just

35
00:03:56,039 --> 00:04:01,719
press q to quit I'll clear the screen and the solution we're going to be looking at is one called

36
00:04:01,800 --> 00:04:08,680
proc mail now proc mail does things a little bit differently what this is going to do it's going

37
00:04:08,680 --> 00:04:15,319
to manage things by putting our mail within user specific locations so really you should be thinking

38
00:04:15,319 --> 00:04:21,480
about something like you know a home directory pwd somewhere like here so as opposed to var

39
00:04:21,480 --> 00:04:28,439
spool mail and the username or var mail username we can just have configurations neatly held together

40
00:04:28,439 --> 00:04:34,600
within home directories for example now there are two different ways in which proc mail can

41
00:04:34,600 --> 00:04:40,759
actually operate and the first way which I will explain is honestly in my opinion not that much

42
00:04:40,759 --> 00:04:47,399
better than the original postfix manner of storing emails but the second way is a lot better a lot

43
00:04:47,399 --> 00:04:53,800
cleaner and it happens to be by far the most popular and most used method of storing emails

44
00:04:53,800 --> 00:04:59,480
locally so let's talk about the two different ways we can store information within this home

45
00:04:59,480 --> 00:05:08,360
directory by using proc mail so the very first way is the mbox method now this is similar to

46
00:05:08,360 --> 00:05:14,199
postfix in this regard because what it's going to do is that whilst we will have things stored in a

47
00:05:14,199 --> 00:05:20,920
user defined directory such as home ipv0 and then something like say inbox and then something like

48
00:05:20,920 --> 00:05:27,400
say mail and then a file called inbox for example the difference here though is that as opposed to

49
00:05:27,400 --> 00:05:35,400
having the system-wide location of you know var mail ipv0 whatever it may be this time as we see the

50
00:05:35,400 --> 00:05:41,960
location is specific to ipv0 this is my home directory after all I have a mail directory but

51
00:05:41,960 --> 00:05:49,080
this file right here is indeed what I just said it is a file it is not a directory so you can imagine

52
00:05:49,079 --> 00:05:54,039
what this is going to do it's going to have a similar effect to what we just saw with postfix

53
00:05:54,039 --> 00:06:01,800
in that if I send a message to ipv0 it's going to be stored within this file right here and if I send

54
00:06:01,800 --> 00:06:08,680
a second message to ipv0 it's going to be appended to this inbox file again and the third message

55
00:06:08,680 --> 00:06:13,319
the same the fourth message the same so as you can see here this is exactly what the problem is the

56
00:06:13,399 --> 00:06:19,319
continual appending of all these emails if you happen to have 500 emails in your account you're

57
00:06:19,319 --> 00:06:26,439
going to have one file with 500 emails all tacked on this is not very manageable at all so inbox

58
00:06:26,439 --> 00:06:34,039
whilst it is maybe a little bit better because we have this separation of user specific locations as

59
00:06:34,039 --> 00:06:39,879
opposed to the system-wide storing of the emails this is still super clunky we can definitely do

60
00:06:39,879 --> 00:06:45,560
better and the good news is is that we do have that other solution and this is called the mail

61
00:06:46,199 --> 00:06:52,600
dir method and the way the mail dir method works is it's very similar to inbox in that we're going

62
00:06:52,600 --> 00:06:59,639
to still be utilizing that home directory so say for example this would be home ipv0 for me so we're

63
00:06:59,639 --> 00:07:06,439
still no longer using varspool mail or var mail but inside of here this time as opposed to having

64
00:07:06,439 --> 00:07:14,040
an inbox file we can actually have a directory and within that directory we can have individual

65
00:07:14,040 --> 00:07:19,560
files for the emails so the emails are no longer going to be appended and appended and appended

66
00:07:19,560 --> 00:07:25,399
they can be neatly sorted individually and accessed individually so this is much more modern

67
00:07:25,399 --> 00:07:31,000
much better organized and much less headaches when trying to sift and filter through your emails so

68
00:07:31,000 --> 00:07:35,560
now that we know what the basics about proc mail actually does let's have a look at the general

69
00:07:35,639 --> 00:07:40,360
configuration and get it up and running and integrated with postfix to check this out then

70
00:07:40,360 --> 00:07:45,959
let's have a look so what i'm going to see here is sudo apt install and i will say proc mail and this

71
00:07:45,959 --> 00:07:52,040
is going to run through the installation now that is all we have to do for the installation of proc

72
00:07:52,040 --> 00:07:58,759
mail proc mail is not going to have any type of specific configuration file instead we are going

73
00:07:58,759 --> 00:08:05,399
to go to the postfix configuration file and tell it to use proc mail now the pop quiz is what is the

74
00:08:05,959 --> 00:08:14,199
main configuration file for postfix if you're answering etsy postfix main.cf then you're absolutely

75
00:08:14,199 --> 00:08:22,439
correct let's go to that file right now so we'll say sudo nano etsy postfix and main.cf now check

76
00:08:22,439 --> 00:08:27,800
this out what i'm going to do here is i'm going to go down to the very bottom of this particular

77
00:08:27,800 --> 00:08:35,399
file and what i could do here is i could manually say mailbox underscore command equals proc mail

78
00:08:35,399 --> 00:08:41,320
and this would ultimately instruct postfix to actually use the proc mail service now once i

79
00:08:41,320 --> 00:08:47,320
make this modification i would have to save the file and then reload the service but one way we

80
00:08:47,320 --> 00:08:53,560
can also do this and this is a command we want to know for the actual examination and that is the

81
00:08:53,559 --> 00:09:00,439
postconf command now the postconf command is going to allow us to modify the configuration

82
00:09:00,439 --> 00:09:05,959
file for postfix but it's going to allow us to do so without having to reload the service itself

83
00:09:05,959 --> 00:09:11,879
so the command i will do here in fact just to show you if i go into the configuration file notice if

84
00:09:11,879 --> 00:09:17,479
i go down to the very bottom i haven't actually made any changes yet let's go back if i issue this

85
00:09:17,480 --> 00:09:24,600
command saying sudo postconf and dash e to edit the file and i just specify the changes i want to

86
00:09:24,600 --> 00:09:33,320
make so i'm going to say mailbox underscore command and that is equal to proc mail so if i hit enter

87
00:09:33,320 --> 00:09:40,440
now and i go back into my configuration file and hit enter if i scroll on down to the very bottom

88
00:09:40,440 --> 00:09:46,840
notice here that we actually have added this configuration file directly using the postconf

89
00:09:46,840 --> 00:09:52,759
command without having to reload that server so what i will do is i will escape and like i say

90
00:09:52,759 --> 00:09:59,399
postfix has now been installed or rather configured to use the proc mail service so now what i'm going

91
00:09:59,399 --> 00:10:05,960
to do is i'm going to first go through some global settings because proc mail can be configured to

92
00:10:05,960 --> 00:10:11,720
act globally across all users on the system so we'll first look at that and then we'll look at

93
00:10:11,720 --> 00:10:17,639
user specific local settings how we can have proc mail just target particular users with

94
00:10:17,639 --> 00:10:23,240
particular settings so the very first thing that we want to do right here is when we are creating

95
00:10:23,240 --> 00:10:29,480
a global configuration for proc mail what we want to do is we want to create a file within the

96
00:10:29,480 --> 00:10:36,680
etsy directory and let me just spell etsy correctly there we go and we want to create a proc mail rc

97
00:10:37,239 --> 00:10:43,000
now this file will not exist just yet but we are going to create it so let's just do that right now

98
00:10:43,000 --> 00:10:49,479
so i will say sudo nano i'll go into the etsy directory and i will say proc mail rc now here are

99
00:10:49,479 --> 00:10:55,479
some settings i'm going to have to do i'm going to say mail dir is equal to i'm going to say dollar

100
00:10:55,479 --> 00:11:00,759
sign home which is my home directory this is a variable so in my case this will be forward slash

101
00:11:00,759 --> 00:11:06,840
home forward slash ipv0 for you at home this will be forward slash home forward slash whatever your

102
00:11:06,840 --> 00:11:12,120
username happens to be and then i'll say forward slash mail now one thing to note here is that this

103
00:11:12,120 --> 00:11:20,439
mail dir this has nothing to do with mbox or the mail dir settings remember we had two methods one

104
00:11:20,439 --> 00:11:26,439
and two number two is the one which is the much better one this actual keyword here has nothing to

105
00:11:26,520 --> 00:11:32,760
do with any of this all we're specifying here is the actual mail directory where we can store stuff

106
00:11:32,760 --> 00:11:39,320
really quite simple next thing we want to specify is the default location that we want to store our

107
00:11:39,320 --> 00:11:45,720
mail in case no actual mailbox is entered i will say default and the default location again once

108
00:11:45,720 --> 00:11:52,280
again we go into our home directory and then i will go into mail and then i will have a file called

109
00:11:52,279 --> 00:11:57,639
mailbox now one thing i want to note here is that this particular configuration here this

110
00:11:57,639 --> 00:12:04,039
is what has specified that i'm using the first method of mbox the reason why is simple because

111
00:12:04,039 --> 00:12:11,879
what i've done here is i've actually specified a file however if i happen to end this line with a

112
00:12:11,879 --> 00:12:18,600
forward slash inbox would now be a directory and this would mean we're using the second method

113
00:12:18,600 --> 00:12:25,720
as mail dir but for now we will just start off with the mbox method of configuration and what i

114
00:12:25,720 --> 00:12:30,279
will do is i will save this file then so what i will do here is i will do an ls i have this

115
00:12:30,279 --> 00:12:35,800
inbox right here i'm just going to remove this for now i've got a clean slate now like i say if we

116
00:12:35,800 --> 00:12:41,720
just quickly peek at our file once again we need to have this mail directory proc mail after all is

117
00:12:41,720 --> 00:12:46,279
going to look for this directory if i happen to do an ls we do not have such a directory so what

118
00:12:46,279 --> 00:12:53,480
i'm going to say is mkdir mail so if i go into mail and i do a pwd this is exactly the path that we

119
00:12:53,480 --> 00:13:00,279
have specified within our proc mail rc notice that this part here is ultimately substituted by the

120
00:13:00,279 --> 00:13:06,439
dollar sign home value which we see right here okay so let's go back so what i will now do is i will

121
00:13:06,439 --> 00:13:13,159
actually send a mail to ipv0 and i'll say cc don't care about who i'm going to add the subject will

122
00:13:13,159 --> 00:13:21,399
be random test thingy and the message will be hello ipv0 once again now do control shifty now

123
00:13:21,399 --> 00:13:29,319
while i'm in my directory if i do an ls we have this file called inbox and if i do an ls-l we can

124
00:13:29,319 --> 00:13:35,799
see it's not a directory let's cat this file so we'll say cat inbox and lo and behold here is my

125
00:13:35,799 --> 00:13:41,159
message here check this out if i go back out of the directory here we are let me just do the

126
00:13:41,159 --> 00:13:47,159
similar thing once again i'll mail ipv0 once more i'll say the subject is another message i'll just

127
00:13:47,159 --> 00:13:54,759
say blah blah blah whatever it may be control shifty kill so do an ls let's go into our mail

128
00:13:54,759 --> 00:14:02,199
directory again we only have one singular file we can see here and we cat it and we can see the

129
00:14:02,199 --> 00:14:08,199
first message right here and then the second one appended right to it so this is really quite similar

130
00:14:08,200 --> 00:14:13,160
to the post fix method again the big difference here is the location where we're getting this

131
00:14:13,160 --> 00:14:20,840
information it is in a user specific location as opposed to the system way configuration of var

132
00:14:20,840 --> 00:14:25,960
mail and then whatever the username happened to be now one thing if i just happen to note here

133
00:14:25,960 --> 00:14:31,480
is let me just go back under clear the screen do a cd now if i just happen to click or rather type

134
00:14:31,480 --> 00:14:39,960
the word mail we see no mail for ipv0 what i want to do here is to invoke this command i have to tell

135
00:14:39,960 --> 00:14:45,879
the system where to look for this mail file but the way i can do this is by saying mail dash f and

136
00:14:45,879 --> 00:14:54,840
then specifying the path to my inbox now so i will say home ipv0 forward slash mail and then point it

137
00:14:54,840 --> 00:15:01,960
to this inbox file so if i hit enter now now the mail command can access those messages just like

138
00:15:01,960 --> 00:15:07,000
we could in the original post fix manner so i could hit enter and we can see the first message and hit

139
00:15:07,000 --> 00:15:12,280
enter again and see the second message no problem at all so i'll press q to quit and we can see here

140
00:15:12,280 --> 00:15:18,680
the location this time is no longer var mail ipv0 we're using once again this home directory

141
00:15:19,319 --> 00:15:25,239
now let's try this using the mail dir method as opposed to the inbox method so what i'm going to

142
00:15:25,239 --> 00:15:30,839
do here is if i go back into my directory it's going to mail and i'll just remove this inbox

143
00:15:30,839 --> 00:15:37,879
text file okay so it's no longer present and let's go back cd and i will go into my xc directory

144
00:15:37,879 --> 00:15:43,319
once again and proc mail rc what i'm now going to do is i'm just going to change this from

145
00:15:43,320 --> 00:15:51,080
inbox to mail dir by adding this slash so if i happen to save this and exit out what i'm now

146
00:15:51,080 --> 00:15:56,280
going to do is i'm going to mail ipv0 once again and i'll just say subject hey there i'll just say

147
00:15:56,280 --> 00:16:04,200
hey there one and control shift d and let's mail ipv0 once more and i'll just say hey there two and

148
00:16:04,200 --> 00:16:10,920
again hey two and exit out so now what should happen is if i do an ls and i go into the mail

149
00:16:10,919 --> 00:16:18,360
directory i do an ls now notice we actually have what we can see a inbox directory here okay so we

150
00:16:18,360 --> 00:16:23,559
go into the directory here and we're going to have this new structure we're going to have a folder for

151
00:16:23,559 --> 00:16:30,120
current a folder for new and a folder for temporary so what i can do here is go into new and do an ls

152
00:16:30,120 --> 00:16:35,399
notice we actually have two distinct files i'll do an ls dash l actually so what i can do here is i

153
00:16:35,399 --> 00:16:42,199
can cat the first one and hit enter here is the very first message and completely separate i will

154
00:16:42,199 --> 00:16:49,159
cat this one and we have a completely separate text file holding an individual email so in my

155
00:16:49,159 --> 00:16:54,439
opinion this is a much much better way to handle things but for now what i will do is i will go back

156
00:16:54,439 --> 00:17:00,279
into propmail.rc and i will just change it back to the inbox manner for now okay so let me just

157
00:17:00,279 --> 00:17:06,279
save this so we're back to inbox now the file we just manipulated there was in the exit directory

158
00:17:06,279 --> 00:17:13,160
and it was propmail.rc now again the big hint here is that we are in the exit directory this should

159
00:17:13,160 --> 00:17:18,359
be telling you that we are using system wide configuration now what we're going to do is

160
00:17:18,359 --> 00:17:23,559
we're going to create some local settings and this is going to be a little bit different then so let

161
00:17:23,559 --> 00:17:29,559
me show you what i'm now going to do is i'm going to make sure i'm in my local directory my home

162
00:17:29,559 --> 00:17:36,039
directory so i do a cd pwd here i am and i'm going to create another file but it's going to be called

163
00:17:36,039 --> 00:17:43,159
dot propmail.rc and again this is going to be in my home directory now within here we're going to

164
00:17:43,159 --> 00:17:49,159
create something called a recipe now the recipe ultimately acts as a type of filter it's going

165
00:17:49,159 --> 00:17:55,720
to allow us to invoke particular control over our messages and the way we're actually going to control

166
00:17:55,720 --> 00:18:01,559
our messages is by invoking some of the pattern matching used via the egrep command this is

167
00:18:01,559 --> 00:18:08,680
effectively just using regular expressions if you happen to be well versed in regex this should be

168
00:18:08,680 --> 00:18:14,839
not so daunting but for others who are not used to regex regex can be pretty intimidating okay so

169
00:18:14,839 --> 00:18:21,319
let me walk you through the basic syntax right here at the start of this file to denote it i'm going to

170
00:18:21,319 --> 00:18:28,200
say colon zero colon this is basically telling propmail that this is the start of a new rule now

171
00:18:28,200 --> 00:18:35,240
i'm going to do some basic regex here i'm going to say star and then an up arrow and then two and

172
00:18:35,240 --> 00:18:41,879
then i'm going to specify who this is for so in this case here i'm just going to say two roots and

173
00:18:41,879 --> 00:18:47,720
then the action i'm going to take is i'm going to create a root file now if you're standing

174
00:18:47,799 --> 00:18:54,039
scratching your head that is absolutely natural the reality is this can be a bit confusing so all

175
00:18:54,039 --> 00:18:59,319
that's happening here is that this part right here this part is a regular expression so these

176
00:18:59,319 --> 00:19:05,799
characters all have particular meanings if we happen to see a star this basically means to match

177
00:19:05,799 --> 00:19:13,559
zero or more previous characters whereas if you happen to see a plus sign this means to match

178
00:19:13,559 --> 00:19:21,799
one or more previous characters if you just happen to see a dot or a period this means match any

179
00:19:21,799 --> 00:19:28,839
single character except a new line character if we happen to use square brackets we can specify

180
00:19:28,839 --> 00:19:35,960
a range of particular characters if i happen to do the up arrow or the carrot symbol this means it

181
00:19:35,960 --> 00:19:41,720
must match the beginning of a new line so this would be the beginning if i happen to see the dollar

182
00:19:42,200 --> 00:19:48,680
sign this would be to match the ends of a line and if i have the backslash n this is going to

183
00:19:48,680 --> 00:19:53,720
match a new line character this is basically your return key when you're having a new line now there

184
00:19:53,720 --> 00:19:59,240
are much much more rules with respect to reject and the good news is is that you absolutely do not

185
00:19:59,240 --> 00:20:05,000
have to have all of this memorized the reality is people who use rejects tend to use on line help

186
00:20:05,000 --> 00:20:09,640
but ultimately that is all we're doing we're trying to match a particular thing so basically if you

187
00:20:09,640 --> 00:20:16,440
happen to see an email that had the subject and let's maybe say the subject began with the word

188
00:20:16,440 --> 00:20:22,759
alert you could specify a particular rejects expression to catch this particular pattern

189
00:20:22,759 --> 00:20:29,080
or maybe the email was mailed to a particular user say for example like i say the root user

190
00:20:29,080 --> 00:20:34,120
you could specify a particular rejects pattern to catch that and that's all i'm doing right here

191
00:20:34,119 --> 00:20:40,519
all this rejects pattern does is it means any message that is being sent to the root user

192
00:20:40,519 --> 00:20:47,000
i am taking a particular action and the action i'm taking is i'm actually going to create a separate

193
00:20:47,000 --> 00:20:53,000
root file which is going to house the emails that have been sent towards the root user or

194
00:20:53,000 --> 00:20:59,159
alternatively what i could do is i can specify if i happen to see in the subject line and the subject

195
00:20:59,160 --> 00:21:05,320
is priority what i want to do is i want to create a priority file and dump the message in there so

196
00:21:05,320 --> 00:21:11,960
if i save this and exit out what i will do is i will remove my mail directory and i will recreate it

197
00:21:12,840 --> 00:21:19,960
so if i go to super user and i send a mail to ipv0 and i put the cc is nothing and the subject

198
00:21:19,960 --> 00:21:27,800
can just be boring stuff i can just say this as a boring message and control shift d if i substitute

199
00:21:27,799 --> 00:21:35,480
user into ipv0 i do an ls i go into mail do an ls i should have in my inbox i cat this file we can

200
00:21:35,480 --> 00:21:41,720
see here we have a boring message from the root user but again if we go back and i go back to root

201
00:21:41,720 --> 00:21:49,000
again who am i and i say mail ipv0 and this time i put in the subject its priority and i just say

202
00:21:49,000 --> 00:21:55,079
this is really important check it straight away and then control shift d and then i substitute

203
00:21:55,159 --> 00:22:02,519
user back to ipv0 do an ls go into mail ls now notice i actually have a separate file within my

204
00:22:02,519 --> 00:22:08,679
mail known as priority file and if i happen to cat my priority file we can see here this is being

205
00:22:08,679 --> 00:22:14,839
separated and it sticks out like a sore thumb so once again one last time back to root user mail

206
00:22:14,839 --> 00:22:21,720
ipv0 subject is just hey there how you doing nothing important and we send one more again we want

207
00:22:21,799 --> 00:22:27,720
them to really pay attention so we put priority in it just say remember the deadline and control

208
00:22:27,720 --> 00:22:36,039
shift d go back to ipv0 do an ls go into mail ls in the inbox file appended to that we see at the

209
00:22:36,039 --> 00:22:41,799
very bottom appended here is how you're doing which has been misspelled by the way and ls if i go

210
00:22:41,799 --> 00:22:47,799
into the priority file appended to the priority file is remember the deadline and that is because

211
00:22:47,799 --> 00:22:54,119
the regular expression happened to search for the subject matter with priority and because we saw that

212
00:22:54,119 --> 00:23:01,000
we were able to filter and our local dot proc mail rc file within our home directory matched on that

213
00:23:01,000 --> 00:23:07,639
filter and dumped that into the priority file as specified and again there are almost limitless

214
00:23:07,639 --> 00:23:13,559
rules you can do to invoke to control and filter this type of behavior so really that is how we

215
00:23:13,559 --> 00:23:20,440
can actually control our local mail like i say we can use postfix natively but it really isn't as

216
00:23:20,440 --> 00:23:26,440
well equipped or advanced as proc mail to handle and control all of these types of settings these

217
00:23:26,440 --> 00:23:31,000
settings by the way which will make your life much much easier okay docks i hope this has been

218
00:23:31,000 --> 00:23:37,399
informative for you and i'd like to thank you for viewing

