[svlug] Aliased emails ala craigslist?

Skip Evans skip at bigskypenguin.com
Fri Apr 28 14:23:52 PDT 2006

Hey Walt & all,

This is a hosted server so I can't control what 
MTA they use. It's got sendmail on it.

But, with Seth's help and some reading up, I think 
I have the solution. First, an entry in 
/etc/mail/virtusertable like:

@46characters.com	posts

Will send anything not already going to a valid 
account to the user posts.

Then with a .forward file something like this:

|/usr/local/bin/php -f mail_handler.php

The message will be sent to the mail_handler.php 
script for processing via STDIN.

That's the first line of attack anyway. Wish me 
luck. I'm braving personally uncharted waters.


Walt Reed wrote:
> This is TRIVIAL to do in Exim (my personal favorite MTA...)
> Note that you want a current version of exim (4.X) and not the old Exim
> 3.x line. Debian Sarge and newer have exim4. So does Centos 4. Building
> from source on any distro or unix flavor is pretty simple.
> You can use a db (pretty much any type works with exim including flat
> text files, mysql, postgres, CDB, GDBM, etc.) to store the mappings.
> It's a fairly (very) simple "redirect router".
> On Thu, Apr 27, 2006 at 05:10:33PM -0600, Skip Evans said:
Skip Evans
Big Sky Penguin, LLC
61 W Broadway
Butte, Montana 59701

More information about the svlug mailing list