[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Networking, masquerading and a little idea
Here is my /usr/lib/sendmail-cd/cf/config.mc
========================= BEGIN =================================
GENERICS_DOMAIN(agnes.faerie.fr agnes localhost)
define(`confCF_Version',`Mon CF - 25 avril 1999')dnl
============================ END ========================
You replace the GENERICS_DOMAIN line by one containing your host name
and then in the SMART_HOST line the name mail.club-internet.fr by one
containing the host name of the mail server of your ISP.
Then from the /usr/lib/sendmail-cd/cf/ (ONLY) you run
"m4 config.mc /etc/sendmail.cf"
Then you create a file named /etc/genericstable with lines like this
(caution tha chard efter jfm: must be a TAB not space)
The you run
/usr/sbin/sendmail -bi -oA/etc/genericstable
You restart sendmail and that is all.
Now it would be trivial to make all this automatic with the user
entering his ISP's hostanme, his usernames and how they are
translated. The name and aliases of the box can be deduced from
If in addition we do what is needed to be done with fetchmail then we
would have a complete mail solution for the private user (some mail
readers don't neeed this but they are not so great when serveral
people in house need mail access).
Now if during install we offer the user to configure PPP (and where is
the modem) we should get the private user being able to ask for help
five minutes after completing install.
Jean Francois Martinez
Project Independence: Linux for the Masses