Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
David Kramer wrote: > "It's for a friend..." > > Crusty old Solaris box running sendmail. What he wants to do is > redirect all mail that doesn't have a user, and send it on to one > address, instead of rejecting it. > > How does he do it? > First of all, this is a horrendous idea, and I can't think for one minute of any justifiable reason that you'd want to do it. That being said, you could do the following: Add to LOCAL_CONFIG a regex to match against no user part: Knouser regex -s -ayouraddress at whateverdomain.com ^[]@domaintomatch.com Then add to LOCAL_RULE_0: R$* $: $(nouser $1 $) I'm not positive that this will work correctly, but it's going in the right direction. YMMV. Look up 'regex' in the Bat book: 23.7.20. Again, I wouldn't implement this by any means. Thanks, ~Matt -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |