home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.sys5.r4:530 comp.mail.misc:3716
- Newsgroups: comp.unix.sys5.r4,comp.mail.misc
- Path: sparky!uunet!think.com!sdd.hp.com!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!casbah.acns.nwu.edu!skrenta
- From: skrenta@casbah.acns.nwu.edu (Rich Skrenta)
- Subject: Re: Email header problems on SVR4.
- Message-ID: <1992Nov17.170729.3540@news.acns.nwu.edu>
- Sender: usenet@news.acns.nwu.edu (Usenet on news.acns)
- Organization: Northwestern University, Evanston, Illinois
- References: <BxtoEJ.B1L@chinet.chi.il.us>
- Date: Tue, 17 Nov 1992 17:07:29 GMT
- Lines: 38
-
- les@chinet.chi.il.us (Leslie Mikesell) writes:
- > You might want to look at Smail3 - it will drop into sysV machines as
- > a replacement for rmail/mail and sendmail. It doesn't allow decisions
- > based on the sender address but it should handle about anything else.
-
- What I find tragic is that the R4 mailer could have been really great.
- Not doing RFC-822 headers, and being short-circuited by useless bloat
- ruined it.
-
- I've used smail 3 and it's certainly a powerful mailer. The neat thing
- about the upas style is the vast power you get from one simple, relatively
- short configuration file. I remember smail 3 having a bunch of big
- configuration files and a thick manual needed to understand them.
-
- I'm not criticising smail; it's an industrial-strength mailer. But
- regex-style rewriting makes some things really easy. Some stylized
- examples from my mailer:
-
- Map all mail for foo.com to bar.com:
-
- rewrite '(?*)@foo.com' '\1@bar.com'
-
- Make mail for bozo deliver locally instead
-
- rewrite '(?*)@bozo' '\1'
-
- Give address of the form <box-number>@mailbox-service.host to
- my mailbox-server script:
-
- deliver '([0-9]+)@mailbox-service.host' 'script \1'
-
- stupid.host doesn't have SMTP or uucp-over-tcp. Deliver mail
- to it with rsh:
-
- deliver '(?*)@stupid.host' 'rsh stupid "/usr/bin/rmail \1"'
-
- --
- Rich Skrenta
-