Simple email list setup
Larry Cook
lcook at sybase.com
Wed Sep 2 09:01:22 EDT 2009
Thank you Kenny, VirginSnow, Bill, and Ben for your suggestions. I'm
going to try Bill's procmail suggestion first as it seems pretty simple
and meets my needs. Bill, thanks for the sample procmail recipes.
Larry
Bill McGonigle wrote:
> On 09/01/2009 08:14 AM, Larry Cook wrote:
>> If you'd be willing to give me an example rule for matching the From
>> address and forwarding on that would be really helpful with my learning
>> process.
>
> the syntax is pretty arcane, but 'man procmailex' is really useful.
>
> Something along the lines of:
>
> :0 # new rule
> * ^From:.*authorized-user at example\.com # match your user's From
> * ^TO_.*fake-list-address at example\.com # match TO, CC
> !real-list-address # forward, possibly local
>
> :0 # new rule (last didn't match)
> * ^TO_.*fake-list-address at example\.com # to the list (but not authed)
> /dev/null # bitbucket (or autoresponder)
>
> (strip out the comments, check the syntax, etc.)
>
> -Bill
>
More information about the gnhlug-discuss
mailing list