[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] Procmail



Hello all,
 
I would like to set up procmail for user 'mail' so that all mail sent to * [at] whatever.com will be distributed to their own inbox, eg:
 
craig [at] whatever.com gets delivered to user craig
 
gary [at] whatever.com gets to user gary
 
I would also have a  rule below for an 'if previous failed, send it somewhere safe'  rule.
 
I thought that perhaps:
 
:0 h c
* ^TO* [at] whatever.com
    ! * [at] localhost
 
might do the trick, but I don't know (I haven't read further than bits of the man page. I thought I'd ask some humans)
 
If anyone else has done this, please let me know.
 
Cheers
 
Craig