[PREVIOUS CHAPTER]
[NEXT CHAPTER]
4 ~/.forward and ML
You can configure .forward to run ML in secret in the following
way:-). It is same as :include: method except for that you need to
create accounts and write their ~/.forward for one another addresses
in set up ML's.
4.1 Overview to use .forward
Sendmail evaluates ~/.forward as the same way as :include: of
/etc/aliases. You can write ~/.forward such as
"|/home/beth/rosy/ml/fml.pl /home/beth/rosy/ml /home/beth/rosy/ml"
Sendmail injects the mail to fml.pl.
But in general .forward is for the owner, so mail to .forward ML is
delivered to the owner itself again. It creates a loop problem.
To avoid this, consider the following two ways.
* Account to use ~/.forward is not yours.
Set up a virtual user which has a ML name.
This is an usual ML by .forward. The difference is only
written in .forward or in /etc/aliases.
This situation is of no mean, but it may be a case that
ISP do not permit /etc/aliases changes but you want to run ML
on it.
* Account to use ~/.forward is yours.
After a check of the header of an in-coming mail, a filtering
program determines .forward executes ML or delivers locally to
you.
4.2 Set Up A Virtual User
Set up a virtual user which has a ML name. This is an usual ML by
$HOME/.forward. The only difference is written in .forward or in
/etc/aliases.
$HOME/.forward is the same as $DIR/include generated by "makefml newml
<ML>". It must be
ML address ($MAIL_LIST) == virtual user
$MAINTAINER address == your address
This requires your ISP provides, what is called, "shell service".
4.3 Runs A ML Under Your Account
...
Your account receives mail. A filter run through .forward checks
keywords in the mail to determine
injects it to local spool ?
runs ML1 ?
runs ML2 ?
...
The filtering process requires some keywords to determine which ML
this mail should be sent to. The keyword is such as "[Elena]" in
"Subject: [Elena]" and so on.
Example:
Subject: [Elena]
If the Subject: field contains a keyword "[Elena]", this mail is for
Elena ML. The filter injects the mail to Elena ML process, which is
run by the filter.
[PREVIOUS CHAPTER]
[NEXT CHAPTER]