E-mail configurations Summary The MTA (mail transport agent) is needed to send mail from the
box -- you don't need anything to receive mail, unless the box acts as
a mail server (which is a security risk). Exim or procmail are
commonly used and should work out of the box. GnuPG is a free version of PGP for mail encryption and secure communication. It's set up for Thunderbird on clitunno. Installation history 31 March 2007 It turns out alpine accepts a folder that is simply symlinked from thunderbird's local folders, like this: steen@clitunno:~/mail$ ln -sf /share/data/ImapMail/LocalFolders/Teaching.sbd/2007.sbd/128 128Not sure mailing out of pine is really working, however. Local folders 10 December 2004 I've set the local folders for Thunderbird to
sigillo:/spare/ImapMail and clitunno:/share/data/ImapMail -- normally,
I expect to be using clitunno for e-mail, but if you plan to travel do
a sync from clitunno to sigillo. GnuPG
I then followed the instructions at Using the GNU Privacy Guard to generate a privacy key. This probably works, but it didn't seem to play nice with Mozilla and I deleted ~/.gnupg to start over. Next, I switched to Encrypting your e-mails with Thunderbird, Enigmail & GnuPG and generated keys directly from Thunderbird. This works -- just make sure you don't use "Use pgp-agent for passphrase handling" -- that failed consistently (warrants further testing; there were a lot of variables and I may be mistaken). To see your keys, issue "gpg --list-keys". I then exported the keys to a public key server using this command (later I discovered kpgp will do it): gpg --keyserver wwwkeys.pgp.net --send-keys 0x<public key ID>It took a while, but eventually it worked. I sent for liontooth and my work address. Exim (I put a copy of this section in Sigillo/exim.html) Jan 19 18:23:01 sigillo /USR/SBIN/CRON[3699]: (mail) CMD ( if [ -x /usr/lib/exim/exim3 -a -f /etc/exim/exim.conf ]; then /usr/lib/exim/exim3 -q ; fi) Jan 19 18:38:01 sigillo /USR/SBIN/CRON[3704]: (mail) CMD ( if [ -x /usr/lib/exim/exim3 -a -f /etc/exim/exim.conf ]; then /usr/lib/exim/exim3 -q ; fi) Jan 19 18:53:01 sigillo /USR/SBIN/CRON[3709]: (mail) CMD ( if [ -x /usr/lib/exim/exim3 -a -f /etc/exim/exim.conf ]; then /usr/lib/exim/exim3 -q ; fi) Jan 19 19:08:01 sigillo /USR/SBIN/CRON[3714]: (mail) CMD ( if [ -x /usr/lib/exim/exim3 -a -f /etc/exim/exim.conf ]; then /usr/lib/exim/exim3 -q ; fi) So every 15 minutes this mail command runs. I don't see where
the command is given -- kcron or crontab -e doesn't show it. There is a
/etc/init.d/exim file -- but exim may also be running from
/etc/inetd.conf. In fact I have this line there: #:MAIL: Mail, news and uucp services. /etc/init.d/exim So
that's where it's started. The /etc/cron.daily/exim "cycles logs" --
dumps the old log to /dev/null. The /etc/cron.d/exim has the rest: # /etc/cron.d/exim: crontab fragment for eximSo that's where it is -- in /etc/cron.d. It's the only file there. I guess it would be tidier to do it in crontab, and less frequently. Procmail See the working promail on weber for an example, or this article. On 7 August 2002 I complained to DigitalSpace.net's Wonderdesk that I was getting spoofed. He said they can't do anything, but that I could use procmail filtering. There's a full list of procmail filtering scripts at Here's a thorough one: http://www.spambouncer.org/ And one more: http://junkfilter.zer0.org/ I found instructions at http://www.css.tayloru.edu/~bbell/spam-filter/ for a simple setup (I hoped) and verified with a "locate procmail" that I had it, in /usr/bin/procmail. Modeled on his, I created this .forward file: I got trouble -- this blocks all mail. I tried removing the -f- but it made no difference. I found better instructions here: I did a supersimple setup on /home/cogweb, but it just blocks all incoming I have several mail accounts with the frog people. My root directory:
First priority is steen: cd /home/mail/steen. However, I don't have write access in this directory. I'll try installing things on /home/cogweb and see if that catches the mail to steen (unlikely). Then I issued this elegant little command:
and the file was in place! So I have quite a bit of power on this machine. I then created the .procmail directory under /home/cogweb. I tested that $HOME was what it should be with a echo $HOME and got /home/cogweb. I then downloaded rc.maillists, which lists acceptable From: before the filter kicks in. Again I did it by wget http://www.css.tayloru.edu/~bbell/spam-filter/rc.maillists and then mv rc.maillists .procmail Here's rc.maillists, unmodified:
"For more information on procmail recipes, see examples under the procmailrc and procmailex man pages." Next, the spam filter. See the full explanation here: I got it with wget http://www.css.tayloru.edu/~bbell/spam-filter/rc.spam He assumes the following, now dubious:
Here's the rc.spam, unmodified:
I made these modifications:
|
|
|
|
|||||
Maintained by Francis F. Steen, Communication Studies, University of California Los Angeles |